SlideShare a Scribd company logo
1 of 41
Face Recognition
Using Principal Components Analysis (PCA)
Outline
•What is face Recognition ?
•Principal Components Analysis (PCA)
•Shortest Euclidean Distance Classifier
•Dataset
•Matlab
What is face recognition ?
face recognition is a type of biometric software
application that can identify a specific individual in a
digital image by analyzing and comparing patterns.
What are biometrics ?
A biometric is a unique, measurable characteristic of a human being that can be
used to automatically recognize an individual or verify an individual identity.
Biometrics can measure both physiological and behavioral characteristics.
Physiological biometrics (based on measurements and data derived from direct
the human body) include:
• Finger-scan
• Facial Recognition
• Iris-scan
• Retina-scan
• Hand-scan.
Applications
• Security/Counterterrorism. Access control, comparing
surveillance images to Know terrorist.
• Day Care:Verify identity of individuals picking up the
children Residential Security: Alert homeowners of
approaching personnel .
• Banking using ATM:The software is able to quickly verify a
customer’s face.
Implementation
The implementation of face recognition technology
includes the following four stages:
• Image acquisition
• Image processing
• Distinctive characteristic location
• Template creation
• Template matching
Image Acquisition
•Facial-scan technology can acquire faces from almost any
static camera or video system that generates images of
sufficient quality and resolution.
•High-quality enrollment is essential to eventual
verification and identification enrollment images define
the facial characteristics to be used in all future
authentication events.
Image Processing
• Images are cropped such that the ovoid facial
image remains, and color images are normally
converted to black and white in order to
facilitate initial comparisons based on grayscale
characteristics.
• First the presence of faces or face in a scene must
be detected. Once the face is detected, it must
be localized and Normalization process may be
required to bring the dimensions of the live facial
sample in alignment with the one on the
template.
Distinctive characteristic location
• All facial-scan systems attempt to match visible
facial features in a fashion similar to the way
people recognize one another.
• The features most often utilized in facial-scan
systems are those least likely to change
significantly over time: upper ridges of the eye
sockets, areas around the cheekbones, sides of
the mouth, nose shape, and the position of
major features relative to each other.
Behavioral changes such as alteration of hairstyle,
changes in makeup, growing or shaving facial hair,
adding or removing eyeglasses are behaviours that
impact the ability of facial-scan systems to locate
distinctive features, facial-scan systems are not yet
developed to the point where they can overcome
such variables.
Template Creation
Template Matching
• It compares match templates against enrollment
templates.
• A series of images is acquired and scored against the
enrollment, so that a user attempting 1:1 verification
within a facial-scan system may have 10 to 20 match
attempts take place within 1 to 2 seconds.
• facial-scan is not as effective as finger-scan or iris-sscan
in identifying a single individual from a large database, a
number of potential matches are generally returned after
large-scale facial-scan identification searches.
PCA
Principal Components Analysis ( PCA)
An exploratory technique used to reduce the
dimensionality of the data set to 2D or 3D
Can be used to:
• Reduce number of dimensions in data
• Find patterns in high-dimensional data
• Visualize data of high dimensionality
Example :
• Face recognition
• Image compression
• Gene expression analysis
How is PCA used in Recognition?
A training set is used for learning phase
• Applying PCA to training data to form a new
coordinate system defined by significant
Eigen vectors
• Representing each data in PCA coordinate
system (weights of Eigen vectors)
A test set is used for testing phase
• Same PCA coordinate system is used
• Each new data is represented in PCA
coordinates
• New data is recognized as the closest training
data (Euclidean distance)
Steps of PCA
1.Let be the mean vector
(taking the mean of all rows)
2.taking the mean of all rows)
X’ = X –
X
X
3. Compute the covariance matrix C
of adjusted X .
4. Find the eigenvectors and
eigenvalues of C.
5.For matrix C, vectors e
(=column vector) having same
direction as Ce :
eigenvectors of C is e such that
Ce=e
 is called an eigenvalue of C.
Ce=e  (C-I)e=0
6.Calculate eigenvalues  and
eigenvectors x for covariance
matrix
PCA Applications
•DataVisualization
•Data Compression
•Noise Reduction
•Data Classification
•Trend Analysis
•Factor Analysis
Shortest Euclidean Distance
Classifier
• Euclidean Distance
Where n is the number of dimensions (attributes) and pk and qk are,
respectively, the kth attributes (components) or data objects p and q.
• Standardization is necessary, if scales differ



n
k
kk qpdist
1
2
)(
Euclidean Distance
0
1
2
3
0 1 2 3 4 5 6
p1
p2
p3 p4 point x y
p1 0 2
p2 2 0
p3 3 1
p4 5 1
p1 p2 p3 p4
p1 0 2.828 3.162 5.099
p2 2.828 0 1.414 3.162
p3 3.162 1.414 0 2
p4 5.099 3.162 2 0
Distance Matrix
Dataset
Training Image
Testing Image
Image details
Make Dataset
• https://image.online-convert.com/convert-to-jpg
MATLAB
1.
2.
3.
Some Examples
Why ??
Why ??
Why ??
Thanks

More Related Content

What's hot

Automated Face Detection System
Automated Face Detection SystemAutomated Face Detection System
Automated Face Detection SystemAbhiroop Ghatak
 
Face Recognition System/Technology
Face Recognition System/TechnologyFace Recognition System/Technology
Face Recognition System/TechnologyRahulSingh3034
 
Face recognization
Face recognizationFace recognization
Face recognizationleenak770
 
Face recognition technology
Face recognition technologyFace recognition technology
Face recognition technologyShubhamLamichane
 
Face recognition system
Face recognition systemFace recognition system
Face recognition systemYogesh Lamture
 
Face recognition ppt
Face recognition pptFace recognition ppt
Face recognition pptSantosh Kumar
 
Face Recognition Technology
Face Recognition TechnologyFace Recognition Technology
Face Recognition TechnologyShashidhar Reddy
 
Facial recognition technology by vaibhav
Facial recognition technology by vaibhavFacial recognition technology by vaibhav
Facial recognition technology by vaibhavVaibhav P
 
Face recognization 1
Face recognization 1Face recognization 1
Face recognization 1leenak770
 
Face Recognition Technology
Face Recognition TechnologyFace Recognition Technology
Face Recognition TechnologyAgrani Rastogi
 
Facial recognition
Facial recognitionFacial recognition
Facial recognitionDhimankomal
 
Face recognition technology
Face recognition technologyFace recognition technology
Face recognition technologyPushkar Dutt
 
Facial recognition system
Facial recognition systemFacial recognition system
Facial recognition systemDivya Sushma
 
Face recognition
Face recognition Face recognition
Face recognition Chandan A V
 
Face Recognition Technology
Face Recognition TechnologyFace Recognition Technology
Face Recognition TechnologyShravan Halankar
 

What's hot (20)

Automated Face Detection System
Automated Face Detection SystemAutomated Face Detection System
Automated Face Detection System
 
Face Recognition System/Technology
Face Recognition System/TechnologyFace Recognition System/Technology
Face Recognition System/Technology
 
Face recognition
Face recognitionFace recognition
Face recognition
 
Face recognization
Face recognizationFace recognization
Face recognization
 
Face recognition technology
Face recognition technologyFace recognition technology
Face recognition technology
 
Face recognition system
Face recognition systemFace recognition system
Face recognition system
 
Face Detection
Face DetectionFace Detection
Face Detection
 
Face recognition ppt
Face recognition pptFace recognition ppt
Face recognition ppt
 
Face Recognition Technology
Face Recognition TechnologyFace Recognition Technology
Face Recognition Technology
 
Face recognition system
Face recognition systemFace recognition system
Face recognition system
 
Facial recognition technology by vaibhav
Facial recognition technology by vaibhavFacial recognition technology by vaibhav
Facial recognition technology by vaibhav
 
Face recognization 1
Face recognization 1Face recognization 1
Face recognization 1
 
Face Recognition Technology
Face Recognition TechnologyFace Recognition Technology
Face Recognition Technology
 
Facial recognition
Facial recognitionFacial recognition
Facial recognition
 
Face recognition technology
Face recognition technologyFace recognition technology
Face recognition technology
 
Facial recognition system
Facial recognition systemFacial recognition system
Facial recognition system
 
face recognition
face recognitionface recognition
face recognition
 
Face recognition
Face recognition Face recognition
Face recognition
 
Face Recognition
Face RecognitionFace Recognition
Face Recognition
 
Face Recognition Technology
Face Recognition TechnologyFace Recognition Technology
Face Recognition Technology
 

Similar to Face recognition

Facial recognition
Facial recognitionFacial recognition
Facial recognitionSonam1891
 
Face Detection Attendance System By Arjun Sharma
Face Detection Attendance System By Arjun SharmaFace Detection Attendance System By Arjun Sharma
Face Detection Attendance System By Arjun SharmaArjun Agnihotri
 
Face recognition.ppt
Face recognition.pptFace recognition.ppt
Face recognition.pptssuser7ec6af
 
Face recognition
Face recognitionFace recognition
Face recognitionNaman Ahuja
 
Face recognition: A Comparison of Appearance Based Approaches
Face recognition: A Comparison of Appearance Based ApproachesFace recognition: A Comparison of Appearance Based Approaches
Face recognition: A Comparison of Appearance Based Approachessadique_ghitm
 
Movie on face recognition in e attendace
Movie on face recognition in e attendaceMovie on face recognition in e attendace
Movie on face recognition in e attendacesbk50000
 
Face recogntion using PCA algorithm
Face recogntion using PCA algorithmFace recogntion using PCA algorithm
Face recogntion using PCA algorithmAshwini Awatare
 
Criminal Detection System
Criminal Detection SystemCriminal Detection System
Criminal Detection SystemIntrader Amit
 
An Enhanced Independent Component-Based Human Facial Expression Recognition ...
An Enhanced Independent Component-Based Human Facial Expression Recognition  ...An Enhanced Independent Component-Based Human Facial Expression Recognition  ...
An Enhanced Independent Component-Based Human Facial Expression Recognition ...أحلام انصارى
 
HUMAN FACE RECOGNITION USING IMAGE PROCESSING PCA AND NEURAL NETWORK
HUMAN FACE RECOGNITION USING IMAGE PROCESSING PCA AND NEURAL NETWORKHUMAN FACE RECOGNITION USING IMAGE PROCESSING PCA AND NEURAL NETWORK
HUMAN FACE RECOGNITION USING IMAGE PROCESSING PCA AND NEURAL NETWORKijiert bestjournal
 
Pattern recognition facial recognition
Pattern recognition facial recognitionPattern recognition facial recognition
Pattern recognition facial recognitionMazin Alwaaly
 
Eigenfaces , Fisherfaces and Dimensionality_Reduction
Eigenfaces , Fisherfaces and Dimensionality_ReductionEigenfaces , Fisherfaces and Dimensionality_Reduction
Eigenfaces , Fisherfaces and Dimensionality_Reductionmostafayounes012
 
Local Descriptor based Face Recognition System
Local Descriptor based Face Recognition SystemLocal Descriptor based Face Recognition System
Local Descriptor based Face Recognition SystemIRJET Journal
 
A Hybrid Approach to Recognize Facial Image using Feature Extraction Method
A Hybrid Approach to Recognize Facial Image using Feature Extraction MethodA Hybrid Approach to Recognize Facial Image using Feature Extraction Method
A Hybrid Approach to Recognize Facial Image using Feature Extraction MethodIRJET Journal
 
Attendance System using Facial Recognition
Attendance System using Facial RecognitionAttendance System using Facial Recognition
Attendance System using Facial RecognitionIRJET Journal
 

Similar to Face recognition (20)

Facial recognition
Facial recognitionFacial recognition
Facial recognition
 
face detection
face detectionface detection
face detection
 
Final year ppt
Final year pptFinal year ppt
Final year ppt
 
Face Detection Attendance System By Arjun Sharma
Face Detection Attendance System By Arjun SharmaFace Detection Attendance System By Arjun Sharma
Face Detection Attendance System By Arjun Sharma
 
Face recognition.ppt
Face recognition.pptFace recognition.ppt
Face recognition.ppt
 
Face recognition
Face recognitionFace recognition
Face recognition
 
Face recognition: A Comparison of Appearance Based Approaches
Face recognition: A Comparison of Appearance Based ApproachesFace recognition: A Comparison of Appearance Based Approaches
Face recognition: A Comparison of Appearance Based Approaches
 
Movie on face recognition in e attendace
Movie on face recognition in e attendaceMovie on face recognition in e attendace
Movie on face recognition in e attendace
 
Face recogntion using PCA algorithm
Face recogntion using PCA algorithmFace recogntion using PCA algorithm
Face recogntion using PCA algorithm
 
Criminal Detection System
Criminal Detection SystemCriminal Detection System
Criminal Detection System
 
An Enhanced Independent Component-Based Human Facial Expression Recognition ...
An Enhanced Independent Component-Based Human Facial Expression Recognition  ...An Enhanced Independent Component-Based Human Facial Expression Recognition  ...
An Enhanced Independent Component-Based Human Facial Expression Recognition ...
 
HUMAN FACE RECOGNITION USING IMAGE PROCESSING PCA AND NEURAL NETWORK
HUMAN FACE RECOGNITION USING IMAGE PROCESSING PCA AND NEURAL NETWORKHUMAN FACE RECOGNITION USING IMAGE PROCESSING PCA AND NEURAL NETWORK
HUMAN FACE RECOGNITION USING IMAGE PROCESSING PCA AND NEURAL NETWORK
 
Pattern recognition
Pattern recognitionPattern recognition
Pattern recognition
 
Pattern recognition facial recognition
Pattern recognition facial recognitionPattern recognition facial recognition
Pattern recognition facial recognition
 
Face Recognition
Face RecognitionFace Recognition
Face Recognition
 
Eigenfaces , Fisherfaces and Dimensionality_Reduction
Eigenfaces , Fisherfaces and Dimensionality_ReductionEigenfaces , Fisherfaces and Dimensionality_Reduction
Eigenfaces , Fisherfaces and Dimensionality_Reduction
 
Local Descriptor based Face Recognition System
Local Descriptor based Face Recognition SystemLocal Descriptor based Face Recognition System
Local Descriptor based Face Recognition System
 
A Hybrid Approach to Recognize Facial Image using Feature Extraction Method
A Hybrid Approach to Recognize Facial Image using Feature Extraction MethodA Hybrid Approach to Recognize Facial Image using Feature Extraction Method
A Hybrid Approach to Recognize Facial Image using Feature Extraction Method
 
Attendance System using Facial Recognition
Attendance System using Facial RecognitionAttendance System using Facial Recognition
Attendance System using Facial Recognition
 
G041041047
G041041047G041041047
G041041047
 

More from Mohamed Magdy

More from Mohamed Magdy (7)

Kalman Filter
 Kalman Filter    Kalman Filter
Kalman Filter
 
Svm classifier
Svm classifierSvm classifier
Svm classifier
 
Plc (skyscraper glass cleaning robot)
Plc (skyscraper glass cleaning robot)Plc (skyscraper glass cleaning robot)
Plc (skyscraper glass cleaning robot)
 
Fuzzy logic control (ABS)
Fuzzy logic control (ABS)Fuzzy logic control (ABS)
Fuzzy logic control (ABS)
 
hospital database
hospital databasehospital database
hospital database
 
Dss project
Dss projectDss project
Dss project
 
Petri net
Petri netPetri net
Petri net
 

Recently uploaded

CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfme23b1001
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxKartikeyaDwivedi3
 
DATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage exampleDATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage examplePragyanshuParadkar1
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHC Sai Kiran
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .Satyam Kumar
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 

Recently uploaded (20)

CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
 
Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdf
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptx
 
DATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage exampleDATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage example
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECH
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 

Face recognition

  • 1. Face Recognition Using Principal Components Analysis (PCA)
  • 2. Outline •What is face Recognition ? •Principal Components Analysis (PCA) •Shortest Euclidean Distance Classifier •Dataset •Matlab
  • 3. What is face recognition ? face recognition is a type of biometric software application that can identify a specific individual in a digital image by analyzing and comparing patterns.
  • 4. What are biometrics ? A biometric is a unique, measurable characteristic of a human being that can be used to automatically recognize an individual or verify an individual identity. Biometrics can measure both physiological and behavioral characteristics. Physiological biometrics (based on measurements and data derived from direct the human body) include: • Finger-scan • Facial Recognition • Iris-scan • Retina-scan • Hand-scan.
  • 5. Applications • Security/Counterterrorism. Access control, comparing surveillance images to Know terrorist. • Day Care:Verify identity of individuals picking up the children Residential Security: Alert homeowners of approaching personnel . • Banking using ATM:The software is able to quickly verify a customer’s face.
  • 6. Implementation The implementation of face recognition technology includes the following four stages: • Image acquisition • Image processing • Distinctive characteristic location • Template creation • Template matching
  • 7. Image Acquisition •Facial-scan technology can acquire faces from almost any static camera or video system that generates images of sufficient quality and resolution. •High-quality enrollment is essential to eventual verification and identification enrollment images define the facial characteristics to be used in all future authentication events.
  • 8.
  • 9. Image Processing • Images are cropped such that the ovoid facial image remains, and color images are normally converted to black and white in order to facilitate initial comparisons based on grayscale characteristics. • First the presence of faces or face in a scene must be detected. Once the face is detected, it must be localized and Normalization process may be required to bring the dimensions of the live facial sample in alignment with the one on the template.
  • 10. Distinctive characteristic location • All facial-scan systems attempt to match visible facial features in a fashion similar to the way people recognize one another. • The features most often utilized in facial-scan systems are those least likely to change significantly over time: upper ridges of the eye sockets, areas around the cheekbones, sides of the mouth, nose shape, and the position of major features relative to each other.
  • 11. Behavioral changes such as alteration of hairstyle, changes in makeup, growing or shaving facial hair, adding or removing eyeglasses are behaviours that impact the ability of facial-scan systems to locate distinctive features, facial-scan systems are not yet developed to the point where they can overcome such variables.
  • 13. Template Matching • It compares match templates against enrollment templates. • A series of images is acquired and scored against the enrollment, so that a user attempting 1:1 verification within a facial-scan system may have 10 to 20 match attempts take place within 1 to 2 seconds. • facial-scan is not as effective as finger-scan or iris-sscan in identifying a single individual from a large database, a number of potential matches are generally returned after large-scale facial-scan identification searches.
  • 14. PCA
  • 15. Principal Components Analysis ( PCA) An exploratory technique used to reduce the dimensionality of the data set to 2D or 3D Can be used to: • Reduce number of dimensions in data • Find patterns in high-dimensional data • Visualize data of high dimensionality Example : • Face recognition • Image compression • Gene expression analysis
  • 16. How is PCA used in Recognition? A training set is used for learning phase • Applying PCA to training data to form a new coordinate system defined by significant Eigen vectors • Representing each data in PCA coordinate system (weights of Eigen vectors)
  • 17. A test set is used for testing phase • Same PCA coordinate system is used • Each new data is represented in PCA coordinates • New data is recognized as the closest training data (Euclidean distance)
  • 19. 1.Let be the mean vector (taking the mean of all rows) 2.taking the mean of all rows) X’ = X – X X
  • 20. 3. Compute the covariance matrix C of adjusted X . 4. Find the eigenvectors and eigenvalues of C.
  • 21. 5.For matrix C, vectors e (=column vector) having same direction as Ce : eigenvectors of C is e such that Ce=e  is called an eigenvalue of C.
  • 22. Ce=e  (C-I)e=0 6.Calculate eigenvalues  and eigenvectors x for covariance matrix
  • 23. PCA Applications •DataVisualization •Data Compression •Noise Reduction •Data Classification •Trend Analysis •Factor Analysis
  • 25. • Euclidean Distance Where n is the number of dimensions (attributes) and pk and qk are, respectively, the kth attributes (components) or data objects p and q. • Standardization is necessary, if scales differ    n k kk qpdist 1 2 )(
  • 26. Euclidean Distance 0 1 2 3 0 1 2 3 4 5 6 p1 p2 p3 p4 point x y p1 0 2 p2 2 0 p3 3 1 p4 5 1 p1 p2 p3 p4 p1 0 2.828 3.162 5.099 p2 2.828 0 1.414 3.162 p3 3.162 1.414 0 2 p4 5.099 3.162 2 0 Distance Matrix
  • 33. 1.
  • 34. 2.
  • 35. 3.
  • 40.