SlideShare a Scribd company logo
1 of 28
Automatic Class Attendance System
Based On Face Detection And
Recognition
Supervisor: Dr.Naser Abu-Zaid
Submitted
by:
Ala Berawi Sujod Makhlof Samah Hanani
1. Introduction
2. Algorithm ( flow chart )
3. Functional Block Diagram
4. Results
5. Conclusion
6. Future Work
Traditionally attendance is marked manually by teachers and
they must make sure correct attendance is marked for
respective student.
This whole process wastes some of lecture time and part of
correct information is missed due to fraudulent and proxy
cases.
In order to determine classroom attendance, face detection
and face recognition are performed. Face detection is used
to determine the location of the faces in the classroom
image and extract sub images for each face. Then, in face
recognition, the face images detected will be compared
with the data base consisting of images of students in the
class, and attendance will be recorded accordingly.
1-Automated
2- Economically
3-Effective
4- Keep extra
time
The whole system should consist of
Functional Block
Diagram:
Face detection is a computer technology used to identify
human faces in digital images by determining the location
of the faces in the image and extract sub images for each
face.
Viola Jones algorithm will be implemented to recognize
face and non-face patterns and enable us to identify
locations of the faces in the image.
Example for
detect face :
Database is the collection of face images and extracted
features. And the database includes names of students &
registertion number for each student .
We created a data base for 18 persons, were we took 10
images per person using raspberry pi model 2 cam, these
images were taken at different times and with variations in
illumination, facial expressions, and facial details.
Example for
data base
images:
Example:
database about
the information
to students :
1. Create a training set and concatenate columned images
into one matrix.
2. Normalize the images and calculate the covariance matrix.
3. Calculate the eigenvalue and the weights for all images.
4. Input an unknown face image.
5. Normalize and calculate weights for input image.
6. Calculate the distance.
Using a matlab code, eigenfaces method is implemented to recognize the faces. We
entered the data base for several persons from the data base and got these results
Top 9 Eigenfaces from our Images
Reconstructed Image from our Images:
We input a new image for the person in class 1 we got this result:
We use Mahalanobis distances. The algorithm was able to successfully identify
the class that image belonged to, as we can see the input image belonged to
class 1.
Distance to Characterized
Subject for our Images:
We input a new image for the person in class 4 we got this result:
Distance to Characterized
Subject for our Images:
We use Mahalanobis distances. The algorithm was able to successfully identify
the class that image belonged to, as we can see the input image belonged to
class 4.
And then Send email from MATLAB to doctor which contains a list of absent
students and the picture taken in the lecture for the students
Text file for absent students
information:
When we run this code with our database a new file will appear (my_model.pkl)
this model contains the eigen faces for students in data base.
By using a PYTHON code, which used Eigenfaces method to recognize
faces. We entered the data base for 18 person, we got these results
When we applied
the openCV python
code, the code was
able to successfully
recognize the faces,
it detect the faces
and write the
names of
recognized persons
as shown:
Then the code will
creates a text file
for present students
as shown:
In our project we have faced many of problems and we have
overcome them:
1- Download Python and library for it on Raspberry Pi.
2- Version of the raspberry pi .
From our experiment, we noticed the face recognition was sensitive to face
background, light, and head orientations. This technique described the
accurate and efficient method of automatic attendance in the classroom which
could replace the traditional method. An automatic attendance has many
advantages, most of the existing systems are time consuming and require semi
manual interference from lecturers, our system seeks to solve these issues by
using face recognition in the process to save the time and labor. And No need
for installing complex hardware for taking the attendance in classroom, all we
need is a camera and laptop. We used algorithms that can detect and
recognize faces in the image.
Automatic attendance system can be improved by
increasing the number of features which can be extracted
to increase accuracy of face recognition. Once the
software is developed and tested properly, it could be
improved to cover full institutions such as the faculty of
engineering.
presentation-project 2.pptx

More Related Content

Similar to presentation-project 2.pptx

Paper id 24201475
Paper id 24201475Paper id 24201475
Paper id 24201475
IJRAT
 
Face recogntion using PCA algorithm
Face recogntion using PCA algorithmFace recogntion using PCA algorithm
Face recogntion using PCA algorithm
Ashwini Awatare
 
Face recognition
Face recognitionFace recognition
Face recognition
Naman Ahuja
 

Similar to presentation-project 2.pptx (20)

Automated_attendance_system_project.pptx
Automated_attendance_system_project.pptxAutomated_attendance_system_project.pptx
Automated_attendance_system_project.pptx
 
Criminal Detection System
Criminal Detection SystemCriminal Detection System
Criminal Detection System
 
IRJET- Autonamy of Attendence using Face Recognition
IRJET- Autonamy of Attendence using Face RecognitionIRJET- Autonamy of Attendence using Face Recognition
IRJET- Autonamy of Attendence using Face Recognition
 
Face detection based attendance system
Face detection based attendance systemFace detection based attendance system
Face detection based attendance system
 
Paper of Final Year Project.pdf
Paper of Final Year Project.pdfPaper of Final Year Project.pdf
Paper of Final Year Project.pdf
 
Analysis of student sentiment during video class with multi-layer deep learni...
Analysis of student sentiment during video class with multi-layer deep learni...Analysis of student sentiment during video class with multi-layer deep learni...
Analysis of student sentiment during video class with multi-layer deep learni...
 
Final year ppt
Final year pptFinal year ppt
Final year ppt
 
Face and Eye Detection Varying Scenarios With Haar Classifier_2015
Face and Eye Detection Varying Scenarios With Haar Classifier_2015Face and Eye Detection Varying Scenarios With Haar Classifier_2015
Face and Eye Detection Varying Scenarios With Haar Classifier_2015
 
IRJET- Survey on Face Recognition using Biometrics
IRJET-  	  Survey on Face Recognition using BiometricsIRJET-  	  Survey on Face Recognition using Biometrics
IRJET- Survey on Face Recognition using Biometrics
 
Paper id 24201475
Paper id 24201475Paper id 24201475
Paper id 24201475
 
Real Time Image Based Attendance System using Python
Real Time Image Based Attendance System using PythonReal Time Image Based Attendance System using Python
Real Time Image Based Attendance System using Python
 
Face recogntion using PCA algorithm
Face recogntion using PCA algorithmFace recogntion using PCA algorithm
Face recogntion using PCA algorithm
 
17 icos2019(2)
17 icos2019(2)17 icos2019(2)
17 icos2019(2)
 
Project presentation by Debendra Adhikari
Project presentation by Debendra AdhikariProject presentation by Debendra Adhikari
Project presentation by Debendra Adhikari
 
Face recognition
Face recognitionFace recognition
Face recognition
 
IRJET - A Review on Face Recognition using Deep Learning Algorithm
IRJET -  	  A Review on Face Recognition using Deep Learning AlgorithmIRJET -  	  A Review on Face Recognition using Deep Learning Algorithm
IRJET - A Review on Face Recognition using Deep Learning Algorithm
 
Improved Approach for Eigenface Recognition
Improved Approach for Eigenface RecognitionImproved Approach for Eigenface Recognition
Improved Approach for Eigenface Recognition
 
Attendance system using Face recognition
Attendance system using Face recognition Attendance system using Face recognition
Attendance system using Face recognition
 
Comparative Analysis of Face Recognition Methodologies and Techniques
Comparative Analysis of Face Recognition Methodologies and TechniquesComparative Analysis of Face Recognition Methodologies and Techniques
Comparative Analysis of Face Recognition Methodologies and Techniques
 
inam
inaminam
inam
 

Recently uploaded

Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
 
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptx
pritamlangde
 
INTERRUPT CONTROLLER 8259 MICROPROCESSOR
INTERRUPT CONTROLLER 8259 MICROPROCESSORINTERRUPT CONTROLLER 8259 MICROPROCESSOR
INTERRUPT CONTROLLER 8259 MICROPROCESSOR
TanishkaHira1
 
Cybercrimes in the Darknet and Their Detections: A Comprehensive Analysis and...
Cybercrimes in the Darknet and Their Detections: A Comprehensive Analysis and...Cybercrimes in the Darknet and Their Detections: A Comprehensive Analysis and...
Cybercrimes in the Darknet and Their Detections: A Comprehensive Analysis and...
dannyijwest
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
jaanualu31
 

Recently uploaded (20)

Adsorption (mass transfer operations 2) ppt
Adsorption (mass transfer operations 2) pptAdsorption (mass transfer operations 2) ppt
Adsorption (mass transfer operations 2) ppt
 
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
 
Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptx
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
Passive Air Cooling System and Solar Water Heater.ppt
Passive Air Cooling System and Solar Water Heater.pptPassive Air Cooling System and Solar Water Heater.ppt
Passive Air Cooling System and Solar Water Heater.ppt
 
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdflitvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
 
Databricks Generative AI Fundamentals .pdf
Databricks Generative AI Fundamentals  .pdfDatabricks Generative AI Fundamentals  .pdf
Databricks Generative AI Fundamentals .pdf
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Danikor Product Catalog- Screw Feeder.pdf
Danikor Product Catalog- Screw Feeder.pdfDanikor Product Catalog- Screw Feeder.pdf
Danikor Product Catalog- Screw Feeder.pdf
 
8086 Microprocessor Architecture: 16-bit microprocessor
8086 Microprocessor Architecture: 16-bit microprocessor8086 Microprocessor Architecture: 16-bit microprocessor
8086 Microprocessor Architecture: 16-bit microprocessor
 
INTERRUPT CONTROLLER 8259 MICROPROCESSOR
INTERRUPT CONTROLLER 8259 MICROPROCESSORINTERRUPT CONTROLLER 8259 MICROPROCESSOR
INTERRUPT CONTROLLER 8259 MICROPROCESSOR
 
Cybercrimes in the Darknet and Their Detections: A Comprehensive Analysis and...
Cybercrimes in the Darknet and Their Detections: A Comprehensive Analysis and...Cybercrimes in the Darknet and Their Detections: A Comprehensive Analysis and...
Cybercrimes in the Darknet and Their Detections: A Comprehensive Analysis and...
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
Compressing and Sparsifying LLM in GenAI Applications
Compressing and Sparsifying LLM in GenAI ApplicationsCompressing and Sparsifying LLM in GenAI Applications
Compressing and Sparsifying LLM in GenAI Applications
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and properties
 
Computer Graphics Introduction To Curves
Computer Graphics Introduction To CurvesComputer Graphics Introduction To Curves
Computer Graphics Introduction To Curves
 
Ground Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementGround Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth Reinforcement
 

presentation-project 2.pptx

  • 1. Automatic Class Attendance System Based On Face Detection And Recognition Supervisor: Dr.Naser Abu-Zaid Submitted by: Ala Berawi Sujod Makhlof Samah Hanani
  • 2. 1. Introduction 2. Algorithm ( flow chart ) 3. Functional Block Diagram 4. Results 5. Conclusion 6. Future Work
  • 3. Traditionally attendance is marked manually by teachers and they must make sure correct attendance is marked for respective student. This whole process wastes some of lecture time and part of correct information is missed due to fraudulent and proxy cases.
  • 4. In order to determine classroom attendance, face detection and face recognition are performed. Face detection is used to determine the location of the faces in the classroom image and extract sub images for each face. Then, in face recognition, the face images detected will be compared with the data base consisting of images of students in the class, and attendance will be recorded accordingly.
  • 6.
  • 7.
  • 8.
  • 9. The whole system should consist of Functional Block Diagram:
  • 10. Face detection is a computer technology used to identify human faces in digital images by determining the location of the faces in the image and extract sub images for each face. Viola Jones algorithm will be implemented to recognize face and non-face patterns and enable us to identify locations of the faces in the image.
  • 12. Database is the collection of face images and extracted features. And the database includes names of students & registertion number for each student . We created a data base for 18 persons, were we took 10 images per person using raspberry pi model 2 cam, these images were taken at different times and with variations in illumination, facial expressions, and facial details.
  • 15. 1. Create a training set and concatenate columned images into one matrix. 2. Normalize the images and calculate the covariance matrix. 3. Calculate the eigenvalue and the weights for all images. 4. Input an unknown face image. 5. Normalize and calculate weights for input image. 6. Calculate the distance.
  • 16. Using a matlab code, eigenfaces method is implemented to recognize the faces. We entered the data base for several persons from the data base and got these results Top 9 Eigenfaces from our Images
  • 17. Reconstructed Image from our Images: We input a new image for the person in class 1 we got this result:
  • 18. We use Mahalanobis distances. The algorithm was able to successfully identify the class that image belonged to, as we can see the input image belonged to class 1. Distance to Characterized Subject for our Images:
  • 19. We input a new image for the person in class 4 we got this result:
  • 20. Distance to Characterized Subject for our Images: We use Mahalanobis distances. The algorithm was able to successfully identify the class that image belonged to, as we can see the input image belonged to class 4.
  • 21. And then Send email from MATLAB to doctor which contains a list of absent students and the picture taken in the lecture for the students Text file for absent students information:
  • 22. When we run this code with our database a new file will appear (my_model.pkl) this model contains the eigen faces for students in data base. By using a PYTHON code, which used Eigenfaces method to recognize faces. We entered the data base for 18 person, we got these results
  • 23. When we applied the openCV python code, the code was able to successfully recognize the faces, it detect the faces and write the names of recognized persons as shown:
  • 24. Then the code will creates a text file for present students as shown:
  • 25. In our project we have faced many of problems and we have overcome them: 1- Download Python and library for it on Raspberry Pi. 2- Version of the raspberry pi .
  • 26. From our experiment, we noticed the face recognition was sensitive to face background, light, and head orientations. This technique described the accurate and efficient method of automatic attendance in the classroom which could replace the traditional method. An automatic attendance has many advantages, most of the existing systems are time consuming and require semi manual interference from lecturers, our system seeks to solve these issues by using face recognition in the process to save the time and labor. And No need for installing complex hardware for taking the attendance in classroom, all we need is a camera and laptop. We used algorithms that can detect and recognize faces in the image.
  • 27. Automatic attendance system can be improved by increasing the number of features which can be extracted to increase accuracy of face recognition. Once the software is developed and tested properly, it could be improved to cover full institutions such as the faculty of engineering.

Editor's Notes

  1. When we input the test picture, the code will detect the each face in the picture, crop each face, store the faces in file, recognized each face compare with data base and build reconstructed image for each face as shown