Implement the eigenface method in face recognition.