Ask Your Question

Revision history [back]

GFTTDetector and calcOpticalFlowPyrLK

Hi,

Previously I was using good featuresToTrack and calcOpticalFlowPyrLK to match features.

Now I want to use new interface GFTT. In BFMatcher I cannot find an algorithm like calcOpticalFlowPyrLK. So (I think) I need to use previous function calcOpticalFlowPyrLK. But function argument is InputArray prevPts for Point (and not keyPoints).

Must I convert keyPoint in cv::Point2f to use this function?

Thanks for your help