I am developing a C++ application for face authentication. First, I have to detect the face and pre-process the image.
Have a look at CSIRO face analysis SDK (website and demos, source code) software, it does face alignment, tracking with 66 fiducial points. It is fast and very accurate.