The Eigenfaces Method The Eigenfaces Method: Face Recognition and Biometric Systems
The Eigenfaces Method The Eigenfaces Method: Face Recognition and Biometric Systems
Eigenfaces
training feature extraction
Face Recognition and Biometric Systems
Literature
M.A.Turk, A.P.Pentland
Phases of recognition
Detection
Normalisation
Feature extraction
Face Recognition and Biometric Systems
Example... Example
Example... Example
Example... Example
Information excess
too many dimensions
PCA:
finds new orthogonal basis number of dimensions can be reduced creates face space
create covariance matrix for the training set calculate eigenvalues and eigenvectors
eigenvectors are the orthonormal basis and define the face space eigenvalues are associated with eigenvectors eigenvalues proportional to variance
3 3.
select eigenvectors face image mapped to the new space (coordinates must be found) any face image may be processed y g y p
Face Recognition and Biometric Systems
Feature extraction
Eigenfaces: training
Input vectors:
u1,...,uM
1 M Average vector: = ui M i =1
Covariance matrix:
1 1 M T C = (ui )(ui ) or C = A A M i =1 M
Face Recognition and Biometric Systems
Training example
Training set (M=4, N=3):
[1, [ , [0, [4, [3 [3, 0, 3, , 1, 0 0, 2] 1] ] 2] -1]
Eigenfaces: training
Characteristic equation:
det(C I) = 0 ( eigenvalues ( )
Eigenvectors ( ) (v)
one for each eigenvalue g
C v = v
Jacobi method (numerical method)
OpenCV - cvEigenVV function p g
Face Recognition and Biometric Systems
Training optimisation
Problem: large size of covariance matrix (NxN), e.g. 4800x4800 T Trick: A A v = v
Av desired eigenvectors
Face Recognition and Biometric Systems
Eigenfaces: training
Eigenvectors properties Ei t ti
dimensionality equal to input vectors orthonormal (length = 1) th l (l th sorted by corresponding eigenvalues may be scaled to pixel value range
Eigenfaces: training
Normalised images
Covariance matrix
Eigenfaces
Projection:
x' = x
T
ti ith i t - matrix with eigenvectors x normalised image after average face subtraction x transformed vector
Face Recognition and Biometric Systems
Vectors projection:
[3; 1], [-2; -2], [10, 9]
wi = vi x
T
w = ' x
T
P j ti error: Projection
depends on similarity to the training set 2D example face images g
Face Recognition and Biometric Systems
Back projection error is higher for non face images non-face Can be used as a verifier
threshold of accepted projection error
Face Recognition and Biometric Systems
Summary
Eigenfaces a basic face recognition method
many derived methods
Training and feature extraction Holistic approach High speed Average / low effectiveness
may be improved
Face Recognition and Biometric Systems