smart-video-workshop
smart-video-workshop copied to clipboard
Issue running tutoriall1.py
Hello,
I am trying to reproduce the first tutorial in object detection. I get to the point of running
sudo python3 tutorial1.py -i $SV/object-detection/Cars\ -\ 1900.mp4 -m $SV/object-detection/mobilenet-ssd/FP32/mobilenet-ssd.xml
and get an error: ModuleNotFoundError: No module named 'openvino'
In line 25 of tutoriall1.py there is a 'from openvino.inference_engine ...' command which is not recognised. I have OpenVINO running in my mac and I had initialised the openvino variables.
Could you help me with this?
Thank you,
Veronica.
it seems like you have a path issue, ie not being able to find openvino module. You can co'nfirm this by just opening python at a command prompt eg $ python3, and then typing "import openvino" at the >>> prompt. To fix this, try looking for the installed python3 version, (its printed out when you run Python3> and run the "source /opt/intel/openvino/bin/setupvars.sh -pyver 3.x" command with the version you have installed. If that doesn't fix it, then look at $PYTHONPATH, and make sure the OpenVINO module path is included.
Do you have OpenVINO installed (e.g. from software.intel.com), installed for use with ROOT or with your current user?
Can you double-check whether OpenVINO is working by using some of the contained samples from the OpenVINO installation folder, please?