Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

AFAIK haarcascade_frontalface_alt2.xml is even better than haarcascade_frontalface_alt.xml. Unfortunately I don't know how both cascades were trained, because they were submitted by contributors, and I don't know who is the author.

At the same time I'm not sure that exact parameters should differ significantly from the default ones. Most likelt that your problem is in your training dataset. Did you try to use vec file from the OpenCV: opencv_trunk/opencv/data/vec_files/trainingfaces_24-24.vec? Try to use it and if it works, you should create a better training set.