Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Haar cascades can be found here: http://code.opencv.org/projects/opencv/repository/show/trunk/opencv/data/haarcascades. But if you're going to train your own, you should prefer LBP features, check this guide.

But you should understand that detector returns you only a rectangle, not exact positions of eye/mouth corners. For this you should use something like ASM or AAM. Here is a couple of implementations:

  1. http://code.google.com/p/asmlibrary/
  2. http://code.google.com/p/asmlib-opencv/

Haar cascades can be found here: http://code.opencv.org/projects/opencv/repository/show/trunk/opencv/data/haarcascades. Also check this tutorial: http://docs.opencv.org/doc/tutorials/objdetect/cascade_classifier/cascade_classifier.html#cascade-classifier. But if you're going to train your own, you should prefer LBP features, check this guide.

But you should understand that detector returns you only a rectangle, not exact positions of eye/mouth corners. For this you should use something like ASM or AAM. Here is a couple of implementations:

  1. http://code.google.com/p/asmlibrary/
  2. http://code.google.com/p/asmlib-opencv/