Commit b9541897 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #1370 from klchang:master

parents c2ddbcd3 57c88600
...@@ -62,13 +62,13 @@ int main( int argc, char** argv ){ ...@@ -62,13 +62,13 @@ int main( int argc, char** argv ){
//! [selectmulti] //! [selectmulti]
//quit when the tracked object(s) is not provided //quit when the tracked object(s) is not provided
if(objects.size()<1) if(ROIs.size()<1)
return 0; return 0;
// initialize the tracker // initialize the tracker
//! [init] //! [init]
std::vector<Ptr<Tracker> > algorithms; std::vector<Ptr<Tracker> > algorithms;
for (size_t i = 0; i < objects.size(); i++) for (size_t i = 0; i < ROIs.size(); i++)
{ {
algorithms.push_back(createTrackerByName(trackingAlg)); algorithms.push_back(createTrackerByName(trackingAlg));
objects.push_back(ROIs[i]); objects.push_back(ROIs[i]);
......
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