Ask Your Question

Revision history [back]

opencv_traincascade training time/stuck

Hello Is it possible that traincascade is taking forever to load negative images or is it something wrong with my smaples.

for example my training params (i have a set of 2500 positive and 16000 negative samples)

PARAMETERS: cascadeDirName: haarcascade vecFileName: positives.vec bgFileName: negatives2.txt numPos: 718 numNeg: 3019 numStages: 20 precalcValBufSize[Mb] : 1024 precalcIdxBufSize[Mb] : 1024 stageType: BOOST featureType: HAAR sampleWidth: 19 sampleHeight: 19 boostType: GAB minHitRate: 0.99 maxFalseAlarmRate: 0.3 weightTrimRate: 0.95 maxDepth: 1 maxWeakCount: 100 mode: ALL

Stages 0-10 are loaded

===== TRAINING 11-stage ===== <begin pos="" count="" :="" consumed="" 718="" :="" 791<="" p="">