- https://github.com/gplast/OpenVINO-YOLO
- https://software.intel.com/en-us/articles/get-started-with-neural-compute-stick
A Linux (Ubuntu 18.04) build environment needs these components:
OpenCV 3.4
or higherGNU Compiler Collection (GCC) 3.4
or higherCMake 2.8
or higherPython 3.6
or higher
1.OpenVINO R5 Full-Install. Execute the following commands:
cd ~
curl -sc /tmp/cookie "https://drive.google.com/uc?export=download&id=1tlDW_kDOchWbkZbfy5WfbsW-b_GpXgr7" > /dev/null
CODE="$(awk '/_warning_/ {print $NF}' /tmp/cookie)"
curl -Lb /tmp/cookie "https://drive.google.com/uc?export=download&confirm=${CODE}&id=1tlDW_kDOchWbkZbfy5WfbsW-b_GpXgr7" -o l_openvino_toolkit_p_2018.5.445.tgz
tar -zxf l_openvino_toolkit_p_2018.5.445.tgz
rm l_openvino_toolkit_p_2018.5.445.tgz
cd l_openvino_toolkit_p_2018.5.445
sudo -E ./install_cv_sdk_dependencies.sh
# GUI version installer
sudo ./install_GUI.sh
2.Configure the Model Optimizer. Execute the following commands:
cd /opt/intel/computer_vision_sdk/install_dependencies
sudo -E ./install_cv_sdk_dependencies.sh
nano ~/.bashrc
source /opt/intel/computer_vision_sdk/bin/setupvars.sh
source ~/.bashrc
cd /opt/intel/computer_vision_sdk/deployment_tools/model_optimizer/install_prerequisites
sudo ./install_prerequisites.sh
3.Additional installation steps
sudo usermod -a -G users "$(whoami)"
cat <<EOF > 97-usbboot.rules
SUBSYSTEM=="usb", ATTRS{idProduct}=="2150", ATTRS{idVendor}=="03e7", GROUP="users", MODE="0666", ENV{ID_MM_DEVICE_IGNORE}="1"
SUBSYSTEM=="usb", ATTRS{idProduct}=="2485", ATTRS{idVendor}=="03e7", GROUP="users", MODE="0666", ENV{ID_MM_DEVICE_IGNORE}="1"
SUBSYSTEM=="usb", ATTRS{idProduct}=="f63b", ATTRS{idVendor}=="03e7", GROUP="users", MODE="0666", ENV{ID_MM_DEVICE_IGNORE}="1"
EOF
sudo cp 97-usbboot.rules /etc/udev/rules.d/
sudo udevadm control --reload-rules
sudo udevadm trigger
sudo ldconfig
rm 97-usbboot.rules
4.【Optional execution】 Additional installation steps for processor graphics (GPU)
cd /opt/intel/computer_vision_sdk/install_dependencies/
sudo -E su
uname -r
4.15.0-42-generic #<--- display kernel version sample
5.【Optional execution】Change Virtual Machines USB Settings (Only for Virtual Box)
Add two new USB Filters:
Name: USB2 | Vector ID: 03e7
Name: USB3 | Vector ID: 040e
source /opt/intel/computer_vision_sdk/bin/setupvars.sh
cd /opt/intel/computer_vision_sdk/install_dependencies/
./install_NCS_udev_rules.sh
NOW Plug in the Neural Compute Stick to a USB port on your computer
cd /opt/intel/computer_vision_sdk/deployment_tools/model_optimizer/install_prerequisites/
./install_prerequisites.sh
# Demo No1
cd /opt/intel/computer_vision_sdk/deployment_tools/demo/
./demo_squeezenet_download_convert_run.sh -d MYRIAD
# Demo No2 - Traffic Camera (Object Detection)
cd /opt/intel/computer_vision_sdk/deployment_tools/demo/
./demo_security_barrier_camera.sh -d MYRIAD