SlideShare a Scribd company logo
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

Pattern recognition facial recognition
Pattern recognition facial recognitionPattern recognition facial recognition
Pattern recognition facial recognition
Mazin Alwaaly
 
Face recognization
Face recognizationFace recognization
Face recognization
leenak770
 
Face recognition
Face recognitionFace recognition
Face recognition
sandeepsharma1193
 
Face recognisation system
Face recognisation systemFace recognisation system
Face recognisation system
Saumya Ranjan Behura
 
Face recognition technology
Face recognition technologyFace recognition technology
Face recognition technology
ShubhamLamichane
 
Face Recognition Technology
Face Recognition TechnologyFace Recognition Technology
Face Recognition Technology
usha2016
 
Face Recognition
Face RecognitionFace Recognition
Face Recognition
arvind carpenter
 
Face recognition
Face recognition Face recognition
Face recognition
Chandan A V
 
Project presentation by Debendra Adhikari
Project presentation by Debendra AdhikariProject presentation by Debendra Adhikari
Project presentation by Debendra Adhikari
DEBENDRA ADHIKARI
 
Face detection and recognition using surveillance camera2 edited
Face detection and recognition using surveillance camera2 editedFace detection and recognition using surveillance camera2 edited
Face detection and recognition using surveillance camera2 edited
Santu Chall
 
Facial recognition system
Facial recognition systemFacial recognition system
Facial recognition system
Divya Sushma
 
Face Recognition Technology
Face Recognition TechnologyFace Recognition Technology
Face Recognition Technology
Shashidhar Reddy
 
Face recognition technology
Face recognition technologyFace recognition technology
Face recognition technology
Pushkar Dutt
 
human face detection using matlab
human face detection using matlabhuman face detection using matlab
human face detection using matlab
shamima sultana
 
Face Recognition
Face RecognitionFace Recognition
Face Recognition
Amro El Namory
 
Face Detection and Recognition System
Face Detection and Recognition SystemFace Detection and Recognition System
Face Detection and Recognition System
Zara Tariq
 
Attendance Management System using Face Recognition
Attendance Management System using Face RecognitionAttendance Management System using Face Recognition
Attendance Management System using Face Recognition
NanditaDutta4
 
Face recognition
Face recognitionFace recognition
Face recognition
Balamurugan M
 
Face Recognition
Face Recognition Face Recognition
Face Recognition nialler27
 

What's hot (20)

Pattern recognition facial recognition
Pattern recognition facial recognitionPattern recognition facial recognition
Pattern recognition facial recognition
 
Face recognization
Face recognizationFace recognization
Face recognization
 
Face recognition
Face recognitionFace recognition
Face recognition
 
Face recognisation system
Face recognisation systemFace recognisation system
Face recognisation system
 
Face recognition technology
Face recognition technologyFace recognition technology
Face recognition technology
 
Face Recognition Technology
Face Recognition TechnologyFace Recognition Technology
Face Recognition Technology
 
Face Recognition
Face RecognitionFace Recognition
Face Recognition
 
Face recognition
Face recognition Face recognition
Face recognition
 
Project presentation by Debendra Adhikari
Project presentation by Debendra AdhikariProject presentation by Debendra Adhikari
Project presentation by Debendra Adhikari
 
Face recognition system
Face recognition systemFace recognition system
Face recognition system
 
Face detection and recognition using surveillance camera2 edited
Face detection and recognition using surveillance camera2 editedFace detection and recognition using surveillance camera2 edited
Face detection and recognition using surveillance camera2 edited
 
Facial recognition system
Facial recognition systemFacial recognition system
Facial recognition system
 
Face Recognition Technology
Face Recognition TechnologyFace Recognition Technology
Face Recognition Technology
 
Face recognition technology
Face recognition technologyFace recognition technology
Face recognition technology
 
human face detection using matlab
human face detection using matlabhuman face detection using matlab
human face detection using matlab
 
Face Recognition
Face RecognitionFace Recognition
Face Recognition
 
Face Detection and Recognition System
Face Detection and Recognition SystemFace Detection and Recognition System
Face Detection and Recognition System
 
Attendance Management System using Face Recognition
Attendance Management System using Face RecognitionAttendance Management System using Face Recognition
Attendance Management System using Face Recognition
 
Face recognition
Face recognitionFace recognition
Face recognition
 
Face Recognition
Face Recognition Face Recognition
Face Recognition
 

Similar to Face recognition

Facial recognition
Facial recognitionFacial recognition
Facial recognition
Sonam1891
 
Detection and recognition of face using neural network
Detection and recognition of face using neural networkDetection and recognition of face using neural network
Detection and recognition of face using neural networkSmriti Tikoo
 
Final year ppt
Final year pptFinal year ppt
Final year ppt
Shruti Chandra
 
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
Arjun Agnihotri
 
Face recognition.ppt
Face recognition.pptFace recognition.ppt
Face recognition.ppt
ssuser7ec6af
 
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 Approaches
sadique_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 attendace
sbk50000
 
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 System
Intrader 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 NETWORK
ijiert bestjournal
 
Pattern recognition
Pattern recognitionPattern recognition
Pattern recognition
Shailesh Thakur
 
Face Recognition
Face RecognitionFace Recognition
Face Recognition
Saraj Sadanand
 
Eigenfaces , Fisherfaces and Dimensionality_Reduction
Eigenfaces , Fisherfaces and Dimensionality_ReductionEigenfaces , Fisherfaces and Dimensionality_Reduction
Eigenfaces , Fisherfaces and Dimensionality_Reduction
mostafayounes012
 
Local Descriptor based Face Recognition System
Local Descriptor based Face Recognition SystemLocal Descriptor based Face Recognition System
Local Descriptor based Face Recognition System
IRJET 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 Method
IRJET Journal
 
Attendance System using Facial Recognition
Attendance System using Facial RecognitionAttendance System using Facial Recognition
Attendance System using Facial Recognition
IRJET Journal
 

Similar to Face recognition (20)

Facial recognition
Facial recognitionFacial recognition
Facial recognition
 
Detection and recognition of face using neural network
Detection and recognition of face using neural networkDetection and recognition of face using neural network
Detection and recognition of face using neural network
 
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
 
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

Kalman Filter
 Kalman Filter    Kalman Filter
Kalman Filter
Mohamed Magdy
 
Svm classifier
Svm classifierSvm classifier
Svm classifier
Mohamed Magdy
 
Plc (skyscraper glass cleaning robot)
Plc (skyscraper glass cleaning robot)Plc (skyscraper glass cleaning robot)
Plc (skyscraper glass cleaning robot)
Mohamed Magdy
 
Fuzzy logic control (ABS)
Fuzzy logic control (ABS)Fuzzy logic control (ABS)
Fuzzy logic control (ABS)
Mohamed Magdy
 
hospital database
hospital databasehospital database
hospital database
Mohamed Magdy
 
Dss project
Dss projectDss project
Dss project
Mohamed Magdy
 
Petri net
Petri netPetri net
Petri net
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

The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
R&R Consult
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
AmarGB2
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
ongomchris
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
SupreethSP4
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
manasideore6
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
Pipe Restoration Solutions
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
zwunae
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
Vijay Dialani, PhD
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 

Recently uploaded (20)

The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 

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.