Artificial intelligence AI robot rapid platform construction, super detailed introduction

This article has participated in the "Newcomer Creation Ceremony" event to start the road of gold creation together. Artificial intelligence rapid platform construction, if there is a telephone robot, VOS line problem or AI technical support in the demonstration station, the outbound call center is built to find the blogger to see his name and you can micro him. The platform construction of artificial intelligence is the need to enter the pit and participate in the artificial intelligence competition. Starting from a nonsensical novice, I have summarized a lot of experience. The article is carefully summarized and hoped to be useful to you. 1 Python: Install URL

www.cnblogs.com/yqpy/p/9116…

Unbutu install pip:

Reference URL: blog.csdn.net/weixin_3791…

Pycharm installation add source:

sudo add-apt-repository ppa:mystic-mirage/pycharm Update: sudo apt update Installation: sudo apt install pycharm-community 1 2 3 Pycharm installation reference URL: blog.csdn.net/zhuanshu666…

Opencv installation:

First install the required database and function operation library,

1 sudo apt-get install build-essential 2 sudo apt-get install cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev 3 sudo apt-get install python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev libdc1394-22-dev 1 2 3 4 Enter the opencv official website to download the required version installation package, then decompress the installation package, pull the decompressed installation package file to HOME, and rename it for opencv,

5 c d O p e n c v cd opencv mkdir build c d b u i l d cd build cmake -DCMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr/local … 6 m a k e j 47 make -j4 7 sudo make install 1 2 3 4 5 6 8 Verify:

$ python then

import cv2 1 这样即表明安装成功 参考网址:www.bilibili.com/video/av224… Anaconda安装: bash Anaconda2-5.0.0.1-Linux-x86_64.sh(改版本) 2 出现>>> 按回车,Ctrl+c跳过协议书,输入yes 3 当>>>,再出现直接按回车安装到默认路径(安装路径可修改,不过在不确定的情况下,建议使用默认路径) 4 s u d o g e d i t / e t c / p r o f i l e 5 在 弹 出 的 窗 口 中 最 后 添 加 e x p o r t P A T H = / h o m e / j s y / a n a c o n d a 2 / b i n : sudo gedit /etc/profile 5 在弹出的窗口中最后添加export PATH=/home/jsy/anaconda2/bin: sudogedit/etc/profile5在弹出的窗口中最后添加exportPATH=/home/jsy/anaconda2/bin:PATH,其中,将“/home/jsy/anaconda2/bin”替换为你实际的安装路径,保存。 7 重启虚拟机 8 打开终端。输入python,验证是否安装成功 参考网址: blog.csdn.net/u013069552/… www.bilibili.com/video/av446…

Ros安装:安装

1设置您的计算机以接受Packages.ros.org中的软件。 •

sudo sh -c ‘echo “deb packages.ros.org/ros/ubuntu $(lsb_release -sc) main” > /etc/apt/sources.list.d/ros-latest.list’ 1 2设置你的钥匙 • sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116 如果遇到连接到密钥服务器的问题,可以尝试替换HKP:/pgp.mit.edu:80或HKP:/keyserver.ubuntu.com:80在前面的命令中。 3首先,确保Debian包索引是最新的: • sudo apt-get update ROS中有许多不同的库和工具。我们提供了四种默认配置来启动您。您还可以单独安装ROS软件包。 如果下一步出现问题,可以使用下面的存储库来代替上面提到的存储库ROS-阴影修复 • 桌面-完整安装:(推荐)*ROSrqt, 维兹,机器人-通用库,2D/3D模拟器,导航和2D/3D感知 o

sudo apt-get install ros-kinetic-desktop-full 1 或点击这里 • 桌面安装:罗斯rqt, 维兹,以及机器人-通用库 o

sudo apt-get install ros-kinetic-desktop 1 或点击这里 • ROS-基础:(裸骨)ROS包、构建和通信库。没有GUI工具。 o

sudo apt-get install ros-kinetic-ros-base 1 或点击这里 • 个人套餐:还可以安装特定的ROS包(用包名的破折号替换下划线): o

sudo apt-get install ros-kinetic-PACKAGE 1 G.

sudo apt-get install ros-kinetic-slam-gmapping 1 若要查找可用的包,请使用:

apt-cache search ros-kinetic 1 6初始化rosdep 在使用Ros之前,您需要初始化罗得普. 罗得普使您能够轻松地安装要编译的源代码的系统依赖项,并且需要在ROS中运行一些核心组件。

sudo rosdep init rosdep update 1 2 7 环境设置 如果每次启动新shell时,ROS环境变量都会自动添加到bash会话中,这是非常方便的:

echo “source /opt/ros/kinetic/setup.bash” >> ~/.bashrc source /.bashrc 1 2 如果安装了多个ROS发行版,/.bashrc必须仅来源于setup.bash用于当前使用的版本。 如果您只想更改当前shell的环境,则可以键入:

source /opt/ros/kinetic/setup.bash 1 如果使用zsh而不是bash,则需要运行以下命令来设置shell:

echo “source /opt/ros/kinetic/setup.zsh” >> ~/.zshrc source ~/.zshrc 1 2 8构建包的依赖关系 到目前为止,您已经安装了运行核心ROS包所需的内容。要创建和管理您自己的ROS工作区,有各种工具和需求是分开分发的。例如,rosinstall是一个经常使用的命令行工具,它允许您使用一个命令轻松地下载ROS包的许多源树。 若要安装此工具和用于构建ROS包的其他依赖项,请运行:

sudo apt install python-rosinstall python-rosinstall-generator python-wstool build-essential 1 参考网址:wiki.ros.org/kinetic/Ins…

摄像头打开命令:

cheese TensorFlow安装:安装tensorflow

tensorflow分cpu和Gpu两个版本, TensorFlow安装形式:virtuslenv,pip,docker,anaconda,源代码编译

一方法,Python的虚拟环境

1、sudo apt-gey install python-pip python-dev python-virtualenv 2、virtualenv --system-site-packages tensorflow 1 2 3、Ls查看tensorflow的文件夹 4、激活虚拟环境:source ~/tensorflow/bin/activate 5、进入(tensorflow)的虚拟环境后,输入: source ~/tensorflow/bin/activate 6、安装tensorflow。: pip install --upgrade tensorflow 7、之后。输入python回车,进入python解释器输入 import tensorflow。引入tensorflow包 8、quit()退出 9、退出tensorflow。输入:deactivate进入本地目录 10、进入tensorflow:cd tensorflow/ 11、du -sh查看TensorFlow目录的大小 12、删除tensorflow:rm -rf tensorflow/

二方法,用本地pip 安装tensorflow.

1、sudo apt-get install python-pip python-dev 2、Pip install tensorflow (python 2.7;cpu suppport ) 1 2 根据python版本来选择安相应的tensorflow

Pip3 install tensorflow (python 3.n;cpu support) Pip install tensorflow (python 2.7;Gpu support) Pip3 install tensorfiow (python 3.n;Gpusupport) 1 2 3 Verify tensorflow 4. Open in terminal

python , 5. Enter import tensorflow in python

Cmake installation:

1 wget cmake.org/files/v3.12… 2 tar zxvf cmake-3.12.2-Linux-x86_64.tar.gz 3 mv cmake-3.12.2-Linux-x86_64 /opt/cmake-3.12.2 4 ln -sf /opt/cmake-3.12.2/bin/* /usr/bin/ 5 cmake –version 6 cmake-gui 1 2 3 4 5 6 Cuda+cudnn安装链接

cloud.tencent.com/developer/a…

Ros installation guide github

sychaichangkun.gitbooks.io/ros-tutoria…

Sogou input method installation guide:

blog.csdn.net/areigninhel…

Install cmake and use:

www.linuxidc.com/Linux/2018-… ————————————————— Copyright statement: This article is an original article by CSDN blogger "ai_weixin_3307623172", following the CC 4.0 BY-SA copyright agreement , please attach a link to the original source and this statement for reprinting. Original link: blog.csdn.net/weixin_4729…

Guess you like

Origin juejin.im/post/7079622785076559903