I'm running OpenCV2.4.7 on Windows8.
I'm using opencv_traincascade to train a new cascade for faces. I ran the following command:
opencv_haartraining.exe -data -haarcascadeold -vec vector.20.vec -bg infofile2.txt -nstages 40 -minhitrate 0.9999999 -maxfalsealarm 0.5 -npos 9000 -nneg 26946 -w 20 -h 20 -mem 1024
However, it seems to get stuck:
I also tried it with -minhiterate 0.8 and maxfalsealarm 0.7 and it also gets stuck.
It's getting the same values again and again. I already stopped it and restarted it and it append again. The first time, it ran for 180 iterations producing the exact same values.
I have about 13,000 positives, but I set the npos to be 9000 so I won't run out of positive examples.
Can someone please explain the cause of this problem and how to fix it?
Thanks,
Gil