Skip to content

OpenVino 2019 R1 - OpenCV4 Support #14246

Closed

Description

@balachandarsv
System information (version)
  • OpenCV => 4.0.1
  • Operating System / Platform => Mac
Detailed description

Openvino 2019 R1 is available for mac now.
I am trying to build opencv from source with Inference Engine. But the build fails while compiling dnn module. When will the latest version be supported ?

Thanks in advance.

Activity

  1. dkurt commented on Apr 4, 2019

    @dkurt
    Member

    But the build fails while compiling dnn module

    Fails how? What is a error message?

    Have you specified cmake's variable INF_ENGINE_RELEASE as 201901000? (It'll be default after #14241 merged to master branch).

  2. balachandarsv commented on Apr 4, 2019

    @balachandarsv
    ContributorAuthor

    Thanks @dkurt and @alalek . Now I can build from master branch. But I am facing this issue though.

    /tmp/open/opencv-master/modules/dnn/src/op_inf_engine.cpp:811: error: (-215:Assertion failed) Failed to initialize Inference Engine backend: Unsupported primitive of type: PriorBoxClustered name: PriorBox_5 in function 'initPlugin'

    May be this might have something to do with this error. I am using mac.
    https://github.com/opencv/opencv/blob/master/modules/dnn/src/op_inf_engine.cpp#L785

    It works for simple models which doesn't use any extra layer libraries.

    This is the same in 3.4(branch) and 4.1.0-pre(master).

  3. dkurt commented on Apr 4, 2019

    @dkurt
    Member

    Looks like we need to add corresponding condition. Feel free to open a PR.

    #elif defined(__APPLE__)
    std::string libName = "libcpu_extension" + suffixes[i] + ".dylib"
  4. balachandarsv commented on Apr 4, 2019

    @balachandarsv
    ContributorAuthor

    Will test once and give a PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions