SlideShare a Scribd company logo
Automatic Attendance
System By Face
Recognition
Supervised by :-
Rajesh Pal Sir
Submitted By:-
Shitanshu Ranjan Srivastava [17-IEC-041]
Aniruddh Singh [17-ICS-008]
Ashwani kumar kushwaha [17/IEC/012]
Himanshu Kumar Singh [R16-IEC-015]
Table Of Content
01 – OUR TEAM
02 – INTRO TO OUR PROJECT
03 - WORKING MODULE
04 - DEMONSTRATION
OUR TEAM
Shitanshu
Ranjan
Srivastava [17-
IEC-041]
Ashwani Kumar
Kushwaha [17-
IEC-012]
Aniruddh
Singh [17-ICS-
008]
Himanshu
Kumar Singh
[R16-IEC-015]
BASICS WE SHOULD KNOW –
1. What do you mean by facial
recognition ?
2. Which model have we used for face
detectiom ?
3. Why has been OpenCV used ?
4. Which algorithm has been used ?
5. How to increase the accuracy of face
recognition ?
6. What is the role of tkinter in this face recognition ?
• The project is made to automate the student’s attendance
overhead by faculty and save time for lectures as well.
• It will also reduce the proxy of attendance to some extent. Not
sure to reduce to 100% until it’s implemented.
• The project is made in python using open CV (Open Source
Computer Vision Library).
• The software will take images of students in database in jpeg
format and this dataset will be trained and detected to identify
that particular student.
• The images can either be took from a class video or directly
through webcam as per convenience of faculty.
Introduction:-
This Photo by Unknown author is licensed under CC BY-NC-ND.
VS code
• Visual Studio
Code is a free
source-code
editor made
by Microsoft
for Windows
Open CV
• It is an image
and video
processing
library with
bindings in C,
C++, python
and java. It
will be used
for our facial
detection
Pandas
• Pandas is the
most popular
python library
that is used
for data
analysis. It
provides
highly
optimized
performance
with back-
end.
NumPy
• NumPy is a
python library
used for
working with
arrays. It also
has functions
for working
in domain of
linear algebra,
Fourier
transform,
and matrices
OpenpyXL
• Openpyxl is
a Python
library for
reading and
writing
Excel files.
The openpyxl
module
allows Python
program to
read and
modify Excel
files.
Tkinter
• : Tkinter is
the standard
GUI library
for Python.
Python when
combined
with Tkinter
provides a
fast and easy
way to create
GUI
applications.
Tkinter
provides a
powerful
object-
oriented
interface to
the Tk GUI
toolkit.
TOOLS and LIBRARIES USED:-
The Algorithim has four stages
Haar Feature
Selection
Creating
Integral Images
Adaboost
Training
Casading
Classifirers
Detection :- Detection is done by the help of
OpenCV and Haas cascades
This Photo by Unknown author is licensed under CC BY-SA.
Detection :
Detection is done by using HAAR CASCADE Algorithm.
The detection of face is done by clicking on attendance button on portal interface.
ON clicking the attendance button Web-cam or any integrated Camera gets open to
capture the images.
All the sample data of only face is taken and stored in the folder training images in the
root folder of project.
The haar -Cascade feature allows to only capture facial images and that is converted
into Grey scale by using fuction of opencv2 library imported in our project.
Gray= cv2.cvtColor(img, cv2.Color_BGR2GRAY)
To train faces We will be using haarcascade_frontalface_default.xml file
Haar Cascade
Working:
Recognition
OpenCV has three built in face recognizers and thanks to OpenCV's clean coding, you can
use any of them by just changing a single line of code. Below are the names of those face
recognizers and their OpenCV calls.
1. Eigen Faces Face Recognizer - cv2.face.createEigenFaceRecognizer()
2. Fisher Faces Face Recognizer -cv2.face.createFisherFaceRecognizer()
3. Local Binary Patterns Histograms (LBPH) Face Recognizer -
cv2.face.createLBPHFaceRecognition
Local Binary Pattern (LBP) is a simple yet very efficient texture operator which labels the
pixels of an image by thresholding the neighborhood of each pixel and considers the
result as a binary number.
In our project we will use Recognition by LBPH recognizer
Local binary patterns histograms (LBPH) Face Recognizer
Process
• We know that Eigenfaces and Fisher faces are both affected by
light and, in real life, we can't guarantee perfect light
conditions. LBPH face recognizer is an improvement to
overcome this drawback.
• Take a 3×3 window and move it across one image. At each
move (each local part of the picture), compare the pixel at the
center, with its surrounding pixels. Denote the neighbors with
intensity value less than or equal to the center pixel by 1 and
the rest by 0.
• After you read these 0/1 values under the 3×3 window in a
clockwise order, you will have a binary pattern like 11100011
that is local to a particular area of the picture. When you finish
doing this on the whole image, you will have a list of local
binary patterns.
• Now, after you get a list of local binary patterns, you convert
each one into a decimal number using binary to decimal
conversion (as shown in above image) and then you make a
histogram of all of those decimal values. A sample histogram
looks like this:
•ON clicking on attendance button the Camera window pops up.
•The window opens on the same screen and recognizes the face for marking attendance
•On pressing button ‘q’, the attendance gets marked.
Manage record in Excel files by GUI
• By the help of GUI CRUD operations can be performed in excel
files
Tkinter and openpyxl.
• With help of Tkinter we can make GUI which purpose is to insert
record in excel sheet.
• With the help of OpenPyxl we will access it.
• We will use pandas to convert xlsx to
• csv(Comma Separated Values) file for
• convenience to code and for machine to understand.
Train Image
• •We will use pandas to convert xlsx to csv(Comma Separated Values) file
for convenience to code and for machine to understand.
• •The student details are being entered automatically in excel sheet one
who registers them from GUI directly.
DEMONSTRATON
THANK YOU...

More Related Content

What's hot

Face Recognition
Face Recognition Face Recognition
Face Recognition
nialler27
 
Facial recognition technology by vaibhav
Facial recognition technology by vaibhavFacial recognition technology by vaibhav
Facial recognition technology by vaibhav
Vaibhav P
 
Face recognization 1
Face recognization 1Face recognization 1
Face recognization 1
leenak770
 

What's hot (20)

Automated Face Detection System
Automated Face Detection SystemAutomated Face Detection System
Automated Face Detection System
 
Face Detection
Face DetectionFace Detection
Face Detection
 
Face recognition technology
Face recognition technologyFace recognition technology
Face recognition technology
 
Face recognition
Face recognitionFace recognition
Face recognition
 
Predicting Emotions through Facial Expressions
Predicting Emotions through Facial Expressions  Predicting Emotions through Facial Expressions
Predicting Emotions through Facial Expressions
 
Face recognization
Face recognizationFace recognization
Face recognization
 
Face detection and recognition
Face detection and recognitionFace detection and recognition
Face detection and recognition
 
Face Recognition
Face Recognition Face Recognition
Face Recognition
 
Face Detection and Recognition System
Face Detection and Recognition SystemFace Detection and Recognition System
Face Detection and Recognition System
 
IRJET- Automated Attendance System using Face Recognition
IRJET-  	  Automated Attendance System using Face RecognitionIRJET-  	  Automated Attendance System using Face Recognition
IRJET- Automated Attendance System using Face Recognition
 
Face recognition
Face recognitionFace recognition
Face recognition
 
Face detection ppt
Face detection pptFace detection ppt
Face detection ppt
 
Face Recognition Based Attendance System using Machine Learning
Face Recognition Based Attendance System using Machine LearningFace Recognition Based Attendance System using Machine Learning
Face Recognition Based Attendance System using Machine Learning
 
Attendance Management System using Face Recognition
Attendance Management System using Face RecognitionAttendance Management System using Face Recognition
Attendance Management System using Face Recognition
 
Attendence management system using face detection
Attendence management system using face detectionAttendence management system using face detection
Attendence management system using face detection
 
Facial recognition technology by vaibhav
Facial recognition technology by vaibhavFacial recognition technology by vaibhav
Facial recognition technology by vaibhav
 
Human Emotion Recognition
Human Emotion RecognitionHuman Emotion Recognition
Human Emotion Recognition
 
Face recognization 1
Face recognization 1Face recognization 1
Face recognization 1
 
face detection
face detectionface detection
face detection
 
Face recognition technology
Face recognition technologyFace recognition technology
Face recognition technology
 

Similar to Face recognition system

16 OpenCV Functions to Start your Computer Vision journey.docx
16 OpenCV Functions to Start your Computer Vision journey.docx16 OpenCV Functions to Start your Computer Vision journey.docx
16 OpenCV Functions to Start your Computer Vision journey.docx
ssuser90e017
 
Visage- Smart facial based attendance system
Visage- Smart facial based attendance systemVisage- Smart facial based attendance system
Visage- Smart facial based attendance system
sankannanavarg
 

Similar to Face recognition system (20)

Mirko Lucchese - Deep Image Processing
Mirko Lucchese - Deep Image ProcessingMirko Lucchese - Deep Image Processing
Mirko Lucchese - Deep Image Processing
 
16 OpenCV Functions to Start your Computer Vision journey.docx
16 OpenCV Functions to Start your Computer Vision journey.docx16 OpenCV Functions to Start your Computer Vision journey.docx
16 OpenCV Functions to Start your Computer Vision journey.docx
 
Python image processing_Python image processing.pptx
Python image processing_Python image processing.pptxPython image processing_Python image processing.pptx
Python image processing_Python image processing.pptx
 
Road signs detection using voila jone's algorithm with the help of opencv
Road signs detection using voila jone's algorithm with the help of opencvRoad signs detection using voila jone's algorithm with the help of opencv
Road signs detection using voila jone's algorithm with the help of opencv
 
Presentation1.2.pptx
Presentation1.2.pptxPresentation1.2.pptx
Presentation1.2.pptx
 
Automatic License Plate Recognition using OpenCV
Automatic License Plate Recognition using OpenCVAutomatic License Plate Recognition using OpenCV
Automatic License Plate Recognition using OpenCV
 
Automatic License Plate Recognition using OpenCV
Automatic License Plate Recognition using OpenCV Automatic License Plate Recognition using OpenCV
Automatic License Plate Recognition using OpenCV
 
DOC-20221122-WA0008.pptx
DOC-20221122-WA0008.pptxDOC-20221122-WA0008.pptx
DOC-20221122-WA0008.pptx
 
Autonomous Machines with Project Bonsai
Autonomous Machines with Project BonsaiAutonomous Machines with Project Bonsai
Autonomous Machines with Project Bonsai
 
Python Open CV
Python Open CVPython Open CV
Python Open CV
 
Human computer interaction_ 23CSM1R19.pptx
Human computer interaction_ 23CSM1R19.pptxHuman computer interaction_ 23CSM1R19.pptx
Human computer interaction_ 23CSM1R19.pptx
 
OWF14 - Big Data : The State of Machine Learning in 2014
OWF14 - Big Data : The State of Machine  Learning in 2014OWF14 - Big Data : The State of Machine  Learning in 2014
OWF14 - Big Data : The State of Machine Learning in 2014
 
FACE COUNTING USING OPEN CV & PYTHON FOR ANALYZING UNUSUAL EVENTS IN CROWDS
FACE COUNTING USING OPEN CV & PYTHON FOR ANALYZING UNUSUAL EVENTS IN CROWDSFACE COUNTING USING OPEN CV & PYTHON FOR ANALYZING UNUSUAL EVENTS IN CROWDS
FACE COUNTING USING OPEN CV & PYTHON FOR ANALYZING UNUSUAL EVENTS IN CROWDS
 
Visage- Smart facial based attendance system
Visage- Smart facial based attendance systemVisage- Smart facial based attendance system
Visage- Smart facial based attendance system
 
Opencv
OpencvOpencv
Opencv
 
Face-Detection-app-using-cpp-presentation.ppt
Face-Detection-app-using-cpp-presentation.pptFace-Detection-app-using-cpp-presentation.ppt
Face-Detection-app-using-cpp-presentation.ppt
 
Emotion recognition using image processing in deep learning
Emotion recognition using image     processing in deep learningEmotion recognition using image     processing in deep learning
Emotion recognition using image processing in deep learning
 
OpenCV @ Droidcon 2012
OpenCV @ Droidcon 2012OpenCV @ Droidcon 2012
OpenCV @ Droidcon 2012
 
Can We Make Maps from Videos? ~From AI Algorithm to Engineering for Continuou...
Can We Make Maps from Videos? ~From AI Algorithm to Engineering for Continuou...Can We Make Maps from Videos? ~From AI Algorithm to Engineering for Continuou...
Can We Make Maps from Videos? ~From AI Algorithm to Engineering for Continuou...
 
Final PPT.ppt about human detection and counting
Final PPT.ppt  about human detection and countingFinal PPT.ppt  about human detection and counting
Final PPT.ppt about human detection and counting
 

Recently uploaded

RS Khurmi Machine Design Clutch and Brake Exercise Numerical Solutions
RS Khurmi Machine Design Clutch and Brake Exercise Numerical SolutionsRS Khurmi Machine Design Clutch and Brake Exercise Numerical Solutions
RS Khurmi Machine Design Clutch and Brake Exercise Numerical Solutions
Atif Razi
 

Recently uploaded (20)

Natalia Rutkowska - BIM School Course in Kraków
Natalia Rutkowska - BIM School Course in KrakówNatalia Rutkowska - BIM School Course in Kraków
Natalia Rutkowska - BIM School Course in Kraków
 
A case study of cinema management system project report..pdf
A case study of cinema management system project report..pdfA case study of cinema management system project report..pdf
A case study of cinema management system project report..pdf
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
 
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
 
Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Arya
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
 
fundamentals of drawing and isometric and orthographic projection
fundamentals of drawing and isometric and orthographic projectionfundamentals of drawing and isometric and orthographic projection
fundamentals of drawing and isometric and orthographic projection
 
RS Khurmi Machine Design Clutch and Brake Exercise Numerical Solutions
RS Khurmi Machine Design Clutch and Brake Exercise Numerical SolutionsRS Khurmi Machine Design Clutch and Brake Exercise Numerical Solutions
RS Khurmi Machine Design Clutch and Brake Exercise Numerical Solutions
 
Explosives Industry manufacturing process.pdf
Explosives Industry manufacturing process.pdfExplosives Industry manufacturing process.pdf
Explosives Industry manufacturing process.pdf
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdfA CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
 
NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...
NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...
NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
Danfoss NeoCharge Technology -A Revolution in 2024.pdf
Danfoss NeoCharge Technology -A Revolution in 2024.pdfDanfoss NeoCharge Technology -A Revolution in 2024.pdf
Danfoss NeoCharge Technology -A Revolution in 2024.pdf
 
Top 13 Famous Civil Engineering Scientist
Top 13 Famous Civil Engineering ScientistTop 13 Famous Civil Engineering Scientist
Top 13 Famous Civil Engineering Scientist
 
Introduction to Machine Learning Unit-4 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-4 Notes for II-II Mechanical EngineeringIntroduction to Machine Learning Unit-4 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-4 Notes for II-II Mechanical Engineering
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 

Face recognition system

  • 1. Automatic Attendance System By Face Recognition Supervised by :- Rajesh Pal Sir Submitted By:- Shitanshu Ranjan Srivastava [17-IEC-041] Aniruddh Singh [17-ICS-008] Ashwani kumar kushwaha [17/IEC/012] Himanshu Kumar Singh [R16-IEC-015]
  • 2. Table Of Content 01 – OUR TEAM 02 – INTRO TO OUR PROJECT 03 - WORKING MODULE 04 - DEMONSTRATION
  • 3. OUR TEAM Shitanshu Ranjan Srivastava [17- IEC-041] Ashwani Kumar Kushwaha [17- IEC-012] Aniruddh Singh [17-ICS- 008] Himanshu Kumar Singh [R16-IEC-015]
  • 4. BASICS WE SHOULD KNOW – 1. What do you mean by facial recognition ? 2. Which model have we used for face detectiom ? 3. Why has been OpenCV used ? 4. Which algorithm has been used ? 5. How to increase the accuracy of face recognition ? 6. What is the role of tkinter in this face recognition ?
  • 5. • The project is made to automate the student’s attendance overhead by faculty and save time for lectures as well. • It will also reduce the proxy of attendance to some extent. Not sure to reduce to 100% until it’s implemented. • The project is made in python using open CV (Open Source Computer Vision Library). • The software will take images of students in database in jpeg format and this dataset will be trained and detected to identify that particular student. • The images can either be took from a class video or directly through webcam as per convenience of faculty. Introduction:-
  • 6. This Photo by Unknown author is licensed under CC BY-NC-ND. VS code • Visual Studio Code is a free source-code editor made by Microsoft for Windows Open CV • It is an image and video processing library with bindings in C, C++, python and java. It will be used for our facial detection Pandas • Pandas is the most popular python library that is used for data analysis. It provides highly optimized performance with back- end. NumPy • NumPy is a python library used for working with arrays. It also has functions for working in domain of linear algebra, Fourier transform, and matrices OpenpyXL • Openpyxl is a Python library for reading and writing Excel files. The openpyxl module allows Python program to read and modify Excel files. Tkinter • : Tkinter is the standard GUI library for Python. Python when combined with Tkinter provides a fast and easy way to create GUI applications. Tkinter provides a powerful object- oriented interface to the Tk GUI toolkit. TOOLS and LIBRARIES USED:-
  • 7. The Algorithim has four stages Haar Feature Selection Creating Integral Images Adaboost Training Casading Classifirers Detection :- Detection is done by the help of OpenCV and Haas cascades This Photo by Unknown author is licensed under CC BY-SA.
  • 8. Detection : Detection is done by using HAAR CASCADE Algorithm. The detection of face is done by clicking on attendance button on portal interface. ON clicking the attendance button Web-cam or any integrated Camera gets open to capture the images. All the sample data of only face is taken and stored in the folder training images in the root folder of project. The haar -Cascade feature allows to only capture facial images and that is converted into Grey scale by using fuction of opencv2 library imported in our project. Gray= cv2.cvtColor(img, cv2.Color_BGR2GRAY) To train faces We will be using haarcascade_frontalface_default.xml file
  • 10. Recognition OpenCV has three built in face recognizers and thanks to OpenCV's clean coding, you can use any of them by just changing a single line of code. Below are the names of those face recognizers and their OpenCV calls. 1. Eigen Faces Face Recognizer - cv2.face.createEigenFaceRecognizer() 2. Fisher Faces Face Recognizer -cv2.face.createFisherFaceRecognizer() 3. Local Binary Patterns Histograms (LBPH) Face Recognizer - cv2.face.createLBPHFaceRecognition Local Binary Pattern (LBP) is a simple yet very efficient texture operator which labels the pixels of an image by thresholding the neighborhood of each pixel and considers the result as a binary number. In our project we will use Recognition by LBPH recognizer
  • 11.
  • 12.
  • 13. Local binary patterns histograms (LBPH) Face Recognizer Process • We know that Eigenfaces and Fisher faces are both affected by light and, in real life, we can't guarantee perfect light conditions. LBPH face recognizer is an improvement to overcome this drawback. • Take a 3×3 window and move it across one image. At each move (each local part of the picture), compare the pixel at the center, with its surrounding pixels. Denote the neighbors with intensity value less than or equal to the center pixel by 1 and the rest by 0. • After you read these 0/1 values under the 3×3 window in a clockwise order, you will have a binary pattern like 11100011 that is local to a particular area of the picture. When you finish doing this on the whole image, you will have a list of local binary patterns. • Now, after you get a list of local binary patterns, you convert each one into a decimal number using binary to decimal conversion (as shown in above image) and then you make a histogram of all of those decimal values. A sample histogram looks like this:
  • 14.
  • 15.
  • 16.
  • 17.
  • 18. •ON clicking on attendance button the Camera window pops up. •The window opens on the same screen and recognizes the face for marking attendance •On pressing button ‘q’, the attendance gets marked.
  • 19.
  • 20. Manage record in Excel files by GUI • By the help of GUI CRUD operations can be performed in excel files Tkinter and openpyxl. • With help of Tkinter we can make GUI which purpose is to insert record in excel sheet. • With the help of OpenPyxl we will access it. • We will use pandas to convert xlsx to • csv(Comma Separated Values) file for • convenience to code and for machine to understand.
  • 22. • •We will use pandas to convert xlsx to csv(Comma Separated Values) file for convenience to code and for machine to understand. • •The student details are being entered automatically in excel sheet one who registers them from GUI directly.
  • 24.