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.

OpenVINO Opencv and the raspian-stretch installation

Lawton__John
Beginner
370 Views

Hi

I continue installing OpenVINO as per:

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

In the section: 'Run Face Detection Model Using OpenCV* API'

I am attempting to execute the python3 script

openvino_fd_myriad.py.

This fails as 'import cv2 as cv' fails to find the cv2 modue.

Please can anyone advise which is the correct location of the Opencv distribution

and what should be installed in addition eg numpy.

Thanks in advance for your help

                                     John

0 Kudos
2 Replies
Hyodo__Katsuya
Innovator
370 Views
What is the result of the following command? $ printenv | grep cv
0 Kudos
Lawton__John
Beginner
370 Views

Hi Hyodo

The result is:

LD_LIBRARY_PATH=/home/pi/Downloads/inference_engine_vpu_arm//opencv/lib:/opt/intel/opencl:
/home/pi/Downloads/inference_engine_vpu_arm//deployment_tools/inference_engine/external/hddl/lib:
/home/pi/Downloads/inference_engine_vpu_arm//deployment_tools/inference_engine/external/gna/lib:
/home/pi/Downloads/inference_engine_vpu_arm//deployment_tools/inference_engine/external/mkltiny_lnx/lib:
/home/pi/Downloads/inference_engine_vpu_arm//deployment_tools/inference_engine/external/omp/lib:
/home/pi/Downloads/inference_engine_vpu_arm//deployment_tools/inference_engine/lib/raspbian_9/armv7l:
OpenCV_DIR=/home/pi/Downloads/inference_engine_vpu_arm//opencv/cmake
 

Thank you for your prompt attention.

                         Regards John

 

0 Kudos
Reply