Intel® Distribution of OpenVINO™ Toolkit
Community support and discussions about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all things computer vision-related on Intel® platforms.
5964 Discussions

OpenVino OpenCV compiled without FFMPEG on MacOS?

Poca__Ramon
Beginner
265 Views

I have a running prototype on Ubuntu that does connect to a MJPEG camera using OpenVINO OpenCV. On MacOS it does not connect to it. Looks like OpenVino OpenCV is compiled without FFMPEG support. Is it so?

I've tried to compile OpenCV from source, branch 4.1.0-openvino, with ffmpeg, but it fails with:

/Users/.../opencv/modules/dnn/src/dnn.cpp:1714:45: error: no member named 'getConstantData' in 'InferenceEngine::Builder::Layer'
                auto& blobs = ieNode->layer.getConstantData();
                              ~~~~~~~~~~~~~ ^

Any hints or explanations?

0 Kudos
3 Replies
Shubha_R_Intel
Employee
265 Views

Dear Poca, Ramon, 

This particular forum is focused on Model Optimizer and Inference Engine. For OpenCV questions, your best bet would be to post in https://answers.opencv.org/questions/

Thanks !

Shubha

Poca__Ramon
Beginner
265 Views

Ok, I've succeeded in recompiling OpenCV with both FFMPEG and Inference Engine enabled:


cmake   -DWITH_INF_ENGINE=ON   -DENABLE_CXX11=ON -DINF_ENGINE_RELEASE=2019010001 .../path/to/opencv


The error was due to opencv defaulting to the 2018 version of Inference Engine.
 

Shubha_R_Intel
Employee
265 Views

Dear Poca, Ramon,

Congrats and thanks for reporting back here and informing the OpenVino community !

Shubha

Reply