Merge pull request #3867 from RafaRuiz:patch-1

This commit is contained in:
Vadim Pisarevsky 2015-03-24 15:04:45 +00:00
commit f18eba44f8

View File

@ -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;