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.
6413 Discussions

Error on Raspberry PI 4 using Intel® Distribution of OpenVINO™ toolkit 2021.2 for Intel NCS2

cesar_diaz_col
Beginner
546 Views

Hi!,

I'd like to get some help about this problem using Intel® Distribution of OpenVINO™ toolkit 2021.2 for Intel NCS2 connected to Raspberry PI 4 (raspbian)

 

When I try to run this code:

https://github.com/glennford49/ObjectDetection_openvino

Models: https://www.mediafire.com/file/o6ecf6txs8p1aui/model.zip/file

Video: https://www.youtube.com/watch?v=kptX-BsDNy0

 

I had this errors:

from openvino.inference_engine import IENetwork, IECoreModuleNotFoundError: No module named 'openvino'

 

When I explored the opt/ directory, the armv71 directory doesn't exists.

According to the tutorial, this must be the directory root:

/opt/intel/openvino/python/python3.7/armv7l

 

What can I do with that?. Thanks!

0 Kudos
2 Replies
Peh_Intel
Moderator
505 Views

Hi Cesar,


Thanks for reaching out to us.


Based on your error, it seems like you didn’t set the environment variables. You can do so with this command:

source /opt/intel/openvino/bin/setupvars.sh


Please refer to the README.md file in the GitHub. The tutorial in the video starts from Step 3 which assuming steps 1 and 2 have been completed.


For steps 1 and 2, you may refer to this installation guide.


After you’ve installed and verified with the demo successfully, you can just easily run the objectDetection.py with this command:

python3 objectDetection.py



Regards,

Peh


0 Kudos
Peh_Intel
Moderator
455 Views

Hi Cesar,


This thread will no longer be monitored since we have provided a solution. If you need any additional information from Intel, please submit a new question.



Regards,

Peh


0 Kudos
Reply