Академический Документы
Профессиональный Документы
Культура Документы
M.A.Turk, A.P.Pentland
Face Recognition Using Eigenfaces
Detection Normalisation
M i =1 M
Face Recognition and Biometric Systems
Training – example
Eigenvectors (v)
( )
one for each eigenvalue
g
C⋅ v = λ ⋅ v
Jacobi method (numerical method)
OpenCV
p - cvEigenVV
g function
Face Recognition and Biometric Systems
Training – optimisation
Problem: large size of covariance
matrix (NxN), e.g. 4800x4800
Trick: A⋅ A ⋅ v = λ ⋅ v
T
A ⋅ A ⋅ v' = λ '⋅v'
T
λ = λ ' v = A ⋅ v'
Av’ – desired eigenvectors
Face Recognition and Biometric Systems
Eigenfaces: training
Ei
Eigenvectors
t – properties
ti
dimensionality equal to input vectors
orthonormal
th l (length
(l th = 1)
sorted by corresponding eigenvalues
may be scaled to pixel value range
Eigenfaces – eigenvectors transformed
to images
example
dimensionality reduction
New space, less dimensions
Face Recognition and Biometric Systems
Eigenfaces: training
ψ - matrix
t i with
ith eigenvectors
i t
x – normalised image after average face
subtraction
x’ – transformed vector
Face Recognition and Biometric Systems
Feature extraction - example
2-dimensional space:
eigenvectors:
2 2 2 2
[ ; ] [[− ; ]
2 2 2 2
Vectors projection:
[3; 1], [-2; -2], [10, 9]
Di
Dimensionality
i lit reduction
d ti
ψ ψ’ ψ’’
K2
K3
...
...
Scalar products between
normalised image and Feature vector
eigenvectors
Face Recognition and Biometric Systems
Back projection: face image
Feature vector – face description
information reduction
Back projection: face image recovered
from feature vector
reduced information are lost
P j ti error:
Projection
depends on similarity to the training set
2D example
face images
g
Face Recognition and Biometric Systems
Face Recognition and Biometric Systems
Face Recognition and Biometric Systems
Back projection: detection