Merge pull request #271 from 5kg:fix_cascade
This commit is contained in:
commit
7f4bcd3d72
@ -992,9 +992,9 @@ public:
|
||||
{
|
||||
mtx->lock();
|
||||
rectangles->push_back(Rect(cvRound(x*scalingFactor), cvRound(y*scalingFactor), winSize.width, winSize.height));
|
||||
mtx->unlock();
|
||||
rejectLevels->push_back(-result);
|
||||
levelWeights->push_back(gypWeight);
|
||||
mtx->unlock();
|
||||
}
|
||||
}
|
||||
else if( result > 0 )
|
||||
|
Loading…
Reference in New Issue
Block a user