Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.

How to install OpenVINO IE on Raspbian 9?

Garolla__Filippo
Beginner
606 Views

Hello,

in the release notes of OpenVINO R5, under "Inference Engine -> Common Changes" it states:

"Introduced preview support for Raspbian* 9 as a host for Intel® Movidius™ Neural Compute Stick and Intel® Neural Compute Stick 2 targets."

Trying to follow the setup instructions for OpenVINO found at https://software.intel.com/en-us/neural-compute-stick/get-started however don't work. I tried downloading OpenVINO R5 for Linux and running both the GUI install and the CLI one, without success (The error code mentions something about Intel 32 CPUs not being supported, but looking at the script that's the default error if the CPU is not recognized).

How does one install the inference engine on Raspbian?

0 Kudos
6 Replies
Garolla__Filippo
Beginner
606 Views

Ok after searching in here I stumbled upon this: https://software.intel.com/en-us/articles/OpenVINO-Install-RaspberryPI

0 Kudos
om77
New Contributor I
606 Views

https://software.intel.com/en-us/articles/OpenVINO-Install-RaspberryPI.

If anybody interested in, it's easy to get it working on some another armhf (armv7-a, armv7l) chip even with Ubuntu 16.04.

Also this means that it will work on armv8 chip after adding foreign architecture armhf.

0 Kudos
MossFromIT
Beginner
606 Views

Hi,

There is a separate guide for RPI.

https://software.intel.com/en-us/articles/OpenVINO-Install-RaspberryPI

But I fail as well. stuck at

"

Modify the setupvars.sh script by replacing <INSTALLDIR> with the absolute path to the installation folder:

"

I think you need to download a full package instead of the online version.

0 Kudos
Monique_J_Intel
Employee
606 Views

Hi Filippo, 

You can find the document that has the link to install the OpenVINO Raspbian package. Since the document skips over the section that has the link that will download the file in your downloads directory i'll just place it here. Let us know if you have any issues.

Kind Regards,

Monique Jones

0 Kudos
Hyodo__Katsuya
Innovator
606 Views
$ sudo apt update;sudo apt upgrade $ wget https://drive.google.com/open?id=1rBl_3kU4gsx-x2NG2I5uIhvA3fPqm8uE -o l_openvino_toolkit_ie_p_2018.5.445.tgz $ tar -zxf l_openvino_toolkit_ie_p_2018.5.445.tgz $ rm l_openvino_toolkit_ie_p_2018.5.445.tgz $ sed -i "s|$(pwd)/inference_engine_vpu_arm|" inference_engine_vpu_arm/bin/setupvars.sh $ nano ~/.bashrc ### Add below. source /home/pi/inference_engine_vpu_arm/bin/setupvars.sh $ source ~/.bashrc $ sudo usermod -a -G users "$(whoami)" $ sudo reboot $ sh inference_engine_vpu_arm/install_dependencies/install_NCS_udev_rules.sh ### Operation check (Replace "path_to_image") $ cd inference_engine_vpu_arm/deployment_tools/inference_engine/samples $ mkdir build;cd build $ cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-march=armv7-a" $ make -j2 object_detection_sample_ssd $ wget --no-check-certificate https://download.01.org/openvinotoolkit/2018_R4/open_model_zoo/face-detection-adas-0001/FP16/face-detection-adas-0001.bin $ wget --no-check-certificate https://download.01.org/openvinotoolkit/2018_R4/open_model_zoo/face-detection-adas-0001/FP16/face-detection-adas-0001.xml $ ./armv7l/Release/object_detection_sample_ssd -m face-detection-adas-0001.xml -d MYRIAD -i "path_to_image"
0 Kudos
Erney__Ken
Beginner
606 Views

Hi everybody

Following the Raspbian* 9 guide linked to above, everything worked like a charm.  I was able to run everything related to the "Build and Run Object Detection Sample" with great success.  The problem I am having is that the guide does not detail how to install OpenCV and Python bindings.  I can see in the linked download that there is an OpenCV folder with a 4.0.1-openvino version but I do not know how to build or install it.  The Raspbian*9 guide includes this section "Run Face Detection Model Using OpenCV* API" but it assumes that OpenCV is already installed.  How do I install the 4.0.1-openvino version of OpenCV on the RPi?

- Kind regards
Ken

0 Kudos
Reply