Representing the appearances of human faces for recognition