ros_intel_movidius_ncs 配置安装笔记

ros_intel_movidius_ncs 配置安装笔记

系统环境:Ubuntu 16.04
ROS版本:Kinetic
硬件需求:Movidius Neural Compute Stick (Intel)

安装NCSDK 1.10
https://github.com/movidius/ncsdk
cd ~/
mkdir ai_ws/
git clone https://github.com/movidius/ncsdk
cd ncsdk
make install
make examples
安装NCAPPZOO
https://github.com/movidius/ncappzoo
cd ~/ai_ws
git clone https://github.com/movidius/ncappzoo
创建链接:
sudo ln -s ~/ai_ws/ncappzoo /opt/movidius/ncappzoo
安装USB摄像头包(装过的可以忽略)
sudo apt-get install ros-kinetic-usb-cam
安装ros_intel_movidius_ncs包:
# Building
cd ~/catkin_ws/src
git clone https://github.com/intel/ros_intel_movidius_ncs.git
cd ros_intel_movidius_ncs
git checkout master
cd ~/catkin_ws
catkin_make
# Installation
catkin_make install
source install/setup.bash
# Copy label files from this project to the installation location of NCSDK
cp ~/catkin_ws/src/ros_intel_movidius_ncs/data/labels/* /opt/movidius/ncappzoo/data/ilsvrc12/
跑一个视频流目标识别的Demo
插上Movidius设备
编译一个网络:
cd /opt/movidius/ncappzoo/caffe/SSD_MobileNet
make
启动识别节点:
roslaunch movidius_ncs_launch ncs_camera.launch cnn_type:=mobilenetssd camera:=usb
启动识别画面:
roslaunch movidius_ncs_launch ncs_stream_detection_example.launch camera_topic:="/usb_cam/image_raw"
---------------【ros_intel_movidius_ncs 配置完成】----------------
参考链接:
http://wiki.ros.org/IntelROSProject
https://github.com/intel/ros_intel_movidius_ncs
https://github.com/movidius/ncsdk
https://github.com/movidius/ncappzoo
图像的例程:
https://github.com/intel/ros_intel_movidius_ncs/blob/devel/doc/image_classification.md
视频流识别的例程:
https://github.com/intel/ros_intel_movidius_ncs/blob/master/doc/video_detection.md
阳光明媚 备 2018-01-22日

你可能感兴趣的:(ROS,IntelROSProject,AI,Movidius,Tensorflow,Caffe)