Is the Nx Cloud up? Visit our Status Page for the current health and performance of the Nx Cloud.

Status Page

Installing OpenCV for the OpenCV object detection plugin.

Answered

Comments

7 comments

  • Mat L

    "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/stable
    0
  • Andrey Terentyev
    • Network Optix team

    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
  • Permanently deleted user

    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
  • Andrey Terentyev
    • Network Optix team

    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
  • Andrey Terentyev
    • Network Optix team

    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
  • Permanently deleted user

    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
  • Andrey Terentyev
    • Network Optix team

    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.