Commit f822984a authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

Merge pull request #196 from Auron-X/bug_fixing

Bug fixing
parents ca7c573e dd9531a5
......@@ -44,6 +44,5 @@
#include "opencv2/tracking.hpp"
#include "opencv2/core/utility.hpp"
#include "opencv2/core/private.hpp"
#endif
......@@ -302,8 +302,8 @@ void TLDEnsembleClassifier::prepareClassifier(int rowstep)
lastStep_ = rowstep;
for( int i = 0; i < (int)offset.size(); i++ )
{
offset[i].x = rowstep * measurements[i].val[0] + measurements[i].val[1];
offset[i].y = rowstep * measurements[i].val[2] + measurements[i].val[3];
offset[i].x = rowstep * measurements[i].val[2] + measurements[i].val[0];
offset[i].y = rowstep * measurements[i].val[3] + measurements[i].val[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