• Rotate the face so that the two eyes are horizontal.
• Scale the face so that the distance between the two eyes is always the same.
• Translate the face so that the eyes are always centered horizontally and at a desired height.
• Crop the outer parts of the face, since we want to crop away the image background, hair, forehead, ears, and chin.