Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Lawton__John
Beginner
83 Views

OpenVINO Opencv and the raspian-stretch installation

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
83 Views

What is the result of the following command? $ printenv | grep cv
Lawton__John
Beginner
83 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

 

Reply