If I run opencv_traincascade, it does not matter what parameters I enter, I always get the output below, namely numpos 2000, numneg 1000, numstage 20. It ignores the feature type also. What do I do wrong?
Command line:
opencv_traincascade.exe -data haarCascade -vec Positives.vec -bg Negatives.txt -numstages 5 -numpos 500 -numneg 500 -w 24 -h 24 -featuretype LBP
Output:
PARAMETERS:
cascadeDirName: haarCascade
vecFileName: Positives.vec
bgFileName: Negatives.txt
numPos: 2000
numNeg: 1000
numStages: 20
precalcValBufSize[Mb] : 1024
precalcIdxBufSize[Mb] : 1024
acceptanceRatioBreakValue : -1
stageType: BOOST
featureType: HAAR
sampleWidth: 24
sampleHeight: 24
boostType: GAB
minHitRate: 0.995
maxFalseAlarmRate: 0.5
weightTrimRate: 0.95
maxDepth: 1
maxWeakCount: 100
mode: BASIC
↧