1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-21 06:11:09 +08:00
This commit is contained in:
Vladimir
2015-06-09 02:41:24 +09:00
parent 59c0798cbd
commit 303c1c507e

View File

@@ -110,7 +110,7 @@ int main(int argc, char** argv)
{
cout << "***Error in the instantiation of the tracker...***\n";
getchar();
return;
return 0;
}
//Get the first frame
@@ -186,7 +186,7 @@ int main(int argc, char** argv)
if (!tracker->init(frame, boundingBox))
{
cout << "***Could not initialize tracker...***\n";
return;
return 0;
}
initialized = true;
rectangle(image, boundingBox, Scalar(255, 0, 0), 2, 1);