mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 06:03:15 +08:00
Merge pull request #3867 from RafaRuiz:patch-1
This commit is contained in:
commit
f18eba44f8
@ -61,12 +61,11 @@ int main( int argc, char** argv )
|
||||
namedWindow( "LK Demo", 1 );
|
||||
setMouseCallback( "LK Demo", onMouse, 0 );
|
||||
|
||||
Mat gray, prevGray, image;
|
||||
Mat gray, prevGray, image, frame;
|
||||
vector<Point2f> points[2];
|
||||
|
||||
for(;;)
|
||||
{
|
||||
Mat frame;
|
||||
cap >> frame;
|
||||
if( frame.empty() )
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user