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.
5932 Discussions

Integrate Inference engine with external application

HShet1
Beginner
160 Views

Hi Team,

 

Currently we are trying to integrate  OpenVINO to one of our projects.But when using one of the calls in interactive_face_detection_demo in our project we are facing below error related to OpenVINO.

ERROR:

error: fourcc is not a member of cv::VideoWriter
             videoWriter.open(FLAGS_o, cv::VideoWriter::fourcc('I', 'Y', 'U', 'V'), 25, cv::Size(width, height));

 

We are not using OpenVINo provided OpenCV version and we have installed 2.4.9.1 version of OpenCV.Can we get some input on this?

Thanks and Regards,

Harsha Shetty

0 Kudos
1 Reply
Severine_H_Intel
Employee
160 Views

Hi Harsha, 

OpenVINO demos expect OpenCV 4 in terms of API calls. In between OpenCV 2.4.9 and OpenCV 4, the OpenCV code has evolved. 

Please at how the same call is done in OpenCV 2.4.9 at this link: https://docs.opencv.org/2.4.9/modules/highgui/doc/reading_and_writing_images_and_video.html#VideoWriter::VideoWriter() 

Best, 

Severine

Reply