Train dataset for temp stage can not be filled

asked 2016-06-08 10:06:31 -0600

mmc gravatar image

I know that there are other posts asking about the same problem (I read many of them...), but even so I couldn't train the cascade.

this is the command I used:

opencv_traincascade -data cascade -vec face.vec -bg bg.txt -numPos 200 -numNeg 100 -numStages 10 -precalcValBufSize 2048 -precalcIdxBufSize 2048 -featureType HAAR -w 24 -h 30 -minHitRate 0.994 -maxFalseAlarmRate 0.4

I tried tweaking the parameters, but I only got the same problem or Required leaf false alarm rate achieved.

I created the vec file using the following command:

opencv_createsamples -info face.dat -num 3240 -w 24 -h 30 -vec face.vec

And here is the link for .zip file containing a copy of the directories I'm working with: https://drive.google.com/file/d/0B5Ar...

Thanx in advance!

edit retag flag offensive close merge delete