Skip to content

Commit 88847ac

Browse files
author
klchang
committed
Fix the runtime bug again.
1 parent 09fd78e commit 88847ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/tracking/samples/multitracker.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ int main( int argc, char** argv ){
9090
selectROIs("tracker",frame,ROIs);
9191

9292
//quit when the tracked object(s) is not provided
93-
if(objects.size()<1)
93+
if(ROIs.size()<1)
9494
return 0;
9595

9696
std::vector<Ptr<Tracker> > algorithms;

0 commit comments

Comments
 (0)