Merge pull request #271 from 5kg:fix_cascade

This commit is contained in:
Andrey Kamaev 2012-12-29 15:04:10 +04:00 committed by OpenCV Buildbot
commit 7f4bcd3d72

View File

@ -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 )