Eigenfaces: compressing face images for recognition
Computer vision / face recognitionTurk and Pentland needed to recognize human faces from grayscale images. A modest image is a point in a 16,384-dimensional pixel space — far too high-dimensional to compare or classify directly, and dominated by redundant, correlated pixels.
Center the training faces by subtracting the average face, then run PCA on the image set. The top eigenvectors of the covariance matrix — the "eigenfaces" — span a low-dimensional "face space." Each face is then represented by its coordinates (weights) along the top eigenfaces, and recognition reduces to a nearest-neighbour comparison in that compact space.
A small handful of eigenfaces captured most of the variation across faces: roughly 7 of the top eigenfaces sufficed to characterize the face set, and in their experiments about 40 eigenfaces were enough for reliable recognition — collapsing the original 16,384-dimensional representation by over two orders of magnitude while preserving the discriminative variance. On their test database the system recognized faces with around 96% accuracy under varying lighting.
Source: Eigenfaces for Recognition — Turk, M. and Pentland, A.