Unsupervised Learning of Faces for Human-Computer Interfaces