Face Recognition Sumitha Balasuriya.

Slides:



Advertisements
Similar presentations
Eigen Decomposition and Singular Value Decomposition
Advertisements

EigenFaces and EigenPatches Useful model of variation in a region –Region must be fixed shape (eg rectangle) Developed for face recognition Generalised.
Eigen Decomposition and Singular Value Decomposition
Eigenfaces for Recognition Presented by: Santosh Bhusal.
Face Recognition and Biometric Systems Eigenfaces (2)
EigenFaces.
Tensors and Component Analysis Musawir Ali. Tensor: Generalization of an n-dimensional array Vector: order-1 tensor Matrix: order-2 tensor Order-3 tensor.
Machine Learning Lecture 8 Data Processing and Representation
1er. Escuela Red ProTIC - Tandil, de Abril, 2006 Principal component analysis (PCA) is a technique that is useful for the compression and classification.
Face Recognition Method of OpenCV
Face Recognition and Biometric Systems
As applied to face recognition.  Detection vs. Recognition.
Computer Vision Spring ,-685 Instructor: S. Narasimhan Wean 5403 T-R 3:00pm – 4:20pm Lecture #20.
Principal Component Analysis CMPUT 466/551 Nilanjan Ray.
Principal Component Analysis
Dimensionality Reduction Chapter 3 (Duda et al.) – Section 3.8
© 2003 by Davi GeigerComputer Vision September 2003 L1.1 Face Recognition Recognized Person Face Recognition.
Principal Component Analysis
Pattern Recognition Topic 1: Principle Component Analysis Shapiro chap
CS 790Q Biometrics Face Recognition Using Dimensionality Reduction PCA and LDA M. Turk, A. Pentland, "Eigenfaces for Recognition", Journal of Cognitive.
Face Recognition using PCA (Eigenfaces) and LDA (Fisherfaces)
Slide 1 EE3J2 Data Mining EE3J2 Data Mining Lecture 9(b) Principal Components Analysis Martin Russell.
Face Recognition Jeremy Wyatt.
Evaluation of Image Pre-processing Techniques for Eigenface Based Face Recognition Thomas Heseltine york.ac.uk/~tomh
Face Recognition Using Eigenfaces
Previously Two view geometry: epipolar geometry Stereo vision: 3D reconstruction epipolar lines Baseline O O’ epipolar plane.
EECE 279: Real-Time Systems Design Vanderbilt University Ames Brown & Jason Cherry MATCH! Real-Time Facial Recognition.
Smart Traveller with Visual Translator for OCR and Face Recognition LYU0203 FYP.
CS 485/685 Computer Vision Face Recognition Using Principal Components Analysis (PCA) M. Turk, A. Pentland, "Eigenfaces for Recognition", Journal of Cognitive.
SVD(Singular Value Decomposition) and Its Applications
Summarized by Soo-Jin Kim
Principle Component Analysis Presented by: Sabbir Ahmed Roll: FH-227.
Dimensionality Reduction: Principal Components Analysis Optional Reading: Smith, A Tutorial on Principal Components Analysis (linked to class webpage)
Chapter 2 Dimensionality Reduction. Linear Methods
Presented By Wanchen Lu 2/25/2013
Feature extraction 1.Introduction 2.T-test 3.Signal Noise Ratio (SNR) 4.Linear Correlation Coefficient (LCC) 5.Principle component analysis (PCA) 6.Linear.
Principal Component Analysis Bamshad Mobasher DePaul University Bamshad Mobasher DePaul University.
Classification Course web page: vision.cis.udel.edu/~cv May 12, 2003  Lecture 33.
SINGULAR VALUE DECOMPOSITION (SVD)
Face Recognition: An Introduction
CSE 185 Introduction to Computer Vision Face Recognition.
CSSE463: Image Recognition Day 27 This week This week Today: Applications of PCA Today: Applications of PCA Sunday night: project plans and prelim work.
EE4-62 MLCV Lecture Face Recognition – Subspace/Manifold Learning Tae-Kyun Kim 1 EE4-62 MLCV.
EIGENSYSTEMS, SVD, PCA Big Data Seminar, Dedi Gadot, December 14 th, 2014.
PCA vs ICA vs LDA. How to represent images? Why representation methods are needed?? –Curse of dimensionality – width x height x channels –Noise reduction.
Feature Selection and Dimensionality Reduction. “Curse of dimensionality” – The higher the dimensionality of the data, the more data is needed to learn.
Presented by: Muhammad Wasif Laeeq (BSIT07-1) Muhammad Aatif Aneeq (BSIT07-15) Shah Rukh (BSIT07-22) Mudasir Abbas (BSIT07-34) Ahmad Mushtaq (BSIT07-45)
Face detection and recognition Many slides adapted from K. Grauman and D. Lowe.
CSSE463: Image Recognition Day 25 This week This week Today: Applications of PCA Today: Applications of PCA Sunday night: project plans and prelim work.
Principal Components Analysis ( PCA)
Unsupervised Learning II Feature Extraction
Unsupervised Learning II Feature Extraction
Lecture 16: Image alignment
Principal Component Analysis (PCA)
CSSE463: Image Recognition Day 27
CSSE463: Image Recognition Day 26
University of Ioannina
Lecture 8:Eigenfaces and Shared Features
Recognition: Face Recognition
Principal Component Analysis (PCA)
Machine Learning Dimensionality Reduction
Principal Component Analysis
PCA vs ICA vs LDA.
Principal Component Analysis
PCA is “an orthogonal linear transformation that transfers the data to a new coordinate system such that the greatest variance by any projection of the.
Recitation: SVD and dimensionality reduction
CSSE463: Image Recognition Day 25
CSSE463: Image Recognition Day 25
Principal Component Analysis
Facial Recognition as a Pattern Recognition Problem
Presentation transcript:

Face Recognition Sumitha Balasuriya

Computer Vision Image processing is a precursor to Computer Vision – making a computer understand and interpret what’s in an image or video. 3D shape Robotics Recognition Tracking Categorisation / Retrieval Segmentation

Innate Face Recognition Ability Face recognition almost instantaneous Highly invariant to pose, scale, rotation, lighting changes Can handle partial occasions and changes in age And we can do all this for faces of several thousand individuals Who is this?

Fully Automated Face Recognition Face Detection Recognition Image / Video Identity Face Detection Colour Motion Template Fiduciary points

Face Detection Detect face and facial landmarks Australian National University Detect face and facial landmarks Register (align) face using an image transform

Face Recognition approaches Geometric features Recognition possible at low resolution and at high noise levels because geometrical features such as nose width and eye separation are used  Automated extraction of facial geometric features is very hard Template matching Extract facial regions (matrix of pixels) and compare with that of known individuals  Need templates for different face poses/views  Very high dimensional data

High Dimensional Correlated Data Images as a high dimensional vector A typical image used for image processing will be 512x512= 262144 dimension vector! (Registered) face images are highly correlated I1,2 I … . Face images I1,1 Image space (high dimensional space of all possible images)

Transform Face images to a ‘Face Space’ Face space (low dimensional space of face images) U1 U2 U3 Face images The basis vectors (Ui) of face space are the Principal Components of face images. These Principal Components (PCs) correspond to the directions of greatest variation of the face dataset. The first PC corresponds to the direction (and scale) of greatest variation, the 2nd PC corresponds to the orthogonal direction with the second greatest variation and so on … Embedding a face image vector into face space is done by calculating the vector’s projection onto the Principal Components. Mean face image f = U * (I - A) Change dimensionality of f by changing that of U Face image Embedded face Eigenfaces

Principal Component Analysis (Karhunen-Loeve transform) PCA – find the Principal Components of a dataset Finding the Eigenvectors and eigenvalues of the covariance matrix (Eigen decomposition) The covariance matrix contains the relationships (correlations) between the variables of the vectors. Variances along the diagonals and covariance between each pair of variables in other positions

PCA (continued) Covariance matrix for images For images will run out of memory because for a dataset of say 512x512 images X*XT will be a 262144x262144 matrix. If it has double precision (64bit) values C will be 512GB!!! Therefore for image we instead compute the reduced covariance matrix If we have n datapoints c will be nxn. As n is normally much smaller than the dimensionality of the images the matrix c is computable Find the Eigenvectors and eigenvalues of c, solve the following linear equations You can get Matlab to solve equations to give the eigenvectors and eigenvalues Eigenvalues (degree of variation) Reduced covariance matrix Eigenvectors (Principal Compoments!!) >> [V,lamda]=eig(c);

PCA (continued) Eigenvectors (Eigenfaces) of covariance matirx Another way to compute PCA – Singular Value Decomposition method SVD decomposes an mxn matrix X to a product X = U * S * VT  Don’t need to compute covariance matrix You can get Matlab to solve these equations as well to get U, S and V Diagonal matrix with eigenvalues along diagonal Left singular vectors (eigenvectors of X*XT) Right singular vectors (eigenvectors of XT*X) >> [U,S,V]=svd(X); Use eigen decomposition with the reduced covariance matrix if you run out of memory with svd (seems to work upto 100x100 images)

Eigenfaces 1 to 9 Average face (data not mean subtracted!) High eigenvalue eigenfaces seem to capture lighting and other global intensity changes

Lower eigenvalue eigenfaces are better for recognition Eigenfaces 10 to 18

Transform into ‘Face Space’ Projection f = U * (I - A) U1 U2 U3 Transform known faces to face space Face space

Reconstruction F = UT * U * (I - A) Transform back to image space Mean subtracted image Transform to face space Very high compression! Face space with 28 eigenvectors 100x100x8bits = 10000 bytes compress to 28*32 bits=112 bytes Only compress faces Can know whether image contains a face by calculating reconstruction error Face detection method!

Classifiers Classify an unknown face into one of the known face classes Important concepts Inter-class (between-class) variance   Intra-class (within-class) variance   Need a metric to measure distance for class membership ?

Metric A non-negative function g(x,y) describing the "distance" between neighbouring points for a given set and satisfies (1) g(x,y)+g(y,z)≥g(x,z) (triangle inequality) (2) g(x,y)=g(y,x) (symmetry) (3) g(x,x)=0, as well as g(x,y)=0 x=y

Euclidean distance (~300BC) Mahalanobis distance (1936) Superior to Euclidean distance because it takes distribution of the points (correlations) into account The distance between two N dimensional points scaled by the statistical variation in each component of the point. Decision surface

Mahalanobis classifier  Need many representative examples from each class to compute covariance matrix

Recap Image processing precursor to Computer Vision Face Detection Images are high dimensional correlated data Principal Component Analysis Eigen decomposition Singular Value Decomposition Eigenfaces for recognition, compression, face detection Classifiers and Metrics

Questions Will performance improve if we used orientated edge responses of the face image for recognition? Why? A popular approach uses orientated responses only from certain specific points on the face image (say edge of nose, sides of eyes). What are the advantages/disadvantages of this approach? PCA maximises the variance between vectors embedded in the eigenspace. What does LDA (Linear Discriminant Analysis) do?