Merge pull request #5733 from teng88:patch-3

This commit is contained in:
Vadim Pisarevsky 2015-12-07 10:08:23 +00:00
commit 0886f6fe62

View File

@ -336,7 +336,7 @@ int CvCascadeClassifier::fillPassedSamples( int first, int count, bool isPositiv
consumed++;
featureEvaluator->setImage( img, isPositive ? 1 : 0, i );
if( predict( i ) == 1.0F )
if( predict( i ) == 1 )
{
getcount++;
printf("%s current samples: %d\r", isPositive ? "POS":"NEG", getcount);