Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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

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 "main.py", 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/social_distancing_detection.py", line 53, in SDAProcess layerOutputs = self.net.forward(self.ln) 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!