Merge pull request #5733 from teng88:patch-3

pull/5763/head
Vadim Pisarevsky 9 years ago
commit 0886f6fe62
  1. 2
      apps/traincascade/cascadeclassifier.cpp

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

Loading…
Cancel
Save