Faces detection with Principal Component Analysis (Eigenfaces)
This is a short implementation of the Eigenfaces in:
L. Sirovich and M. Kirby, "Low-dimensional procedure for the characterization of human faces," J. Opt. Soc. Am. A 4, 519-524 (1987).
M. A. Turk and A. P. Pentland, "Face recognition using eigenfaces," Proceedings. 1991 IEEE Computer Society Conference on Computer Vision and Pattern Recognition, Maui, HI, USA, 1991, pp. 586-591.
This PCA implementation was based on covariance matrix.
Data required to run the MATLAB program can be found here: required data.
The eigenvals of the cov. matrix:
The first eigenvector/eigenface:
The reconstructed image using different numbers of eigenfaces: