Commit 88847ac7 authored by klchang's avatar klchang

Fix the runtime bug again.

parent 09fd78e4
......@@ -90,7 +90,7 @@ int main( int argc, char** argv ){
selectROIs("tracker",frame,ROIs);
//quit when the tracked object(s) is not provided
if(objects.size()<1)
if(ROIs.size()<1)
return 0;
std::vector<Ptr<Tracker> > algorithms;
......
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