I'm trying to train a Haar Cascade classifier to recognise a specific face. As far as I know, I've done everything else properly (I've got about 800 negative images, 40 positive images turned into 2000 ish samples, merged with mergevec.py, etc).
When I run the following command:
opencv_traincascade.exe -data classifier -vec samples\samples.vec -bg negatives.txt -numStages 20 -minHitRate 0.999 -maxFalseAlarmRate 0.5 -numPos 2050 -numNeg 730 -w 150 -h 200 -mode ALL -precalcValBufSize 1024 -precalcIdxBufSize 1024
The console gives no output, remains at a blank console for about 2-3 minutes, and then finishes. My memory usage and CPU usage both spike to suggest that something is happening, but nothing is outputted in the classifier directory. I'm not 100% sure that numPos
and numNeg
are correct (I'm fairly certain, and I've checked, but it's difficult to know for certain after it's been merged), but surely there should be some kind out output anyway?
If you need any more information, please let me know.