Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenCV Error: Assertion failed ((npoints = prevPtsMat.checkVector(2, CV_32F, true)) >= 0) in void cv::calcOpticalFlowPyrLK

Hi everybody,

I am trying to run following code but it crushes in calcOpticalFlowPyrLK with following error:
Code: http://pastebin.com/bWZ8CV5F
Error: http://pastebin.com/TjDqGxJt

Could you please help me?