add cascade classifier info - total number of unique features passed to boosting process

This commit is contained in:
StevenPuttemans 2016-03-17 13:34:01 +01:00
parent 2f4e38c831
commit 2a0a27d3f2

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 )