I have to train as many as 20 haar classifiers. What I have is :
- Traditional command line method by compiling the cpp files provided in OpenCV distribution
- Cascade Training GUI in MATLAB
In the command line method, ObjectMarker interface is very less user friendly as compared to the ROI marking interface of CGT, MATLAB.
However, whenever I use CGT, MATLAB, even for a small sample of 250 positive images and 30000 negative images (both created using video files), it fails saying:
"Could not create sufficient samples, either decrease the False Alarm Rate, decrease the number of stages or increase the number of negative images."
The false alarm rate is already set to 0, i.e. equal number of +ve and -ve images to be used and the number of stages is already a very small value, i.e. 10. I am not able to get through this.
Those who have already created their classifiers that are working efficiently, please guide me :
Which approach out of the two should I use?
Is there any alternative to the approaches listed above?