Installing OpenCV for the OpenCV object detection plugin.
AnsweredI'm quite new with this as I've recently started, and have managed to create a test plugin. Right now, I'm trying to do the OpenCV plugin, and so far, I've managed to install Conan and OpenCV, modified the CMAKE file in Step 3, then ran the batch file.
However, I end up with this error:
Where can I find the latest openCV for NX, and where should it be installed in?
-
"Unable to find [...] in remotes" means there is a problem with the Conan networkoptix repository.
I successfully used the bincrafters/public-conan repository for OpenCV in my own plugin project, so I suggest you try it.Make sure you added the bincrafters/public-conan remote (command above works for Linux, I don't know about Windows):
conan remote add bintray https://api.bintray.com/conan/bincrafters/public-conan
Add it to conanfile.txt:
[requires]
opencv/4.2.0@conan/stable0 -
Hello Tan Bryan,
The OpenCV object detection plugin described in the manual was not meant to be compilable on Windows as it's noted here https://support.networkoptix.com/hc/en-us/articles/360057028954-Step-0-Preparing-a-Workspace.
It's done intentionally by design to not overcomplicate the manual in educational purposes."Unable to find [...] in remotes" - means there is no precompiled opencv lib for Windows in the conan repository.
The solution could be either
1) using Ubuntu while reading and completing the manual
or
2) building the opencv lib from source code. I need some time to check it on Windows.
Will get back later with details.JIRA-VMS-23218
0 -
Hello Andrey Terentyev. I am also trying to make object detection on windows. But I also have got the same mistake above. Have you checked the object detecion example in Windows? Thanks for your answer
0 -
Hello guys,
We have made several changes to the code to make all examples to be build both on Windows and Linux. The changes are in review and are not yet merged to the public repo in github.
I'll update here once review is done and changes are merged.
1 -
Hi,
We have updated our repository in GitHub with several fixes.
Please, rebase to the newest code version and check if the issue persists.
0 -
Hello Andrey Terentyev. I had successfully compile object detection plugin on windows 10. On compile no error. And I put this plugin to the VMS folder. But after turn on object_detection_plugin VMS show error :

0 -
Hello Nodirbek Baratov ,
Most probably, you have a model file (i.e. MobileNetSSD.prototxt) missing or broken. That and the MobileNetSSD.caffemodel should be placed in the separate folder in the "plugins" directory.
Please read this section "Organizing third party library files" of the manual https://support.networkoptix.com/hc/en-us/articles/360057029774-Step-3-Adding-object-detection
0
Please sign in to leave a comment.
Comments
7 comments