-
Notifications
You must be signed in to change notification settings - Fork 13
Fast setup for Myriad based devices
This page guides you in a step by step fast setup to get your Myriad based device working with ROS!
Compatible devices:
- Intel Neural Compute Stick (Myriad2);
- AAEON AI Core (Myriad2);
- Intel Neural Compute Stick 2 (MyriadX);
- AAEON AI Core X (MyriadX).
N.B. Steps are the same for all devices
- a computer or SBC with Ubuntu 16.04 or 18.04 and ROS Kinetic Kame or Melodic Morenia respectively;
- a supported device.
During development two configurations had been fully tested using OpenVINO from 2018 R1 to 2019 R3:
- AAEON UP Squared with AI Core X (check this kit);
- Generic laptop (Intel Celeron N4100) with Intel Compute Stick.
Follow official "getting started" guide linked here.
IMPORTANT: when run ./install_GUI.sh
please run as sudo ./install_GUI.sh
and setup everything in /opt/intel
NOTE: when run ./demo_squeezenet_download_convert_run.sh -d MYRIAD
you will get some errors; please run sudo ./demo_squeezenet_download_convert_run.sh -d MYRIAD
instead.
You will get an error at the end but you can test that Myriad interface works.
Check following image, something similar will happen:
Assuming your ROS workspace is initialized and called "catkin_ws", open terminal and type:
echo "source ~/catkin_ws/devel/setup.bash" >> ~/.bashrc
echo "source /opt/intel/openvino/bin/setupvars.sh" >> ~/.bashrc
source ~/.bashrc
At this point your environment variables are setted.
Type:
cd catkin_ws/src
git clone /~https://github.com/gbr1/ros_openvino
cd ..
catkin_make
catkin_make install
Now power-off or restart your computer, it is required to get everything working.
If you have a realsense camera, plug into your computer, open a terminal and type:
roslaunch ros_openvino myriad_demo_realsense.launch
Or if you have a webcam, test by typing:
sudo apt-get install ros-kinetic-usb-cam
roslaunch ros_openvino myriad_demo_webcam.launch
Enjoy!
This package is under AGPLv3
Copyright (C) 2019 Giovanni di Dio Bruno