mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 14:13: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 );
|
namedWindow( "LK Demo", 1 );
|
||||||
setMouseCallback( "LK Demo", onMouse, 0 );
|
setMouseCallback( "LK Demo", onMouse, 0 );
|
||||||
|
|
||||||
Mat gray, prevGray, image;
|
Mat gray, prevGray, image, frame;
|
||||||
vector<Point2f> points[2];
|
vector<Point2f> points[2];
|
||||||
|
|
||||||
for(;;)
|
for(;;)
|
||||||
{
|
{
|
||||||
Mat frame;
|
|
||||||
cap >> frame;
|
cap >> frame;
|
||||||
if( frame.empty() )
|
if( frame.empty() )
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user