openCV with openVINO..?
hello there... am using openVINO with raspbian and NCS and its working fine..but i cannot able to use opencv withit...
it shows error:
cv2.error: OpenCV(4.0.0) /home/pi/opencv/modules/dnn/src/dnn.cpp:2538: error: (-2:Unspecified error) Build OpenCV with Inference Engine to enable loading models from Model Optimizer. in function 'readFromModelOptimizer'
will you tell me..how to build opencv with inference engine.
Thanking you
Where is link that you downloaded from? I am using raspberry pi 3B+.
@supra56, check an installation guide https://software.intel.com/en-us/arti...
@dilli24, that means you try to use OpenCV which is not from OpenVINO. Check output from
print(cv.__file__)
.@supra56 i also using pi 3b+...i used the intel official raspbian link only..but i cannot use the last demo that using opencv script..
@dilli24, What the output of
print(cv.__file__)
? It should be something like/path/to/inference_engine_vpu_arm/python/python3.5/cv2.cpython-35m-arm-linux-gnueabihf.so
. BTW there is only python3 bindings. Do you use python3 to run a script?@dkurt home/pi/.virtualenvs/cv/lib/python3.5/site-packages/cv2.so this is my output...i installed opencv separately...how can i build opencv with inference engine..? yes i run script inside my virtualenv and using python3..?
thanking you...
@dkurt will you tell...how to set that path for opencv..?
how can i build opencv with inference engine
Do you really need to build OpenCV with IE support? You can use one from OpenVINO package. If you want to rebuild it - read a guide: https://github.com/opencv/opencv/wiki... .@dilli24,
OpenCV is a part of OpenVINO toolkit so you can use prebuilt OpenCV libraries from it. There is no need to recompile it.
@dkurt thank you i will try.. and are you using opencv with IE support..is it working for u...?