Merge pull request #6286 from StevenPuttemans:add_num_features_info

This commit is contained in:
Maksim Shabunin 2016-03-21 14:08:49 +00:00
commit fd1b66b37d

View File

@ -190,6 +190,7 @@ bool CvCascadeClassifier::train( const string _cascadeDirName,
cascadeParams.printAttrs();
stageParams->printAttrs();
featureParams->printAttrs();
cout << "Number of unique features given windowSize [" << _cascadeParams.winSize.width << "," << _cascadeParams.winSize.height << "] : " << featureEvaluator->getNumFeatures() << "" << endl;
int startNumStages = (int)stageClassifiers.size();
if ( startNumStages > 1 )