SlideShare a Scribd company logo
1 of 31
Face Recognition via Quad
Copter Using Raspberry Pi
Furqan Arshad 101519065
Hassam Umer 101519087
Zain ul Abidin 101519***
Advisor: Muhammad Ilyas Khan
Face recognition via quad copter using
Raspberry pi
Face
Detector
Detected
face
RGB to
greyscale
Face
Recognition
System
Face
Database
Found!
Capturing
Image
Detected
Face
Introduction
Capturing and
processing
images
Face Database
Face
RecognitionQuadcopter
Skills Required
• Knowledge of Image Processing
• Knowledge of computer vision
• Raspberry pi
• Operating system “Raspicam” (Linux)
• Opencv C++
• Principle ComponentAnalysis
• Quadcopter skills
SK450 Quadcopter specs
Specs:
Frame: SK450
Wheelbase or Motor to Motor Diagonal: 450mm
Weight: 680g without battery
Motors: Multistar 2213 935kv
ESC: Multistar 20A
Propellers: 0845~1045 2xCW 2xCCW
Flight Controller: KK2.0
Radio: Turnigy 5ch FHSS 2.4GHz
Battery: 170g 2200mA
KK board 2.0
Raspberry Pi
Wifi link for transmitting video
Methodology
• Learning image processing techniques for enhancement of images.
• Learning and implementing of face detection using Viola Jones Algorithm.
• Making of photo editor software using opencv having features as brightness, contrast,
sharpness, histogram equalization and saturation of image.
• Face Recognition using PCA algorithm using yale database for testing.
Yale FacesDatabase
Literature Review
Face Recognition using PCA
• What is PCA ?
• Why and where it is used ?
• What is a principle component/eigenface ?
• Benefits of dimensionality reduction?
• How results of PCA are measured ?
Why andWhere is PCA used ?
• Multivariate dataset (set of images) visualized as a set of coordinates in a
high dimensional date space
• PCA can supply the user with a lower dimensional picture, a “shadow” of
this object.
What is PCA and its relation to Face
Recognition?
• Principal component analysis (PCA) is a mathematical procedure that uses
an orthogonal transformation to convert a set of possibly correlated M
variables (a set of images) into a set of values of K uncorrelated variables
called principle components (Eigen Faces).
• The number of principle components is always less that or equal to the
number of original variables. i.e K<M
• This transformation is defined is such a way
that the first principle component shows the
most dominant “features” of the dataset and
each succeeding component in turn shows
the next most dominant “features”, under the
constraints that it be uncorrelated the
preceding components.
• To reduce the calculations needed for the
finding these principle components, the
dimensionality of the original data set is
reduced before they are calculated
PCA and tis relation to Face Recognition
• Since Principle Component show the “direction” of data, and each
proceeding component shows less “directions” and more “noise”, Only few
first principal components (say K ) are selected whereas the rest of last
components are discarded.
• The K principal components can safely represent the whole original dataset
because the depict the major features that makes up the dataset.
PCA and Face Recongition
• Each variable in the original dataset can be represented in terms of these
principal components.
• Representing a data point reduces the number of values needed to
recognize it by using PCA.
• This makes reorganization process faster and also more free of error.
• Images weight vector and weights assigned
How is PCA done ?
∑
w1 w2 w3 w4 w5 w6 wk…..
+ mean image
Ω=
w1
w2
.
.
wk
The PCA FACE RECOGNITION ALGORITHM
How it works ?
ATraining set consisting ofTotal M images
N2 x 1
Images converted toVectors
FaceVector Space
Foreach (image in training set)
Training the recognizer
Step 1: Convert face Images inTraining Set to FaceVectors
N x N
ATraining set consisting ofTotal M images
Converted
FaceVector Space
Normalize face vectors:
Training the recognizer
Step 2: Normalize the FaceVectors
Calculate average face vector
Then subtract he mean face vector from
Each face vector to get the normalized
face vectors
Normalized face vector
A= [φ1, φ2, φ3, φ4,… φm]
Φi=Гi - ψΦi
ψ
T
AAC 
ATraining set consisting ofTotal M images
Converted
FaceVector Space
N2 x M Mx N2=N2 by N2
(2500 x2500) if N=50
Each 2500 * 1 dimesnion
2500 eigenvectors
T
AAC 
ATraining set consisting ofTotal M images
Converted
FaceVector Space
Each 2500 * 1 dimesnion
2500 eigenvectors
T
AAC 
Warning
System may slow
down or run out of
memory
Computations
required are huge
Training the recognizer
The need for dimensionality reduction
ATraining set consisting ofTotal M images
Converted
FaceVector Space
Training the recognizer
Step 3: Reduce the dimensionality
Each 2500 * 1 dimesnion
2500 eigenvectors
Solution:
Dimensionality
reduction
TO reduce calculation and
effect of noise on the needed
eigenvectors calculate them
from a covariance matric of
reduced dimensionality
T
AAC 
N2 x M Mx N2=N2 x N2
ATraining set consisting ofTotal M images
Converted
FaceVector Space
Training the recognizer
Step 3: Reduce the dimensionality
Each 2500 * 1 dimesnion
2500 eigenvectors
T
AAC 
N2 x M Mx N2=N2 x N2
V/s
AAL T

Mx N2 N2 x M=M x M
ATraining set consisting ofTotal M images
Converted
FaceVector Space
Each 2500 * 1 dimesnion
2500 eigenvectors
T
AAC 
N2 x M Mx N2=N2 x N2
V/s
AAL T

Mx N2 N2 x M=M x M
Training the recognizer
Step 4: Calculate the eigenvector from covariance matrix L
Lower dimensional
subspace
ATraining set consisting ofTotal M images
Converted
Training the recognizer
Step 5: Select K best eigenfaces such that K < M
2500 eigenvectors
ui= A λi
=A
AAL T
Lower dimensional
subspace
ATraining set consisting ofTotal M images
Converted
Training the recognizer
Step 5: Select K best eigenfaces such that K < M
Selected K Eigen Faces
How is PCA done ?
∑
w1 w2 w3 w4 w5 w6 wk…..
+ mean image
Ω=
w1
w2
.
.
wk
Convert the input image
to face vector
Convert the input image
to face vector
Project Normalize face
vector onto the
Eigenspace
Weight vector of input
image
Calculate distance
between input weight
vectors and all the
weight vectors
If
Dista>threshld
No
Recognized as
Unknown
person
Unknown person
Fyp

More Related Content

What's hot

Superpixel algorithms (whatershed, mean-shift, SLIC, BSLIC), Foolad
Superpixel algorithms (whatershed, mean-shift, SLIC, BSLIC), FooladSuperpixel algorithms (whatershed, mean-shift, SLIC, BSLIC), Foolad
Superpixel algorithms (whatershed, mean-shift, SLIC, BSLIC), FooladShima Foolad
 
A Virtual Machine Placement Algorithm for Energy Efficient Cloud Resource Res...
A Virtual Machine Placement Algorithm for Energy Efficient Cloud Resource Res...A Virtual Machine Placement Algorithm for Energy Efficient Cloud Resource Res...
A Virtual Machine Placement Algorithm for Energy Efficient Cloud Resource Res...SuvomDas
 
Object Segmentation (D2L7 Insight@DCU Machine Learning Workshop 2017)
Object Segmentation (D2L7 Insight@DCU Machine Learning Workshop 2017)Object Segmentation (D2L7 Insight@DCU Machine Learning Workshop 2017)
Object Segmentation (D2L7 Insight@DCU Machine Learning Workshop 2017)Universitat Politècnica de Catalunya
 
Double Patterning
Double PatterningDouble Patterning
Double PatterningDanny Luk
 
Graph Convolutional Neural Networks
Graph Convolutional Neural Networks Graph Convolutional Neural Networks
Graph Convolutional Neural Networks 신동 강
 
Project report on design & implementation of high speed carry select adder
Project report on design & implementation of high speed carry select adderProject report on design & implementation of high speed carry select adder
Project report on design & implementation of high speed carry select adderssingh7603
 
Graph Regularised Hashing
Graph Regularised HashingGraph Regularised Hashing
Graph Regularised HashingSean Moran
 
Urban 3D Semantic Modelling Using Stereo Vision, ICRA 2013
Urban 3D Semantic Modelling Using Stereo Vision, ICRA 2013Urban 3D Semantic Modelling Using Stereo Vision, ICRA 2013
Urban 3D Semantic Modelling Using Stereo Vision, ICRA 2013Sunando Sengupta
 
論文紹介"DynamicFusion: Reconstruction and Tracking of Non-­‐rigid Scenes in Real...
論文紹介"DynamicFusion: Reconstruction and Tracking of Non-­‐rigid Scenes in Real...論文紹介"DynamicFusion: Reconstruction and Tracking of Non-­‐rigid Scenes in Real...
論文紹介"DynamicFusion: Reconstruction and Tracking of Non-­‐rigid Scenes in Real...Ken Sakurada
 
Lossless image compression via by lifting scheme
Lossless image compression via by lifting schemeLossless image compression via by lifting scheme
Lossless image compression via by lifting schemeSubhashini Subramanian
 
Intensity transformation & histogram processing
Intensity transformation & histogram processingIntensity transformation & histogram processing
Intensity transformation & histogram processingDëèp Çhõkshï
 
CPQ_presentation_ICCV2021
CPQ_presentation_ICCV2021CPQ_presentation_ICCV2021
CPQ_presentation_ICCV2021Jihun Yun
 
IRJET- An Efficient Wallace Tree Multiplier using Modified Adder
IRJET- An Efficient Wallace Tree Multiplier using Modified AdderIRJET- An Efficient Wallace Tree Multiplier using Modified Adder
IRJET- An Efficient Wallace Tree Multiplier using Modified AdderIRJET Journal
 
An Efficient Elliptic Curve Cryptography Arithmetic Using Nikhilam Multiplica...
An Efficient Elliptic Curve Cryptography Arithmetic Using Nikhilam Multiplica...An Efficient Elliptic Curve Cryptography Arithmetic Using Nikhilam Multiplica...
An Efficient Elliptic Curve Cryptography Arithmetic Using Nikhilam Multiplica...theijes
 
Optimization of graph storage using GoFFish
Optimization of graph storage using GoFFishOptimization of graph storage using GoFFish
Optimization of graph storage using GoFFishAnushree Prasanna Kumar
 

What's hot (20)

Superpixel algorithms (whatershed, mean-shift, SLIC, BSLIC), Foolad
Superpixel algorithms (whatershed, mean-shift, SLIC, BSLIC), FooladSuperpixel algorithms (whatershed, mean-shift, SLIC, BSLIC), Foolad
Superpixel algorithms (whatershed, mean-shift, SLIC, BSLIC), Foolad
 
A Virtual Machine Placement Algorithm for Energy Efficient Cloud Resource Res...
A Virtual Machine Placement Algorithm for Energy Efficient Cloud Resource Res...A Virtual Machine Placement Algorithm for Energy Efficient Cloud Resource Res...
A Virtual Machine Placement Algorithm for Energy Efficient Cloud Resource Res...
 
Object Segmentation (D2L7 Insight@DCU Machine Learning Workshop 2017)
Object Segmentation (D2L7 Insight@DCU Machine Learning Workshop 2017)Object Segmentation (D2L7 Insight@DCU Machine Learning Workshop 2017)
Object Segmentation (D2L7 Insight@DCU Machine Learning Workshop 2017)
 
Double Patterning
Double PatterningDouble Patterning
Double Patterning
 
Thesis Presentation
Thesis PresentationThesis Presentation
Thesis Presentation
 
Graph Convolutional Neural Networks
Graph Convolutional Neural Networks Graph Convolutional Neural Networks
Graph Convolutional Neural Networks
 
Project report on design & implementation of high speed carry select adder
Project report on design & implementation of high speed carry select adderProject report on design & implementation of high speed carry select adder
Project report on design & implementation of high speed carry select adder
 
CLIM: Transition Workshop - Statistical Emulation with Dimension Reduction fo...
CLIM: Transition Workshop - Statistical Emulation with Dimension Reduction fo...CLIM: Transition Workshop - Statistical Emulation with Dimension Reduction fo...
CLIM: Transition Workshop - Statistical Emulation with Dimension Reduction fo...
 
Graph Regularised Hashing
Graph Regularised HashingGraph Regularised Hashing
Graph Regularised Hashing
 
Urban 3D Semantic Modelling Using Stereo Vision, ICRA 2013
Urban 3D Semantic Modelling Using Stereo Vision, ICRA 2013Urban 3D Semantic Modelling Using Stereo Vision, ICRA 2013
Urban 3D Semantic Modelling Using Stereo Vision, ICRA 2013
 
CLIM Program: Remote Sensing Workshop, Statistical Emulation with Dimension R...
CLIM Program: Remote Sensing Workshop, Statistical Emulation with Dimension R...CLIM Program: Remote Sensing Workshop, Statistical Emulation with Dimension R...
CLIM Program: Remote Sensing Workshop, Statistical Emulation with Dimension R...
 
論文紹介"DynamicFusion: Reconstruction and Tracking of Non-­‐rigid Scenes in Real...
論文紹介"DynamicFusion: Reconstruction and Tracking of Non-­‐rigid Scenes in Real...論文紹介"DynamicFusion: Reconstruction and Tracking of Non-­‐rigid Scenes in Real...
論文紹介"DynamicFusion: Reconstruction and Tracking of Non-­‐rigid Scenes in Real...
 
Lossless image compression via by lifting scheme
Lossless image compression via by lifting schemeLossless image compression via by lifting scheme
Lossless image compression via by lifting scheme
 
Intensity transformation & histogram processing
Intensity transformation & histogram processingIntensity transformation & histogram processing
Intensity transformation & histogram processing
 
CPQ_presentation_ICCV2021
CPQ_presentation_ICCV2021CPQ_presentation_ICCV2021
CPQ_presentation_ICCV2021
 
Image pyramid
Image pyramidImage pyramid
Image pyramid
 
IRJET- An Efficient Wallace Tree Multiplier using Modified Adder
IRJET- An Efficient Wallace Tree Multiplier using Modified AdderIRJET- An Efficient Wallace Tree Multiplier using Modified Adder
IRJET- An Efficient Wallace Tree Multiplier using Modified Adder
 
reportVPLProject
reportVPLProjectreportVPLProject
reportVPLProject
 
An Efficient Elliptic Curve Cryptography Arithmetic Using Nikhilam Multiplica...
An Efficient Elliptic Curve Cryptography Arithmetic Using Nikhilam Multiplica...An Efficient Elliptic Curve Cryptography Arithmetic Using Nikhilam Multiplica...
An Efficient Elliptic Curve Cryptography Arithmetic Using Nikhilam Multiplica...
 
Optimization of graph storage using GoFFish
Optimization of graph storage using GoFFishOptimization of graph storage using GoFFish
Optimization of graph storage using GoFFish
 

Similar to Fyp

B Eng Final Year Project Presentation
B Eng Final Year Project PresentationB Eng Final Year Project Presentation
B Eng Final Year Project Presentationjesujoseph
 
Aiar. unit v. machine vision 1462642546237
Aiar. unit v. machine vision 1462642546237Aiar. unit v. machine vision 1462642546237
Aiar. unit v. machine vision 1462642546237Kunal mane
 
Optimizing Terascale Machine Learning Pipelines with Keystone ML
Optimizing Terascale Machine Learning Pipelines with Keystone MLOptimizing Terascale Machine Learning Pipelines with Keystone ML
Optimizing Terascale Machine Learning Pipelines with Keystone MLSpark Summit
 
On-the-fly Visual Category Search in Web-scale Image Collections
On-the-fly Visual Category Search in Web-scale Image CollectionsOn-the-fly Visual Category Search in Web-scale Image Collections
On-the-fly Visual Category Search in Web-scale Image CollectionsKen Chatfield
 
Week 12 Dimensionality Reduction Bagian 1
Week 12 Dimensionality Reduction Bagian 1Week 12 Dimensionality Reduction Bagian 1
Week 12 Dimensionality Reduction Bagian 1khairulhuda242
 
When Discrete Optimization Meets Multimedia Security (and Beyond)
When Discrete Optimization Meets Multimedia Security (and Beyond)When Discrete Optimization Meets Multimedia Security (and Beyond)
When Discrete Optimization Meets Multimedia Security (and Beyond)Shujun Li
 
An Introduction to Deep Learning
An Introduction to Deep LearningAn Introduction to Deep Learning
An Introduction to Deep Learningmilad abbasi
 
Introduction to Deep Learning
Introduction to Deep LearningIntroduction to Deep Learning
Introduction to Deep LearningMehrnaz Faraz
 
Lossless Huffman coding image compression implementation in spatial domain by...
Lossless Huffman coding image compression implementation in spatial domain by...Lossless Huffman coding image compression implementation in spatial domain by...
Lossless Huffman coding image compression implementation in spatial domain by...IRJET Journal
 
Reducing the dimensionality of data with neural networks
Reducing the dimensionality of data with neural networksReducing the dimensionality of data with neural networks
Reducing the dimensionality of data with neural networksHakky St
 
Graduation project Book (Self-Driving Car)
Graduation project Book (Self-Driving Car)Graduation project Book (Self-Driving Car)
Graduation project Book (Self-Driving Car)ahmedshehata133
 
Quality enhamcment
Quality enhamcmentQuality enhamcment
Quality enhamcmentYara Ali
 
PCA-SIFT: A More Distinctive Representation for Local Image Descriptors
PCA-SIFT: A More Distinctive Representation for Local Image DescriptorsPCA-SIFT: A More Distinctive Representation for Local Image Descriptors
PCA-SIFT: A More Distinctive Representation for Local Image Descriptorswolf
 

Similar to Fyp (20)

B Eng Final Year Project Presentation
B Eng Final Year Project PresentationB Eng Final Year Project Presentation
B Eng Final Year Project Presentation
 
Aiar. unit v. machine vision 1462642546237
Aiar. unit v. machine vision 1462642546237Aiar. unit v. machine vision 1462642546237
Aiar. unit v. machine vision 1462642546237
 
Lbc data reduction
Lbc data reductionLbc data reduction
Lbc data reduction
 
Digital.cc
Digital.ccDigital.cc
Digital.cc
 
Optimizing Terascale Machine Learning Pipelines with Keystone ML
Optimizing Terascale Machine Learning Pipelines with Keystone MLOptimizing Terascale Machine Learning Pipelines with Keystone ML
Optimizing Terascale Machine Learning Pipelines with Keystone ML
 
Ch7 031102
Ch7 031102Ch7 031102
Ch7 031102
 
4 bit manchester_adder
4 bit manchester_adder4 bit manchester_adder
4 bit manchester_adder
 
On-the-fly Visual Category Search in Web-scale Image Collections
On-the-fly Visual Category Search in Web-scale Image CollectionsOn-the-fly Visual Category Search in Web-scale Image Collections
On-the-fly Visual Category Search in Web-scale Image Collections
 
Week 12 Dimensionality Reduction Bagian 1
Week 12 Dimensionality Reduction Bagian 1Week 12 Dimensionality Reduction Bagian 1
Week 12 Dimensionality Reduction Bagian 1
 
When Discrete Optimization Meets Multimedia Security (and Beyond)
When Discrete Optimization Meets Multimedia Security (and Beyond)When Discrete Optimization Meets Multimedia Security (and Beyond)
When Discrete Optimization Meets Multimedia Security (and Beyond)
 
An Introduction to Deep Learning
An Introduction to Deep LearningAn Introduction to Deep Learning
An Introduction to Deep Learning
 
Introduction to Deep Learning
Introduction to Deep LearningIntroduction to Deep Learning
Introduction to Deep Learning
 
Cv mini project (1)
Cv mini project (1)Cv mini project (1)
Cv mini project (1)
 
Lossless Huffman coding image compression implementation in spatial domain by...
Lossless Huffman coding image compression implementation in spatial domain by...Lossless Huffman coding image compression implementation in spatial domain by...
Lossless Huffman coding image compression implementation in spatial domain by...
 
Reducing the dimensionality of data with neural networks
Reducing the dimensionality of data with neural networksReducing the dimensionality of data with neural networks
Reducing the dimensionality of data with neural networks
 
Graduation project Book (Self-Driving Car)
Graduation project Book (Self-Driving Car)Graduation project Book (Self-Driving Car)
Graduation project Book (Self-Driving Car)
 
Quality enhamcment
Quality enhamcmentQuality enhamcment
Quality enhamcment
 
TUPPC055_Final
TUPPC055_FinalTUPPC055_Final
TUPPC055_Final
 
M.sc. m kamel
M.sc. m kamelM.sc. m kamel
M.sc. m kamel
 
PCA-SIFT: A More Distinctive Representation for Local Image Descriptors
PCA-SIFT: A More Distinctive Representation for Local Image DescriptorsPCA-SIFT: A More Distinctive Representation for Local Image Descriptors
PCA-SIFT: A More Distinctive Representation for Local Image Descriptors
 

Recently uploaded

The SRE Report 2024 - Great Findings for the teams
The SRE Report 2024 - Great Findings for the teamsThe SRE Report 2024 - Great Findings for the teams
The SRE Report 2024 - Great Findings for the teamsDILIPKUMARMONDAL6
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
Steel Structures - Building technology.pptx
Steel Structures - Building technology.pptxSteel Structures - Building technology.pptx
Steel Structures - Building technology.pptxNikhil Raut
 
home automation using Arduino by Aditya Prasad
home automation using Arduino by Aditya Prasadhome automation using Arduino by Aditya Prasad
home automation using Arduino by Aditya Prasadaditya806802
 
Mine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxMine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxRomil Mishra
 
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
 
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
 
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgUnit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgsaravananr517913
 
Solving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.pptSolving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.pptJasonTagapanGulla
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfROCENODodongVILLACER
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
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
 
Earthing details of Electrical Substation
Earthing details of Electrical SubstationEarthing details of Electrical Substation
Earthing details of Electrical Substationstephanwindworld
 
Correctly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleCorrectly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleAlluxio, Inc.
 
Main Memory Management in Operating System
Main Memory Management in Operating SystemMain Memory Management in Operating System
Main Memory Management in Operating SystemRashmi Bhat
 
System Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingSystem Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingBootNeck1
 
Energy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxEnergy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxsiddharthjain2303
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...Chandu841456
 

Recently uploaded (20)

The SRE Report 2024 - Great Findings for the teams
The SRE Report 2024 - Great Findings for the teamsThe SRE Report 2024 - Great Findings for the teams
The SRE Report 2024 - Great Findings for the teams
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
Steel Structures - Building technology.pptx
Steel Structures - Building technology.pptxSteel Structures - Building technology.pptx
Steel Structures - Building technology.pptx
 
home automation using Arduino by Aditya Prasad
home automation using Arduino by Aditya Prasadhome automation using Arduino by Aditya Prasad
home automation using Arduino by Aditya Prasad
 
Mine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxMine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptx
 
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
 
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
 
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgUnit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
 
Solving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.pptSolving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.ppt
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdf
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
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
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
Earthing details of Electrical Substation
Earthing details of Electrical SubstationEarthing details of Electrical Substation
Earthing details of Electrical Substation
 
Correctly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleCorrectly Loading Incremental Data at Scale
Correctly Loading Incremental Data at Scale
 
Main Memory Management in Operating System
Main Memory Management in Operating SystemMain Memory Management in Operating System
Main Memory Management in Operating System
 
System Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingSystem Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event Scheduling
 
Energy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxEnergy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptx
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 

Fyp

  • 1. Face Recognition via Quad Copter Using Raspberry Pi Furqan Arshad 101519065 Hassam Umer 101519087 Zain ul Abidin 101519*** Advisor: Muhammad Ilyas Khan
  • 2. Face recognition via quad copter using Raspberry pi Face Detector Detected face RGB to greyscale Face Recognition System Face Database Found! Capturing Image Detected Face
  • 4. Skills Required • Knowledge of Image Processing • Knowledge of computer vision • Raspberry pi • Operating system “Raspicam” (Linux) • Opencv C++ • Principle ComponentAnalysis • Quadcopter skills
  • 5. SK450 Quadcopter specs Specs: Frame: SK450 Wheelbase or Motor to Motor Diagonal: 450mm Weight: 680g without battery Motors: Multistar 2213 935kv ESC: Multistar 20A Propellers: 0845~1045 2xCW 2xCCW Flight Controller: KK2.0 Radio: Turnigy 5ch FHSS 2.4GHz Battery: 170g 2200mA
  • 8. Wifi link for transmitting video
  • 9. Methodology • Learning image processing techniques for enhancement of images. • Learning and implementing of face detection using Viola Jones Algorithm. • Making of photo editor software using opencv having features as brightness, contrast, sharpness, histogram equalization and saturation of image. • Face Recognition using PCA algorithm using yale database for testing.
  • 11. Literature Review Face Recognition using PCA • What is PCA ? • Why and where it is used ? • What is a principle component/eigenface ? • Benefits of dimensionality reduction? • How results of PCA are measured ?
  • 12. Why andWhere is PCA used ? • Multivariate dataset (set of images) visualized as a set of coordinates in a high dimensional date space • PCA can supply the user with a lower dimensional picture, a “shadow” of this object.
  • 13. What is PCA and its relation to Face Recognition? • Principal component analysis (PCA) is a mathematical procedure that uses an orthogonal transformation to convert a set of possibly correlated M variables (a set of images) into a set of values of K uncorrelated variables called principle components (Eigen Faces). • The number of principle components is always less that or equal to the number of original variables. i.e K<M
  • 14. • This transformation is defined is such a way that the first principle component shows the most dominant “features” of the dataset and each succeeding component in turn shows the next most dominant “features”, under the constraints that it be uncorrelated the preceding components. • To reduce the calculations needed for the finding these principle components, the dimensionality of the original data set is reduced before they are calculated PCA and tis relation to Face Recognition
  • 15. • Since Principle Component show the “direction” of data, and each proceeding component shows less “directions” and more “noise”, Only few first principal components (say K ) are selected whereas the rest of last components are discarded. • The K principal components can safely represent the whole original dataset because the depict the major features that makes up the dataset.
  • 16. PCA and Face Recongition
  • 17. • Each variable in the original dataset can be represented in terms of these principal components. • Representing a data point reduces the number of values needed to recognize it by using PCA. • This makes reorganization process faster and also more free of error. • Images weight vector and weights assigned
  • 18. How is PCA done ? ∑ w1 w2 w3 w4 w5 w6 wk….. + mean image Ω= w1 w2 . . wk
  • 19. The PCA FACE RECOGNITION ALGORITHM How it works ?
  • 20. ATraining set consisting ofTotal M images N2 x 1 Images converted toVectors FaceVector Space Foreach (image in training set) Training the recognizer Step 1: Convert face Images inTraining Set to FaceVectors N x N
  • 21. ATraining set consisting ofTotal M images Converted FaceVector Space Normalize face vectors: Training the recognizer Step 2: Normalize the FaceVectors Calculate average face vector Then subtract he mean face vector from Each face vector to get the normalized face vectors Normalized face vector A= [φ1, φ2, φ3, φ4,… φm] Φi=Гi - ψΦi ψ T AAC 
  • 22. ATraining set consisting ofTotal M images Converted FaceVector Space N2 x M Mx N2=N2 by N2 (2500 x2500) if N=50 Each 2500 * 1 dimesnion 2500 eigenvectors T AAC 
  • 23. ATraining set consisting ofTotal M images Converted FaceVector Space Each 2500 * 1 dimesnion 2500 eigenvectors T AAC  Warning System may slow down or run out of memory Computations required are huge Training the recognizer The need for dimensionality reduction
  • 24. ATraining set consisting ofTotal M images Converted FaceVector Space Training the recognizer Step 3: Reduce the dimensionality Each 2500 * 1 dimesnion 2500 eigenvectors Solution: Dimensionality reduction TO reduce calculation and effect of noise on the needed eigenvectors calculate them from a covariance matric of reduced dimensionality T AAC  N2 x M Mx N2=N2 x N2
  • 25. ATraining set consisting ofTotal M images Converted FaceVector Space Training the recognizer Step 3: Reduce the dimensionality Each 2500 * 1 dimesnion 2500 eigenvectors T AAC  N2 x M Mx N2=N2 x N2 V/s AAL T  Mx N2 N2 x M=M x M
  • 26. ATraining set consisting ofTotal M images Converted FaceVector Space Each 2500 * 1 dimesnion 2500 eigenvectors T AAC  N2 x M Mx N2=N2 x N2 V/s AAL T  Mx N2 N2 x M=M x M Training the recognizer Step 4: Calculate the eigenvector from covariance matrix L Lower dimensional subspace
  • 27. ATraining set consisting ofTotal M images Converted Training the recognizer Step 5: Select K best eigenfaces such that K < M 2500 eigenvectors ui= A λi =A AAL T Lower dimensional subspace
  • 28. ATraining set consisting ofTotal M images Converted Training the recognizer Step 5: Select K best eigenfaces such that K < M Selected K Eigen Faces
  • 29. How is PCA done ? ∑ w1 w2 w3 w4 w5 w6 wk….. + mean image Ω= w1 w2 . . wk
  • 30. Convert the input image to face vector Convert the input image to face vector Project Normalize face vector onto the Eigenspace Weight vector of input image Calculate distance between input weight vectors and all the weight vectors If Dista>threshld No Recognized as Unknown person Unknown person