Commit 303c1c50 authored by Vladimir's avatar Vladimir

Fix #4

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