Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.
6595 Обсуждение

Integrate Inference engine with external application

HShet1
Начинающий
979Просмотр.

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 баллов
1 Ответить
Severine_H_Intel
Сотрудник
979Просмотр.

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

Ответить