This is a short implementation of the Eigenfaces in:
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: