Automated Attendance Using Open CV
Automated Attendance Using Open CV
Abstract - Face is the crucial part of the human body that educational institute or employees at an organization
uniquely identifies a person. Using the face characteristics as increases, the needs for lecturers or to the organization also
biometric, the face recognition system can be implemented. The increase the complication of attendance control. This project
most demanding task in any organization is attendance marking. may be helpful for the explanation of these types of problems.
In traditional attendance system, the students are called out by
the teachers and their presence or absence is marked
The number of students present in a lecture hall is observed,
accordingly. However, these traditional techniques are time each person is identified and then the information about the
consuming and tedious. In this project, the Open CV based face number of students who are present I maintained.
recognition approach has been proposed. This model integrates
a camera that captures an input image, an algorithm for II. OVERVIEW
detecting face from an input image, encoding and identifying Face recognition being a biometric technique implies
the face, marking the attendance in a spreadsheet and determination if the image of the face of any particular person
converting it into PDF file. The training database is created by matches any of the face images that are stored in a database.
training the system with the faces of the authorized students.
The cropped images are then stored as a database with
This difficulty is tough to resolve automatically because of the
respective labels. The features are extracted using LBPH changes that several factors, like facial expression, aging and
algorithm. even lighting can affect the image. Facial recognition among
Keywords - LBPH, OpenCV, camera, attendance, biometric, face the various biometric techniques may not be the most
recognition, spreadsheet authentic but it has various advantages over the others. Face
recognition is natural, feasible and does not require
I. INTRODUCTION assistance. The expected system engages the face recognition
Attendance maintenance is a significant function in all the approach for the automating the attendance procedure of
institutions to monitor the performance of the students. Every students or employees without their involvement. A web cam
institute does this in its own way. Some of these institutes use is used for capturing the images of students or employees.
the old paper or file based systems and some have adopted The faces in the captured images are detected and compared
strategies of automatic attendance using some biometric with the images in database and the attendance is marked.
techniques. A facial recognition system is a computerized
biometric software which is suited for determining or III. IMAGE PROCESSING
validating a person by performing comparison on patterns The facial recognition process can be split into two major
based on their facial appearances. Face recognition systems stages: processing which occurs before detection involving
have upgraded appreciably in their management over the face detection and alignment and later recognition is done
recent years and this technology is now vastly used for using feature extraction and matching steps.
various objectives like security and in commercial operations.
Face recognition is a powerful field of research which is a 1. FACE DETECTION
computer based digital technology. Face recognition for the The primary function of this step is to conclude whether the
intent of marking attendance is a resourceful application of human faces emerge in a given image, and what is the
attendance system. It is widely used in security systems and it location of these faces. The expected outputs of this step are
can be compared with other biometrics such as fingerprint or patches which contain each face in the input image. In order
eye iris recognition systems. As the number of students in to get a more robust and easily designable face recognition
an system.
IJERTV9IS030122 www.ijert.org 54
(This work is licensed under a Creative Commons Attribution 4.0 International
License.)
Published by : International Journal of Engineering Research & Technology (IJERT)
http://www.ijert.org ISSN: 2278-0181
Vol. 9 Issue 03, March-2020
𝑛
the recording of the frontal face. The number of frame to be
taken for consideration can be modified for accuracy levels.
𝐷=√∑ (ℎ𝑖𝑠𝑡1𝑖 − ℎ𝑖𝑠𝑡2𝑖)2 These images are then stored in the database along with the
𝑖=1 Registration ID.
TRAINING OF FACES:
Hence the result of this method is the ID of the image which The images are saved in gray scale after being recorded by a
has the nearest histogram. It should return the distance camera. The LBPH recognizer is employed to coach these
calculated in the form of ‘confidence’. Then the threshold and faces because the coaching sets the resolution and therefore
the ‘confidence’ can be used to automatically evaluate if the the recognized face resolutions are completely variant. A part
image is correctly recognized. If the confidence is less than of the image is taken as the centre and the neighbours are
the given threshold value, it implies that the image has been thresholded against it. If the intensity of the centre part is
well recognized by the algorithm. greater or equal than it neighbour then it is denoted as 1 and 0
if not. This will result in binary patterns generally known as
ACE FACE LBP codes.
Confidence factor It is 100-400.
based on output is FACE DETECTION:
2,000-3,000.
Threshold value is Threshold value Threshold value is The data of the trained faces is stored in .py format. The faces
4,000. is 400 7. are detected using the Haar cascade frontal face module.
Principle of dataset It is component It is pixel based. FACE RECOGNITION:
generation based. The data of the trained faces are stored and the detected faces
is component
based. are compared to the IDs of the students and recognized. The
Basic principle is Basic principle is Basic principle is recording of faces is done in real time to guarantee the
PCA. LDA. Histogram. accuracy of the system. This system is precisely dependant on
Background noise is Background noise Background noise the camera’s condition.
maximum. is medium. is minimum.
Efficiency Efficiency is Efficiency is
is minimum. greater maximum. VI. FLOW CHART
Eigen face.
Table 1. Comparison of LBPH withthan other algorithms.
V. BLOCK DIAGRAM
IJERTV9IS030122 www.ijert.org 56
(This work is licensed under a Creative Commons Attribution 4.0 International
License.)
Published by : International Journal of Engineering Research & Technology (IJERT)
http://www.ijert.org ISSN: 2278-0181
Vol. 9 Issue 03, March-2020
IJERTV9IS030122 www.ijert.org 57
(This work is licensed under a Creative Commons Attribution 4.0 International
License.)
Published by : International Journal of Engineering Research & Technology (IJERT)
http://www.ijert.org ISSN: 2278-0181
Vol. 9 Issue 03, March-2020
Fig 5. The interface for the Face Recognition Based Attendance System in
which the Id and Name of the respective students are stored.
Fig 9. The images of the students is trained.
IJERTV9IS030122 www.ijert.org 58
(This work is licensed under a Creative Commons Attribution 4.0 International
License.)
Published by : International Journal of Engineering Research & Technology (IJERT)
http://www.ijert.org ISSN: 2278-0181
Vol. 9 Issue 03, March-2020
X. REFERENCES
1 Smart Attendance System using Computer Vision and Machine
Learning Dipti Kumbhar#1 , Prof. Dr. Y. S. Angal*2 # Department
of Electronics and Telecommunication, BSIOTR, Wagholi,
Pune,
India 1 [email protected] , 2 [email protected]
2 ATTENDANCE SYSTEM USING MULTI-FACE RECOGNITION
1P. Visalakshi, 2Sushant Ashish 1Assistant Professor 1,2Department
of Computer Science and Engineering SRM Institute of Science and
Technology, Chennai, Tamil Nadu, INDIA
3 Face Recognition Based Student Attendance System with OpenCV
CH. VINOD KUMAR1 , DR. K. RAJA KUMAR2 1 PG Scholar,
Dept of CS& SE, Andhra University, Vishakhapatnam, AP, India.
2Assistant Professor, Dept of CS& SE, Andhra University,
Vishakhapatnam, AP, India.
Fig 12. The students attendance record is stored in the excel
4 Automatic Attendance System Using Face Recognition. Ashish
sheet.
Choudhary1,Abhishek Tripathi2,Abhishek Bajaj3,Mudit Rathi4 and
IX. CONCLUSION B.M Nandini5 1,2,3,4,5 Information Science and Engineering, The
This paper features the most productive Open CV face National Institue of Engineering,
recognition method accessible for Attendance Management. 5 Face Recognition based Attendance Management System using
Machine Learning Anushka Waingankar1, Akash Upadhyay2, Ruchi
The system has been implemented using the LBPH algorithm. Shah3, Nevil Pooniwala4, Prashant Kasambe5
LBPH excels other algorithms by confidence factor of 2-5 6 https://www.superdatascience.com/blogs/opencv-face-recognition
and has least noise interference. The implementation of the 7 https://towardsdatascience.com/face-recognition-how-lbph-works-
Smart Attendance System portrays the existence of an
90ec258c3d6b
agreement between the appropriate recognition rate and the 8 https://www.pyimagesearch.com/2018/09/24/opencv-face-
threshold value. Therefore LBPH is the most authentic and
competent face recognition algorithm found in Open CV for recognition/
[10] https://iopscience.iop.org/article/10.1088/1757-
9 http://nxglabs.in/cloud/impact-biometric-attendance-system-
the identification of the students in an educational institute 899X/263/4/042095/pdf
and marking their attendance adequately by averting proxies. 11 http://www.ijsrp.org/research-paper-0218/ijsrp-p7433.pdf
educational-institutes.html
12 https://
www.theseus.fi/bitstream/handle/10024/132808/Delbiaggio_
Nicolas.pdf?sequence=1&isAllowed=y
IJERTV9IS030122 www.ijert.org 59
(This work is licensed under a Creative Commons Attribution 4.0 International
License.)