Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Work with function calcOpticalFlowPyrLK

Can we use «MatOfPoint2f prevPts» an array of all the points MatOfPoint2f[] in method Video.calcOpticalFlowPyrLK as an input parameter, like in OpenCV for Windows?

For Android I only can do the following:

Video.calcOpticalFlowPyrLK(Cadr_Prev,Cadr_Current,
 Point_PrevPts[iindex],
 Point_CurrentPts[iindex],
 _bstatus[iindex], 
 _trackError[iindex]);

P.S. I run in cycle the function calcOpticalFlowPyrLK for each point and it affects on productivity.