Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Cascade classifier stage construction looping

I detect looping of cascade classifier construction on last stages. I use script:

g:\Programs\opencv_3_64\bin\Release\opencv_traincascade.exe -data "d:\data\5_train_LHaar12" -vec positives.vec -bg tB4_negSamples.dat -numPos 10000 -numNeg 20000 -numStages 12 -w 16 -h 16 -minHitRate 0.995 -maxFalseAlarmRate 0.5 -weightTrimRate 0.95 -maxDepth 1 -maxWeakCount 800 -precalcValBufSize 1024 -precalcIdxBufSize 1024  -numThreads 7  -mode ALL

Result on stage N 11:

image description

...........

image description

Stage N 11 was constructed successfully for lower values of samples: -numPos 5000 -numNeg 10000

What are the reasons for looping? Insufficient number of data samples? There is no possibility to improve discriminative ability of cascade classifier? Or something else?

Cascade classifier stage construction looping

I detect looping of cascade classifier construction on last stages. I use script:

g:\Programs\opencv_3_64\bin\Release\opencv_traincascade.exe -data "d:\data\5_train_LHaar12" -vec positives.vec -bg tB4_negSamples.dat -numPos 10000 -numNeg 20000 -numStages 12 -w 16 -h 16 -minHitRate 0.995 -maxFalseAlarmRate 0.5 -weightTrimRate 0.95 -maxDepth 1 -maxWeakCount 800 -precalcValBufSize 1024 -precalcIdxBufSize 1024  -numThreads 7  -mode ALL

Result on Results for stage N 11:

image description

...........

image description

Stage N 11 was constructed successfully for lower values of samples: -numPos 5000 -numNeg 10000

What are the reasons for looping? Insufficient number of data samples? There is no possibility to improve discriminative ability of cascade classifier? Or something else?