Hi anyone, I try to create very simple classifier 1 positive image and 3 negative images. But I came to this error:
cascade -vec samples.vec -bg negatives.dat -numStages 20 -minHitRate 0.999 -maxFalseAlarm 0.5 -numPos 1 -numNeg 3 -w 80 -h 40 -precalcValBufSize 1024 -precalcIdxBufSize 1024 PARAMETERS: cascadeDirName: cascade vecFileName: samples.vec bgFileName: negatives.dat numPos: 1 numNeg: 3 numStages: 20 precalcValBufSize[Mb] : 1024 precalcIdxBufSize[Mb] : 1024 stageType: BOOST featureType: HAAR sampleWidth: 80 sampleHeight: 40 boostType: GAB minHitRate: 0.999 maxFalseAlarmRate: 0.5 weightTrimRate: 0.95 maxDepth: 1 maxWeakCount: 100 mode: BASIC
===== TRAINING 0-stage ===== <begin pos="" count="" :="" consumed="" 1="" :="" 1="" neg="" count="" :="" acceptanceratio="" 3="" :="" 1="" precalculation="" time:="" 0.157="" +----+---------+---------+="" |="" n="" |="" hr="" |="" fa="" |="" +----+---------+---------+="" end=""> Cascade classifier can't be trained. Check the used training parameters.
Thanks in advance!