SlideShare ist ein Scribd-Unternehmen logo
1 von 25
A presentation on:
Face recognition with raspberry pi
Maulana Azad National Institute of Technology
BHAVESH AGRAWAL
222116607
KESHAV PURVIYA
222116612
RAHUL DAS ALCOHOLIC
222116610
Guided by:
Dr. VIJAY BHASKAR
Central Idea
A system for face detection and recognition based on raspberry pi with
open cv programming to control the gate.
Outlines
❑ Introduction
❑ Block diagram
❑ Algorithm
▪ Face detection
▪ Database
▪ Face recognition
❑ Software
❑ Hardware
❑ The system
❑ conclusion
Introduction
► A facial recognition system is a computer application for
automatically identifying or a verifying a person from a digital
image.
► Face detection locate face in whole frame.
► Input image is matched with database images. Authentication is
given accordingly.
► Face recognition system is mainly used for security purpose.
► We are using raspberry pi for putting our plan into effect!
Contd…
Recognition is
addition of two parts:
1) Face Detection
2) Face recognition
Block diagram
camera
[Face detection]
(Haar cascade)
Person on
gate
i/
p
gate Match??
database
[Open cv + python code]
SD card memory
[Face recognition]
(Eigen faces)
yes/no
RASPBERRY PI
motor
o/p
Yes
or
no
feedback
[Door opens/close]
Face
Detection
Input from
camera
Feature
extraction
Feature vector
Face
detected?
Haar cascade
algorithm
Detected face
highlighted
NO
YES
Face database
OUTPUT
Database
► ORL Database
10 different images of each of 40 distinct subjects
Database
► Own Database
4 different images of each of 4 distinct subjects
Database
create training
set and load it
Convert face
images to face
vector
Calculate mean
average face
vector
Subtract average
face vector from
each face vectors to
have normalize face
vectors
Reduce
dimensionality
of training set
Calculate Eigen
vectors
Represent each
image as linear
combination of all
‘K’ Eigen vector
Select ‘K’ best
Eigen faces
PCA ALGORITHM
Eigen faces
Face recognition(even sem)
Input image
Convert it
into face
vector
Normalize
face vector
convert into
Eigen space
Get
weighted
vector
PCA ALGORITHM
Calculate “Distance” b/w
input weight vector and
all weight vectors of set
Decide a
threshold level
Decide
Distance >
threshold?
Display its
name and
“matched”
Display
Unknown
yes
no
PCA [recognition]
►
►
Performance parameter
Threshol
d
software
Raspberry Pi B3
GERENIC DIAGRAM HARDWARE PHOTO
CPU/GPU USB HUB
I/O
ETHERNET
RAM
On 1st boot of PI
The system
❑ Connections:
• Interface PI camera with
raspberry pi.
• Load database, programme and
raspbian OS in SD card and
inserted in to raspberry pi.
• Interface servo motor raspberry
pi through GPIO pins.
• Give power supply using battery
pack or mobile charger.
The
outputs
conclusion
► By face recognition system we can fulfil the purpose of
security. Detection of face is done by image processing.
Here we use Open Cv with programming language C++.
► Initially camera will capture the image and face detection
algorithm will detect the face in image. Then recognition
algorithm is applied on this detected part. In this project we
have developed a PCA based face recognition system.
Reference
1. https://en.wikipedia.org/wiki/Biometrics
2. https://www.cse.unr.edu/~bebis/CS790Q/Lect/Chapters_3_4.ppt
3. http://eyalarubas.com/face-detection-and-recognition.html
4. https://www.raspberrypi.org
5. https://www.raspberrypi.org/products/raspberry-pi-3-model-b/
6. https://webdocs.cs.ualberta.ca/~nray1/CMPUT466_551/ViolaJones.ppt
7. M. Turk and A. Pentland “Eigen faces for Recognition”, Journal of Cognitive Neuroscience, vol.3, no.1, pp.71-86,
1991, hard copy
8. https://en.wikipedia.org/wiki/OpenCV
9. https://www.python.org/
10. www.numpy.org/
11. https://onionesquereality.wordpress.com/2009/02/11/face-recognition-using-eigenfaces
12. https://learn.adafruit.com/raspberry-pi-face-recognition-treasure-box/overview
13. https://www.youtube.com/channel/UCsRvxZErBo0ByyWUX_aVuvg (codacus)
14. http://www.imore.com/how-get-started-using-raspberry-pi
15. http://docs.opencv.org/doc/tutorials/introduction/windows_install/windows_install.html
16. https://www.youtube.com/watch?v=9hb0gYCv3YI
17. www.face-rec.org/databases/

Weitere ähnliche Inhalte

Ähnlich wie facedetectionandrecosignationwithpi-200430225418.pptx

Ijsrdv1 i4049
Ijsrdv1 i4049Ijsrdv1 i4049
Ijsrdv1 i4049
ijsrd.com
 
Law cost portable machine vision system
Law cost portable machine vision systemLaw cost portable machine vision system
Law cost portable machine vision system
Sagarika Muthukumarana
 
License Plate Recognition System
License Plate Recognition System License Plate Recognition System
License Plate Recognition System
Hira Rizvi
 

Ähnlich wie facedetectionandrecosignationwithpi-200430225418.pptx (20)

Smart Face Recognition System Analysis
Smart Face Recognition System AnalysisSmart Face Recognition System Analysis
Smart Face Recognition System Analysis
 
Ijsrdv1 i4049
Ijsrdv1 i4049Ijsrdv1 i4049
Ijsrdv1 i4049
 
Law cost portable machine vision system
Law cost portable machine vision systemLaw cost portable machine vision system
Law cost portable machine vision system
 
cvpresentation-190812154654 (1).pptx
cvpresentation-190812154654 (1).pptxcvpresentation-190812154654 (1).pptx
cvpresentation-190812154654 (1).pptx
 
ppt 20BET1024.pptx
ppt 20BET1024.pptxppt 20BET1024.pptx
ppt 20BET1024.pptx
 
Classroom Attendance using Face Detection and Raspberry-Pi
Classroom Attendance using Face Detection and Raspberry-PiClassroom Attendance using Face Detection and Raspberry-Pi
Classroom Attendance using Face Detection and Raspberry-Pi
 
Enhanced Human Computer Interaction using hand gesture analysis on GPU
Enhanced Human Computer Interaction using hand gesture analysis on GPUEnhanced Human Computer Interaction using hand gesture analysis on GPU
Enhanced Human Computer Interaction using hand gesture analysis on GPU
 
Driver drowsiness monitoring system using visual behaviour and machine learning
Driver drowsiness monitoring system using visual behaviour and machine learningDriver drowsiness monitoring system using visual behaviour and machine learning
Driver drowsiness monitoring system using visual behaviour and machine learning
 
Computer Vision - Real Time Face Recognition using Open CV and Python
Computer Vision - Real Time Face Recognition using Open CV and PythonComputer Vision - Real Time Face Recognition using Open CV and Python
Computer Vision - Real Time Face Recognition using Open CV and Python
 
Number plate recogition
Number plate recogitionNumber plate recogition
Number plate recogition
 
IoT-based Autonomously Driven Vehicle by using Machine Learning & Image Proce...
IoT-based Autonomously Driven Vehicle by using Machine Learning & Image Proce...IoT-based Autonomously Driven Vehicle by using Machine Learning & Image Proce...
IoT-based Autonomously Driven Vehicle by using Machine Learning & Image Proce...
 
ANPR based Security System Using ALR
ANPR based Security System Using ALRANPR based Security System Using ALR
ANPR based Security System Using ALR
 
Face detection and recognition report with pi in single poster
Face detection and recognition report with pi in single posterFace detection and recognition report with pi in single poster
Face detection and recognition report with pi in single poster
 
ppt 20BET1024.pptx
ppt 20BET1024.pptxppt 20BET1024.pptx
ppt 20BET1024.pptx
 
OpenCV Introduction
OpenCV IntroductionOpenCV Introduction
OpenCV Introduction
 
License Plate Recognition System
License Plate Recognition System License Plate Recognition System
License Plate Recognition System
 
Data Summer Conf 2018, “How we build Computer vision as a service (ENG)” — Ro...
Data Summer Conf 2018, “How we build Computer vision as a service (ENG)” — Ro...Data Summer Conf 2018, “How we build Computer vision as a service (ENG)” — Ro...
Data Summer Conf 2018, “How we build Computer vision as a service (ENG)” — Ro...
 
Face Recognition Home Security System
Face Recognition Home Security SystemFace Recognition Home Security System
Face Recognition Home Security System
 
Automated Face Detection System
Automated Face Detection SystemAutomated Face Detection System
Automated Face Detection System
 
Report face recognition : ArganRecogn
Report face recognition :  ArganRecognReport face recognition :  ArganRecogn
Report face recognition : ArganRecogn
 

Mehr von bhaveshagrawal35

Mehr von bhaveshagrawal35 (19)

quadcopterintroshare160125-181211064657.pptx
quadcopterintroshare160125-181211064657.pptxquadcopterintroshare160125-181211064657.pptx
quadcopterintroshare160125-181211064657.pptx
 
Media_604616_smxx.pptx
Media_604616_smxx.pptxMedia_604616_smxx.pptx
Media_604616_smxx.pptx
 
projectppt-141127001908-conversion-gate02.pptx
projectppt-141127001908-conversion-gate02.pptxprojectppt-141127001908-conversion-gate02.pptx
projectppt-141127001908-conversion-gate02.pptx
 
MergeResult_2023_04_02_05_26_56.pptx
MergeResult_2023_04_02_05_26_56.pptxMergeResult_2023_04_02_05_26_56.pptx
MergeResult_2023_04_02_05_26_56.pptx
 
ece480_dt5_final_presentation.ppt
ece480_dt5_final_presentation.pptece480_dt5_final_presentation.ppt
ece480_dt5_final_presentation.ppt
 
bionics_4.ppt
bionics_4.pptbionics_4.ppt
bionics_4.ppt
 
lecture2-mcu_and_io.pptx
lecture2-mcu_and_io.pptxlecture2-mcu_and_io.pptx
lecture2-mcu_and_io.pptx
 
05-Pi-Camera.pdf
05-Pi-Camera.pdf05-Pi-Camera.pdf
05-Pi-Camera.pdf
 
BHAVESH AGRAWAL.pptx
BHAVESH AGRAWAL.pptxBHAVESH AGRAWAL.pptx
BHAVESH AGRAWAL.pptx
 
222116610_2 Assiment.pptx
222116610_2 Assiment.pptx222116610_2 Assiment.pptx
222116610_2 Assiment.pptx
 
micro manit.pptx
micro manit.pptxmicro manit.pptx
micro manit.pptx
 
05-Pi-Camera.pptx
05-Pi-Camera.pptx05-Pi-Camera.pptx
05-Pi-Camera.pptx
 
Unit 3.pptx
Unit 3.pptxUnit 3.pptx
Unit 3.pptx
 
Actuators.pptx
Actuators.pptxActuators.pptx
Actuators.pptx
 
Lecture-1-Smart-Sensor.ppt
Lecture-1-Smart-Sensor.pptLecture-1-Smart-Sensor.ppt
Lecture-1-Smart-Sensor.ppt
 
mdml.pptx
mdml.pptxmdml.pptx
mdml.pptx
 
mdml.pptx
mdml.pptxmdml.pptx
mdml.pptx
 
rs.pptx
rs.pptxrs.pptx
rs.pptx
 
pptr.pptx
pptr.pptxpptr.pptx
pptr.pptx
 

Kürzlich hochgeladen

Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Christo Ananth
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
rknatarajan
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Dr.Costas Sachpazis
 

Kürzlich hochgeladen (20)

PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSUNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and Properties
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 

facedetectionandrecosignationwithpi-200430225418.pptx

  • 1. A presentation on: Face recognition with raspberry pi Maulana Azad National Institute of Technology
  • 2. BHAVESH AGRAWAL 222116607 KESHAV PURVIYA 222116612 RAHUL DAS ALCOHOLIC 222116610 Guided by: Dr. VIJAY BHASKAR
  • 3. Central Idea A system for face detection and recognition based on raspberry pi with open cv programming to control the gate.
  • 4. Outlines ❑ Introduction ❑ Block diagram ❑ Algorithm ▪ Face detection ▪ Database ▪ Face recognition ❑ Software ❑ Hardware ❑ The system ❑ conclusion
  • 5. Introduction ► A facial recognition system is a computer application for automatically identifying or a verifying a person from a digital image. ► Face detection locate face in whole frame. ► Input image is matched with database images. Authentication is given accordingly. ► Face recognition system is mainly used for security purpose. ► We are using raspberry pi for putting our plan into effect!
  • 6. Contd… Recognition is addition of two parts: 1) Face Detection 2) Face recognition
  • 7. Block diagram camera [Face detection] (Haar cascade) Person on gate i/ p gate Match?? database [Open cv + python code] SD card memory [Face recognition] (Eigen faces) yes/no RASPBERRY PI motor o/p Yes or no feedback [Door opens/close]
  • 8. Face Detection Input from camera Feature extraction Feature vector Face detected? Haar cascade algorithm Detected face highlighted NO YES Face database
  • 10. Database ► ORL Database 10 different images of each of 40 distinct subjects
  • 11. Database ► Own Database 4 different images of each of 4 distinct subjects
  • 12. Database create training set and load it Convert face images to face vector Calculate mean average face vector Subtract average face vector from each face vectors to have normalize face vectors Reduce dimensionality of training set Calculate Eigen vectors Represent each image as linear combination of all ‘K’ Eigen vector Select ‘K’ best Eigen faces PCA ALGORITHM
  • 14. Face recognition(even sem) Input image Convert it into face vector Normalize face vector convert into Eigen space Get weighted vector PCA ALGORITHM Calculate “Distance” b/w input weight vector and all weight vectors of set Decide a threshold level Decide Distance > threshold? Display its name and “matched” Display Unknown yes no
  • 16.
  • 20. Raspberry Pi B3 GERENIC DIAGRAM HARDWARE PHOTO CPU/GPU USB HUB I/O ETHERNET RAM
  • 21. On 1st boot of PI
  • 22. The system ❑ Connections: • Interface PI camera with raspberry pi. • Load database, programme and raspbian OS in SD card and inserted in to raspberry pi. • Interface servo motor raspberry pi through GPIO pins. • Give power supply using battery pack or mobile charger.
  • 24. conclusion ► By face recognition system we can fulfil the purpose of security. Detection of face is done by image processing. Here we use Open Cv with programming language C++. ► Initially camera will capture the image and face detection algorithm will detect the face in image. Then recognition algorithm is applied on this detected part. In this project we have developed a PCA based face recognition system.
  • 25. Reference 1. https://en.wikipedia.org/wiki/Biometrics 2. https://www.cse.unr.edu/~bebis/CS790Q/Lect/Chapters_3_4.ppt 3. http://eyalarubas.com/face-detection-and-recognition.html 4. https://www.raspberrypi.org 5. https://www.raspberrypi.org/products/raspberry-pi-3-model-b/ 6. https://webdocs.cs.ualberta.ca/~nray1/CMPUT466_551/ViolaJones.ppt 7. M. Turk and A. Pentland “Eigen faces for Recognition”, Journal of Cognitive Neuroscience, vol.3, no.1, pp.71-86, 1991, hard copy 8. https://en.wikipedia.org/wiki/OpenCV 9. https://www.python.org/ 10. www.numpy.org/ 11. https://onionesquereality.wordpress.com/2009/02/11/face-recognition-using-eigenfaces 12. https://learn.adafruit.com/raspberry-pi-face-recognition-treasure-box/overview 13. https://www.youtube.com/channel/UCsRvxZErBo0ByyWUX_aVuvg (codacus) 14. http://www.imore.com/how-get-started-using-raspberry-pi 15. http://docs.opencv.org/doc/tutorials/introduction/windows_install/windows_install.html 16. https://www.youtube.com/watch?v=9hb0gYCv3YI 17. www.face-rec.org/databases/