- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello all,
I made Opencv python code on my computer. This is image crop and save code.
And, I'm now programming opencv python code for Neural compute stick 2 in Openvino.
I want to run opencv function in neural compute stick 2, but I can't find how to porting.
I'm using opencv function like "matchTemplate" and "minMaxLoc".
How can I use opencv function in neural compute stick 2 ?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Yun,
OpenCV cannot use VPU (Intel® Neural Compute Stick 2) for regular functions. It can only infer Deep Learning networks via Inference Engine backend of DNN module.
#Load model
net = cv2.dnn.readNetFromModelOptimizer(model.xml, model.bin)
#Specify the target device as Myriad for NCS2
net.setPreferableTarget(cv2.dnn.DNN_TARGET_MYRIAD)
Regards,
Peh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Yun,
This thread will no longer be monitored since we have provided answer. If you need any additional information from Intel, please submit a new question.
Regards,
Peh

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page