SlideShare a Scribd company logo
1 of 25
OUTLINES
 INTRODUCTION
 OPERATIONS
 PROS & CONS
 CONCLUSION
 REFFERENCES
2
INTRODUCTION
WHAT IS FACE RECOGNITION ?
 “Face Recognition is the task of identifying an already detected face as a KNOWN
or UNKNOWN face, and in more advanced cases, TELLING EXACTLY WHO’S
IT IS” !
WHAT IS PCA?
 Principal Component Analysis (PCA) is a useful statistical technique that has found
application in fields such as face recognition and image compression.
 It reduce the dimensionality of the data by retaining as much as variation possible in
our original data set.
 The best low-dimensional space can be determined by best principal-components.
3
OPERATIONS
 Algorithm:-
Initialization Operations in Face Recognition.
1. Prepare the Training Set to Face Vector.
2. Normalize the Face Vectors.
3. Calculate the Eigen Vectors.
4. Reduce Dimensionality.
5. Back to original dimensionality.
6. Represent Each Face Image a Linear Combination of all K Eigenvectors.
Recognizing An Unknown Face.
5
………..
112
× 92
Face vector space
Images converted to vector
Each Image size
column
vector
𝑀= 16 images in the training set
Convert each of face images in
Training set to face vectors
𝜞𝒊
10304 × 1
6
STEP 2:NORMALIZE THE FACE VECTOR
(i) AVERAGE FACE VECTOR/MEAN IMAGE(Ψ)
𝑀= 16 images in the training set
……….. 𝜳
Converted
Face vector space
Mean Image
𝜳𝜞𝒊
Calculate Average face vector
Save it into face vector space
7
(ii) SUBTRACT MEAN IMAGE FROM EACH FACE IMAGE
………..
Ф𝒊
𝜳
Converted
Face vector space
𝑀= 16 images in the training set
− =
𝛤1 𝛹
Normalized Face vector
Ф1
8
Result of Normalization
Figure: Normalized Data set
9
C =
𝑛=1
16
Ф 𝑛 Ф 𝑛
𝑇
= 𝐴𝐴 𝑇
= {(𝑁2
× 𝑀). (𝑀 × 𝑁2
)}
= 𝑁2× 𝑁2
= (10304 × 10304)
Where 𝐴 = {Ф1, Ф2, Ф3, … … … ., Ф16}
[𝐀 = 𝐍 𝟐
× 𝐌]……….. 𝜳
Ф𝒊
Face vector space
Converted
𝑀= 16 images in the training set
Converted
10
To calculate the eigenvectors , we need
to calculate the covariance vector C
C = 10304 × 10304
10304 eigenvectors
………
Each 10304×1 dimensional
……….. 𝜳
Ф𝒊
Face vector space
𝒖𝒊
Converted
𝑀= 16 images in the training set
11
N2 =
 But we need to
find only K
eigenvectors from
the above
N2 eigenvectors,
where K≤M
 VERY TIME
CONSUMING
SOLUTION:
“DIMENSIONALITY
REDUCTION”
i.e. Calculate
eigenvectors from a
covariance of
reduced
dimensionality
……….. 𝜳
Ф𝒊
Lower dimensional Sub-space
Face vector space
Converted
𝑀= 16 images in the training set
STEP 4:REDUCE DIMENSIONALITY
14
𝑳 = 𝑨 𝑻 𝑨
= 𝑴 × 𝑵2 𝑵2 × 𝑴
= 𝑴 × 𝑴
= 16 × 16
… … . .
16 eigenvectors
Each 16×1 dimensional
𝒗𝒊
……….. 𝜳
Ф𝒊
Lower dimensional Sub-space
Face vector space
Converted
𝑀= 16 images in the training set
 Calculate Co-variance matrix(𝑳)
of lower dimensional
15
𝑳 = 𝑨 𝑻
𝑨
= 𝑴 × 𝑵2
𝑵2
× 𝑴
= 𝑴 × 𝑴
= 16 × 16
… … . .
16 eigenvectors
Each 16×1 dimensional
𝒗𝒊
……….. 𝜳
Ф𝒊
Lower dimensional Sub-space
Face vector space
Converted
10304 eigenvectors
………
Each 10304×1 dimensional
𝒖𝒊
C = 10304 × 10304
v/s
𝑀 images in the training set
16
𝑳 = 𝑨 𝑻 𝑨
= 𝑴 × 𝑵2
𝑵2
× 𝑴
= 𝑴 × 𝑴
= 16 × 16
……….. 𝜳
Ф𝒊
Lower dimensional Sub-space
Face vector space
Converted
… … . .
16 eigenvectors
Each 16×1 dimensional
𝒗𝒊
Selected K eigenfaces MUST be in
The ORIGINAL dimensionality of the
Face vector space
17
𝑳 = 𝑨 𝑻 𝑨
= 𝑴 × 𝑵2
𝑵2
× 𝑴
= 𝑴 × 𝑴
= 16 × 16
……….. 𝜳
Ф𝒊
Lower dimensional Sub-space
Face vector space
Converted
… … . .
16 eigenvectors
Each 16×1 dimensional
𝒗𝒊
A=
𝒖𝒊 = 𝑨𝒗𝒊
10304 eigenvectors
………
Each 10304×1 dimensional
𝒖𝒊
𝑀= 16 images in the training set
STEP 5:BACK TO ORIGINAL DIMENSIONALITY
18
C = 𝐴𝐴 𝑇
10304 eigenvectors
………
Each 10304×1 dimensional
𝒖𝒊
The K selected eigenface
……….. 𝜳
Ф𝒊
Face vector space
Converted
𝑀= 16 images in the training set
20
Figure: The selected K eigenfaces of our set of original images
21
∑
𝛚 𝟏 𝛚 𝟐 𝛚 𝟑 𝛚 𝟒 𝛚 𝟓 𝛚 𝐊⋯ ⋯ ⋯
+ 𝜳 (Mean Image)
Each face from Training set can be represented a weighted sum of the K Eigenfaces + the Mean face
STEP 6:Represent Each Face Image a Linear Combination of all K
Eigenvectors
22
∑
𝛚 𝟏 𝛚 𝟐 𝛚 𝟑 𝛚 𝟒 𝛚 𝟓 𝛚 𝐊⋯
+ 𝜳 (Mean Image)
The K selected eigenface
Each face from Training set can be represented a
weighted sum of the K Eigenfaces + the Mean
face
………..
Ф𝒊
𝜳
Converted
Face vector space
𝑀= 16 images in the training set
23
∑
𝛚 𝟏 𝛚 𝟐 𝛚 𝟑 𝛚 𝟒 𝛚 𝟓 𝛚 𝐊⋯
+ 𝜳 (Mean Image)
=
𝜴𝒊 =
𝝎1
𝒊
𝝎2
𝒊
𝝎3
𝒊
.
.
.
𝝎 𝑲
𝒊
Each face from Training set can be represented a
weighted sum of the K Eigenfaces + the Mean
face
A weight vector 𝛀𝐢 which is
the eigenfaces representation
of the 𝒊 𝒕𝒉
face. We calculated
each faces weight vector.
24
Convert the
Input to Face
Vector
Normalize the
Face Vector
Project Normalize
Face Vector onto
the Eigenspace
Get the Weight
Vector
𝜴 𝒏𝒆𝒘 =
𝝎 𝟏
𝝎 𝟐
𝝎 𝟑
.
.
.
𝝎 𝑲
Euclidian Distance
(E) = (𝛀 𝒏𝒆𝒘 − 𝛀𝒊)
If
𝑬 < 𝜽 𝒕
No
Unknown
Yes
Input of a
unknown
Image
Recognized as
RECOGNIZING AN UNKNOWN FACE
25
PROS & CONS
 PCA based method provide better face recognition with reasonably low error
rates.
 Low-to-high dimensional Eigen space for alignment.
 Improve the image reconstruction and recognition performance.
 Implementation cost too high.
 Limited input.
 Recognizing time too high.
26
CONCLUSION
27
REFRENCES
28
Face Recognition Using PCA

More Related Content

What's hot

Face Recognition Methods based on Convolutional Neural Networks
Face Recognition Methods based on Convolutional Neural NetworksFace Recognition Methods based on Convolutional Neural Networks
Face Recognition Methods based on Convolutional Neural NetworksElaheh Rashedi
 
Facial recognition technology by vaibhav
Facial recognition technology by vaibhavFacial recognition technology by vaibhav
Facial recognition technology by vaibhavVaibhav P
 
Image Caption Generation using Convolutional Neural Network and LSTM
Image Caption Generation using Convolutional Neural Network and LSTMImage Caption Generation using Convolutional Neural Network and LSTM
Image Caption Generation using Convolutional Neural Network and LSTMOmkar Reddy
 
Facial expression recognition based on image feature
Facial expression recognition based on image featureFacial expression recognition based on image feature
Facial expression recognition based on image featureTasnim Tara
 
Image processing9 segmentation(pointslinesedges)
Image processing9 segmentation(pointslinesedges)Image processing9 segmentation(pointslinesedges)
Image processing9 segmentation(pointslinesedges)John Williams
 
Image proccessing and its application
Image proccessing and its applicationImage proccessing and its application
Image proccessing and its applicationAshwini Awatare
 
Face Recognition Based on Deep Learning (Yurii Pashchenko Technology Stream)
Face Recognition Based on Deep Learning (Yurii Pashchenko Technology Stream) Face Recognition Based on Deep Learning (Yurii Pashchenko Technology Stream)
Face Recognition Based on Deep Learning (Yurii Pashchenko Technology Stream) IT Arena
 
Computer vision and Open CV
Computer vision and Open CVComputer vision and Open CV
Computer vision and Open CVChariza Pladin
 
Predicting Emotions through Facial Expressions
Predicting Emotions through Facial Expressions  Predicting Emotions through Facial Expressions
Predicting Emotions through Facial Expressions twinkle singh
 
Face recognition using neural network
Face recognition using neural networkFace recognition using neural network
Face recognition using neural networkIndira Nayak
 
Support Vector Machines Simply
Support Vector Machines SimplySupport Vector Machines Simply
Support Vector Machines SimplyEmad Nabil
 
Face recognition tech1
Face recognition tech1Face recognition tech1
Face recognition tech1Ankit Gupta
 
Convolutional Neural Network - CNN | How CNN Works | Deep Learning Course | S...
Convolutional Neural Network - CNN | How CNN Works | Deep Learning Course | S...Convolutional Neural Network - CNN | How CNN Works | Deep Learning Course | S...
Convolutional Neural Network - CNN | How CNN Works | Deep Learning Course | S...Simplilearn
 
Automated Face Detection System
Automated Face Detection SystemAutomated Face Detection System
Automated Face Detection SystemAbhiroop Ghatak
 
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
 

What's hot (20)

Face Recognition Methods based on Convolutional Neural Networks
Face Recognition Methods based on Convolutional Neural NetworksFace Recognition Methods based on Convolutional Neural Networks
Face Recognition Methods based on Convolutional Neural Networks
 
Stress detection using Image processing
Stress detection using Image processingStress detection using Image processing
Stress detection using Image processing
 
Facial recognition technology by vaibhav
Facial recognition technology by vaibhavFacial recognition technology by vaibhav
Facial recognition technology by vaibhav
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Human Emotion Recognition
Human Emotion RecognitionHuman Emotion Recognition
Human Emotion Recognition
 
Image Caption Generation using Convolutional Neural Network and LSTM
Image Caption Generation using Convolutional Neural Network and LSTMImage Caption Generation using Convolutional Neural Network and LSTM
Image Caption Generation using Convolutional Neural Network and LSTM
 
Facial expression recognition based on image feature
Facial expression recognition based on image featureFacial expression recognition based on image feature
Facial expression recognition based on image feature
 
Image processing9 segmentation(pointslinesedges)
Image processing9 segmentation(pointslinesedges)Image processing9 segmentation(pointslinesedges)
Image processing9 segmentation(pointslinesedges)
 
Image proccessing and its application
Image proccessing and its applicationImage proccessing and its application
Image proccessing and its application
 
Face Recognition Based on Deep Learning (Yurii Pashchenko Technology Stream)
Face Recognition Based on Deep Learning (Yurii Pashchenko Technology Stream) Face Recognition Based on Deep Learning (Yurii Pashchenko Technology Stream)
Face Recognition Based on Deep Learning (Yurii Pashchenko Technology Stream)
 
Computer vision and Open CV
Computer vision and Open CVComputer vision and Open CV
Computer vision and Open CV
 
Predicting Emotions through Facial Expressions
Predicting Emotions through Facial Expressions  Predicting Emotions through Facial Expressions
Predicting Emotions through Facial Expressions
 
Face recognition using neural network
Face recognition using neural networkFace recognition using neural network
Face recognition using neural network
 
Support Vector Machines Simply
Support Vector Machines SimplySupport Vector Machines Simply
Support Vector Machines Simply
 
Face recognition tech1
Face recognition tech1Face recognition tech1
Face recognition tech1
 
Super resolution from a single image
Super resolution from a single imageSuper resolution from a single image
Super resolution from a single image
 
Image recognition
Image recognitionImage recognition
Image recognition
 
Convolutional Neural Network - CNN | How CNN Works | Deep Learning Course | S...
Convolutional Neural Network - CNN | How CNN Works | Deep Learning Course | S...Convolutional Neural Network - CNN | How CNN Works | Deep Learning Course | S...
Convolutional Neural Network - CNN | How CNN Works | Deep Learning Course | S...
 
Automated Face Detection System
Automated Face Detection SystemAutomated Face Detection System
Automated Face Detection System
 
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
 

Similar to Face Recognition Using PCA

Variational Autoencoders For Image Generation
Variational Autoencoders For Image GenerationVariational Autoencoders For Image Generation
Variational Autoencoders For Image GenerationJason Anderson
 
New Approach: Dominant and Additional Features Selection Based on Two Dimensi...
New Approach: Dominant and Additional Features Selection Based on Two Dimensi...New Approach: Dominant and Additional Features Selection Based on Two Dimensi...
New Approach: Dominant and Additional Features Selection Based on Two Dimensi...CSCJournals
 
2012 mdsp pr11 ica part 2 face recognition
2012 mdsp pr11 ica part 2 face recognition2012 mdsp pr11 ica part 2 face recognition
2012 mdsp pr11 ica part 2 face recognitionnozomuhamada
 
Muzammil Abdulrahman PPT On Gabor Wavelet Transform (GWT) Based Facial Expres...
Muzammil Abdulrahman PPT On Gabor Wavelet Transform (GWT) Based Facial Expres...Muzammil Abdulrahman PPT On Gabor Wavelet Transform (GWT) Based Facial Expres...
Muzammil Abdulrahman PPT On Gabor Wavelet Transform (GWT) Based Facial Expres...Petroleum Training Institute
 
Making BIG DATA smaller
Making BIG DATA smallerMaking BIG DATA smaller
Making BIG DATA smallerTony Tran
 
3D Reconstruction from Multiple uncalibrated 2D Images of an Object
3D Reconstruction from Multiple uncalibrated 2D Images of an Object3D Reconstruction from Multiple uncalibrated 2D Images of an Object
3D Reconstruction from Multiple uncalibrated 2D Images of an ObjectAnkur Tyagi
 
Multidimension Scaling and Isomap
Multidimension Scaling and IsomapMultidimension Scaling and Isomap
Multidimension Scaling and IsomapCheng-Shiang Li
 
5 DimensionalityReduction.pdf
5 DimensionalityReduction.pdf5 DimensionalityReduction.pdf
5 DimensionalityReduction.pdfRahul926331
 

Similar to Face Recognition Using PCA (20)

EPFL_presentation
EPFL_presentationEPFL_presentation
EPFL_presentation
 
Variational Autoencoders For Image Generation
Variational Autoencoders For Image GenerationVariational Autoencoders For Image Generation
Variational Autoencoders For Image Generation
 
CBIR Final project1
CBIR Final project1CBIR Final project1
CBIR Final project1
 
New Approach: Dominant and Additional Features Selection Based on Two Dimensi...
New Approach: Dominant and Additional Features Selection Based on Two Dimensi...New Approach: Dominant and Additional Features Selection Based on Two Dimensi...
New Approach: Dominant and Additional Features Selection Based on Two Dimensi...
 
2012 mdsp pr11 ica part 2 face recognition
2012 mdsp pr11 ica part 2 face recognition2012 mdsp pr11 ica part 2 face recognition
2012 mdsp pr11 ica part 2 face recognition
 
Muzammil Abdulrahman PPT On Gabor Wavelet Transform (GWT) Based Facial Expres...
Muzammil Abdulrahman PPT On Gabor Wavelet Transform (GWT) Based Facial Expres...Muzammil Abdulrahman PPT On Gabor Wavelet Transform (GWT) Based Facial Expres...
Muzammil Abdulrahman PPT On Gabor Wavelet Transform (GWT) Based Facial Expres...
 
Making BIG DATA smaller
Making BIG DATA smallerMaking BIG DATA smaller
Making BIG DATA smaller
 
BTP Presentation
BTP PresentationBTP Presentation
BTP Presentation
 
G1804014348
G1804014348G1804014348
G1804014348
 
MSE.pptx
MSE.pptxMSE.pptx
MSE.pptx
 
Real-Time Face Tracking with GPU Acceleration
Real-Time Face Tracking with GPU AccelerationReal-Time Face Tracking with GPU Acceleration
Real-Time Face Tracking with GPU Acceleration
 
CUDA Accelerated Face Recognition
CUDA Accelerated Face RecognitionCUDA Accelerated Face Recognition
CUDA Accelerated Face Recognition
 
Lec14 eigenface and fisherface
Lec14 eigenface and fisherfaceLec14 eigenface and fisherface
Lec14 eigenface and fisherface
 
Daa chapter 3
Daa chapter 3Daa chapter 3
Daa chapter 3
 
cvpr_15_poster_1200dpi
cvpr_15_poster_1200dpicvpr_15_poster_1200dpi
cvpr_15_poster_1200dpi
 
3D Reconstruction from Multiple uncalibrated 2D Images of an Object
3D Reconstruction from Multiple uncalibrated 2D Images of an Object3D Reconstruction from Multiple uncalibrated 2D Images of an Object
3D Reconstruction from Multiple uncalibrated 2D Images of an Object
 
Multidimension Scaling and Isomap
Multidimension Scaling and IsomapMultidimension Scaling and Isomap
Multidimension Scaling and Isomap
 
5 DimensionalityReduction.pdf
5 DimensionalityReduction.pdf5 DimensionalityReduction.pdf
5 DimensionalityReduction.pdf
 
NCIT civil Syllabus 2013-2014
NCIT civil Syllabus 2013-2014NCIT civil Syllabus 2013-2014
NCIT civil Syllabus 2013-2014
 
Lec15 sfm
Lec15 sfmLec15 sfm
Lec15 sfm
 

Recently uploaded

STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCE
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCESTERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCE
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCEPRINCE C P
 
Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.aasikanpl
 
Nanoparticles synthesis and characterization​ ​
Nanoparticles synthesis and characterization​  ​Nanoparticles synthesis and characterization​  ​
Nanoparticles synthesis and characterization​ ​kaibalyasahoo82800
 
Isotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on IoIsotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on IoSérgio Sacani
 
Work, Energy and Power for class 10 ICSE Physics
Work, Energy and Power for class 10 ICSE PhysicsWork, Energy and Power for class 10 ICSE Physics
Work, Energy and Power for class 10 ICSE Physicsvishikhakeshava1
 
Natural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsNatural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsAArockiyaNisha
 
Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.aasikanpl
 
Scheme-of-Work-Science-Stage-4 cambridge science.docx
Scheme-of-Work-Science-Stage-4 cambridge science.docxScheme-of-Work-Science-Stage-4 cambridge science.docx
Scheme-of-Work-Science-Stage-4 cambridge science.docxyaramohamed343013
 
Boyles law module in the grade 10 science
Boyles law module in the grade 10 scienceBoyles law module in the grade 10 science
Boyles law module in the grade 10 sciencefloriejanemacaya1
 
Recombination DNA Technology (Microinjection)
Recombination DNA Technology (Microinjection)Recombination DNA Technology (Microinjection)
Recombination DNA Technology (Microinjection)Jshifa
 
Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )aarthirajkumar25
 
Biopesticide (2).pptx .This slides helps to know the different types of biop...
Biopesticide (2).pptx  .This slides helps to know the different types of biop...Biopesticide (2).pptx  .This slides helps to know the different types of biop...
Biopesticide (2).pptx .This slides helps to know the different types of biop...RohitNehra6
 
zoogeography of pakistan.pptx fauna of Pakistan
zoogeography of pakistan.pptx fauna of Pakistanzoogeography of pakistan.pptx fauna of Pakistan
zoogeography of pakistan.pptx fauna of Pakistanzohaibmir069
 
Analytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdfAnalytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdfSwapnil Therkar
 
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...Sérgio Sacani
 
Artificial Intelligence In Microbiology by Dr. Prince C P
Artificial Intelligence In Microbiology by Dr. Prince C PArtificial Intelligence In Microbiology by Dr. Prince C P
Artificial Intelligence In Microbiology by Dr. Prince C PPRINCE C P
 
Disentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTDisentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTSérgio Sacani
 
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...jana861314
 

Recently uploaded (20)

STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCE
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCESTERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCE
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCE
 
Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
 
Nanoparticles synthesis and characterization​ ​
Nanoparticles synthesis and characterization​  ​Nanoparticles synthesis and characterization​  ​
Nanoparticles synthesis and characterization​ ​
 
Isotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on IoIsotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on Io
 
Work, Energy and Power for class 10 ICSE Physics
Work, Energy and Power for class 10 ICSE PhysicsWork, Energy and Power for class 10 ICSE Physics
Work, Energy and Power for class 10 ICSE Physics
 
Natural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsNatural Polymer Based Nanomaterials
Natural Polymer Based Nanomaterials
 
Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝
 
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
 
Scheme-of-Work-Science-Stage-4 cambridge science.docx
Scheme-of-Work-Science-Stage-4 cambridge science.docxScheme-of-Work-Science-Stage-4 cambridge science.docx
Scheme-of-Work-Science-Stage-4 cambridge science.docx
 
9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service
9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service
9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service
 
Boyles law module in the grade 10 science
Boyles law module in the grade 10 scienceBoyles law module in the grade 10 science
Boyles law module in the grade 10 science
 
Recombination DNA Technology (Microinjection)
Recombination DNA Technology (Microinjection)Recombination DNA Technology (Microinjection)
Recombination DNA Technology (Microinjection)
 
Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )
 
Biopesticide (2).pptx .This slides helps to know the different types of biop...
Biopesticide (2).pptx  .This slides helps to know the different types of biop...Biopesticide (2).pptx  .This slides helps to know the different types of biop...
Biopesticide (2).pptx .This slides helps to know the different types of biop...
 
zoogeography of pakistan.pptx fauna of Pakistan
zoogeography of pakistan.pptx fauna of Pakistanzoogeography of pakistan.pptx fauna of Pakistan
zoogeography of pakistan.pptx fauna of Pakistan
 
Analytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdfAnalytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdf
 
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
 
Artificial Intelligence In Microbiology by Dr. Prince C P
Artificial Intelligence In Microbiology by Dr. Prince C PArtificial Intelligence In Microbiology by Dr. Prince C P
Artificial Intelligence In Microbiology by Dr. Prince C P
 
Disentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTDisentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOST
 
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...
 

Face Recognition Using PCA

  • 1.
  • 2. OUTLINES  INTRODUCTION  OPERATIONS  PROS & CONS  CONCLUSION  REFFERENCES 2
  • 3. INTRODUCTION WHAT IS FACE RECOGNITION ?  “Face Recognition is the task of identifying an already detected face as a KNOWN or UNKNOWN face, and in more advanced cases, TELLING EXACTLY WHO’S IT IS” ! WHAT IS PCA?  Principal Component Analysis (PCA) is a useful statistical technique that has found application in fields such as face recognition and image compression.  It reduce the dimensionality of the data by retaining as much as variation possible in our original data set.  The best low-dimensional space can be determined by best principal-components. 3
  • 4. OPERATIONS  Algorithm:- Initialization Operations in Face Recognition. 1. Prepare the Training Set to Face Vector. 2. Normalize the Face Vectors. 3. Calculate the Eigen Vectors. 4. Reduce Dimensionality. 5. Back to original dimensionality. 6. Represent Each Face Image a Linear Combination of all K Eigenvectors. Recognizing An Unknown Face. 5
  • 5. ……….. 112 × 92 Face vector space Images converted to vector Each Image size column vector 𝑀= 16 images in the training set Convert each of face images in Training set to face vectors 𝜞𝒊 10304 × 1 6
  • 6. STEP 2:NORMALIZE THE FACE VECTOR (i) AVERAGE FACE VECTOR/MEAN IMAGE(Ψ) 𝑀= 16 images in the training set ……….. 𝜳 Converted Face vector space Mean Image 𝜳𝜞𝒊 Calculate Average face vector Save it into face vector space 7
  • 7. (ii) SUBTRACT MEAN IMAGE FROM EACH FACE IMAGE ……….. Ф𝒊 𝜳 Converted Face vector space 𝑀= 16 images in the training set − = 𝛤1 𝛹 Normalized Face vector Ф1 8
  • 8. Result of Normalization Figure: Normalized Data set 9
  • 9. C = 𝑛=1 16 Ф 𝑛 Ф 𝑛 𝑇 = 𝐴𝐴 𝑇 = {(𝑁2 × 𝑀). (𝑀 × 𝑁2 )} = 𝑁2× 𝑁2 = (10304 × 10304) Where 𝐴 = {Ф1, Ф2, Ф3, … … … ., Ф16} [𝐀 = 𝐍 𝟐 × 𝐌]……….. 𝜳 Ф𝒊 Face vector space Converted 𝑀= 16 images in the training set Converted 10 To calculate the eigenvectors , we need to calculate the covariance vector C
  • 10. C = 10304 × 10304 10304 eigenvectors ……… Each 10304×1 dimensional ……….. 𝜳 Ф𝒊 Face vector space 𝒖𝒊 Converted 𝑀= 16 images in the training set 11 N2 =  But we need to find only K eigenvectors from the above N2 eigenvectors, where K≤M  VERY TIME CONSUMING SOLUTION: “DIMENSIONALITY REDUCTION” i.e. Calculate eigenvectors from a covariance of reduced dimensionality
  • 11. ……….. 𝜳 Ф𝒊 Lower dimensional Sub-space Face vector space Converted 𝑀= 16 images in the training set STEP 4:REDUCE DIMENSIONALITY 14
  • 12. 𝑳 = 𝑨 𝑻 𝑨 = 𝑴 × 𝑵2 𝑵2 × 𝑴 = 𝑴 × 𝑴 = 16 × 16 … … . . 16 eigenvectors Each 16×1 dimensional 𝒗𝒊 ……….. 𝜳 Ф𝒊 Lower dimensional Sub-space Face vector space Converted 𝑀= 16 images in the training set  Calculate Co-variance matrix(𝑳) of lower dimensional 15
  • 13. 𝑳 = 𝑨 𝑻 𝑨 = 𝑴 × 𝑵2 𝑵2 × 𝑴 = 𝑴 × 𝑴 = 16 × 16 … … . . 16 eigenvectors Each 16×1 dimensional 𝒗𝒊 ……….. 𝜳 Ф𝒊 Lower dimensional Sub-space Face vector space Converted 10304 eigenvectors ……… Each 10304×1 dimensional 𝒖𝒊 C = 10304 × 10304 v/s 𝑀 images in the training set 16
  • 14. 𝑳 = 𝑨 𝑻 𝑨 = 𝑴 × 𝑵2 𝑵2 × 𝑴 = 𝑴 × 𝑴 = 16 × 16 ……….. 𝜳 Ф𝒊 Lower dimensional Sub-space Face vector space Converted … … . . 16 eigenvectors Each 16×1 dimensional 𝒗𝒊 Selected K eigenfaces MUST be in The ORIGINAL dimensionality of the Face vector space 17
  • 15. 𝑳 = 𝑨 𝑻 𝑨 = 𝑴 × 𝑵2 𝑵2 × 𝑴 = 𝑴 × 𝑴 = 16 × 16 ……….. 𝜳 Ф𝒊 Lower dimensional Sub-space Face vector space Converted … … . . 16 eigenvectors Each 16×1 dimensional 𝒗𝒊 A= 𝒖𝒊 = 𝑨𝒗𝒊 10304 eigenvectors ……… Each 10304×1 dimensional 𝒖𝒊 𝑀= 16 images in the training set STEP 5:BACK TO ORIGINAL DIMENSIONALITY 18
  • 16. C = 𝐴𝐴 𝑇 10304 eigenvectors ……… Each 10304×1 dimensional 𝒖𝒊 The K selected eigenface ……….. 𝜳 Ф𝒊 Face vector space Converted 𝑀= 16 images in the training set 20
  • 17. Figure: The selected K eigenfaces of our set of original images 21
  • 18. ∑ 𝛚 𝟏 𝛚 𝟐 𝛚 𝟑 𝛚 𝟒 𝛚 𝟓 𝛚 𝐊⋯ ⋯ ⋯ + 𝜳 (Mean Image) Each face from Training set can be represented a weighted sum of the K Eigenfaces + the Mean face STEP 6:Represent Each Face Image a Linear Combination of all K Eigenvectors 22
  • 19. ∑ 𝛚 𝟏 𝛚 𝟐 𝛚 𝟑 𝛚 𝟒 𝛚 𝟓 𝛚 𝐊⋯ + 𝜳 (Mean Image) The K selected eigenface Each face from Training set can be represented a weighted sum of the K Eigenfaces + the Mean face ……….. Ф𝒊 𝜳 Converted Face vector space 𝑀= 16 images in the training set 23
  • 20. ∑ 𝛚 𝟏 𝛚 𝟐 𝛚 𝟑 𝛚 𝟒 𝛚 𝟓 𝛚 𝐊⋯ + 𝜳 (Mean Image) = 𝜴𝒊 = 𝝎1 𝒊 𝝎2 𝒊 𝝎3 𝒊 . . . 𝝎 𝑲 𝒊 Each face from Training set can be represented a weighted sum of the K Eigenfaces + the Mean face A weight vector 𝛀𝐢 which is the eigenfaces representation of the 𝒊 𝒕𝒉 face. We calculated each faces weight vector. 24
  • 21. Convert the Input to Face Vector Normalize the Face Vector Project Normalize Face Vector onto the Eigenspace Get the Weight Vector 𝜴 𝒏𝒆𝒘 = 𝝎 𝟏 𝝎 𝟐 𝝎 𝟑 . . . 𝝎 𝑲 Euclidian Distance (E) = (𝛀 𝒏𝒆𝒘 − 𝛀𝒊) If 𝑬 < 𝜽 𝒕 No Unknown Yes Input of a unknown Image Recognized as RECOGNIZING AN UNKNOWN FACE 25
  • 22. PROS & CONS  PCA based method provide better face recognition with reasonably low error rates.  Low-to-high dimensional Eigen space for alignment.  Improve the image reconstruction and recognition performance.  Implementation cost too high.  Limited input.  Recognizing time too high. 26