Merge pull request #29 from thorikawa/feature-523

This commit is contained in:
Andrey Kamaev 2012-10-12 13:16:17 +04:00
commit 2abb67cc92

View File

@ -1641,6 +1641,13 @@ cvHaarDetectObjectsForROC( const CvArr* _img,
continue;
}
if ( winSize.width > maxSize.width || winSize.height > maxSize.height )
{
if( !findBiggestObject )
break;
continue;
}
cvSetImagesForHaarClassifierCascade( cascade, sum, sqsum, tilted, factor );
cvZero( temp );