mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 03:30:34 +08:00
Merge pull request #29 from thorikawa/feature-523
This commit is contained in:
commit
2abb67cc92
@ -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 );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user