Ask Your Question

Revision history [back]

A tutorial on face and eyes detection. You should also look at the book Mastering OpenCV with Practical Computer Vision Projects, Chapter 7: 3D Head Pose Estimation Using AAM and POSIT, and the source code here for face orientation estimation to decide if it's needed in your project (mostly otherwise the mask will be too static!). All these resources are in C++, but the Java binding for OpenCV is well documented here. You should also look at existing application to see what is working and what isn't before having the same issues.