Commit 1d2c6ef4 authored by Marina Kolpakova's avatar Marina Kolpakova

fixed sample for new signature of calcOpticalFlowPyrLK

parent bddff7b3
......@@ -91,7 +91,7 @@ int main( int argc, char** argv )
if(prevGray.empty())
gray.copyTo(prevGray);
calcOpticalFlowPyrLK(prevGray, gray, points[0], points[1], status, err, winSize,
3, termcrit, 0, 0, 0.001);
3, termcrit, 0, 0.001);
size_t i, k;
for( i = k = 0; i < points[1].size(); i++ )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment