Beruflich Dokumente
Kultur Dokumente
Face Recognition
To establish a computational model that could detect and distinguish human faces from each other.
Applications: o criminal identification o security systems o image and film processing o human-computer interaction
M. Turk and A. Pentland, "Eigenfaces for Recognition", Journal of Cognitive Neuroscience, vol. 3, no. 1, pp. 71-86, 1991, hard copy
1 Jolliffe,
3 Main Steps
1. 2. 3.
Obtaining a training set Derivation of eigenfaces via PCA Face recognition using a test set
1 Jolliffe,
Training Set
o o o o
consists of five 64x64 grayscaled face images used detectfaces(), imcrop(), imresize() histogram manipulation transformed into a 4096x5 matrix matrix T
Derivation of Eigenfaces
1. 2. 3. 4. 5.
calculated for the mean face rowmean subtracted mean face from training set A = T - rowmean derived covariance matrix C = AT A applied pca() on C multiplied eigenvectors to A to get eigenfaces [ef1,ef2,ef3, ef4]
subtracted mean face from input image diffim = inputim rowmean calculate for the coefficients/weights of each eigenface w1 = ef1*diffim sum up to reconstruct input image reim = w1*(u1(i)) + w2*(u2(i)) + w3*(u3(i)) + w4*(u4(i)
10
11
Training Set
12
13
Difference Matrix A
14
Four Eigenfaces
15
Four Eigenfaces
Test Set 1
Inputim :
Reim :
17
Test Set 1
Inputim :
Reim :
18
Test Set 1
Inputim :
Reim :
19
Test Set 2
Inputim :
Reim :
20
Test Set 3
Inputim :
Non-faces
Reim :
21
Testing Set 3
Comparing reconstructed images
Faces :
Non-faces :
22
SUCCESS
faces already in the training set facial expressions face orientation
FAILURE
faces not in the training set non-faces
23
o obtain more face images for the training set o improve classification to resolve face vs. non-face problem
24
25