running my cv2 dnn model with cv2.dnn.DNN_TARGET_MYRIAD on MYRIAD cores

asked 2020-07-12 07:32:44 -0500

Omar-AE gravatar image
System information (version)
  • OpenCV => 4.3.0-openvino
  • Operating System / Platform => ubuntu 18.04
  • Compiler => python 3.6.9
Detailed description

I'm having the following error:

Traceback (most recent call last): File "", line 59, in <module> safe_people_count, close_people_count = AnalysisObj.SDAProcess(img, threshold=0.3, nms_threshold=0.8, crop=args.crop) File "/home/nvr/microsoft/", line 53, in SDAProcess layerOutputs = cv2.error: OpenCV(4.3.0-openvino) /opt/intel/openvino_2020.3.194/opencv/modules/dnn/src/dnn.cpp:1138: error: (-213:The function/feature is not implemented) Unknown backend identifier in function 'wrapMat'

I'm using DNN_TARGET_MYRIAD and DNN_BACKEND_INFERENCE_ENGINE. The code works using cv2.dnn.DNN_TARGET_CPU but not MYRIAD Any idea what could be the issue?

To be mentioned that it worked a couple of days ago but not sure how this problem suddenly occurred!

edit retag flag offensive close merge delete