Ask Your Question

Revision history [back]

how to use readOpticalFlow ?

hi all,

I'm a C++ noob, more used to work with python. I want to convert a .flo file to a Xml or txt to be able to use it with python.

I have done a simple program with openCV C++ to convert an image to an XML array.

The problem is I'm not able to use the readOpticalflow function ;

Mat flow = cv::readOpticalFlow("test.flo");

it returns : error: 'readOpticalFlow' is not a member of 'cv'|

maybe I need to include a specific thing first ?

sorry for this noob question

thanks.