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: 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 18.104.22.168 version of OpenCV.Can we get some input on this?
Thanks and Regards,
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()