1 | initial version |
For the face alignment problem you can detect the eyes using haar-cascade, calculate the angle and rotate the picture (Philipp Wagner has some excellent tutorials for this). I successfully used this method to align faces in my master thesis project (http://code.google.com/p/stereo-face-recognition/).