Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Train haar cascade using all images


I've downloaded and edited a lot of images. Currently I have about 70k face images and 70k non-face images. The training I'm going to do is described here: link text

I decided to use the above method as the standard opencv documentation requires vec files. The face images I have are already cropped, so I skipped the annotation step and thus no vec files were created.

In the parameters, you need to specifiy the amount of positive samples and the amount of negatives. What does this say? Should I denote 70k for those two parameters or more/less?

What's the impact of these parameters? I'd appreciate any explanation and tips for training.

Thanks in advance.