Attendance System Using Deep Learning
Attendance System Using Deep Learning
IJARSCT
International Journal of Advanced Research in Science, Communication and Technology (IJARSCT)
Abstract: In the traditional system, it is difficult to handle the attendance of a huge number of students in
the classroom. Attendance of the students is very important for every university, college as well as school as
it keeps the record of every individual. The conventional methodology of taking attendance by calling out
the roll number or name of the student and then recording the attendance is a tedious task. Assume the
duration of the lecture is 60 minutes or 1 hour and to record the attendance it would take 5 to 10 minutes.
Also for every tutor, this is time-consuming. To overcome this problem, real-time face recognition is a real-
world solution, which will help in marking the attendance of students in bulk. In this project, face detection
and face recognition are used. Attendance marking through face recognition can be implemented in the
classroom by capturing the image of students in the classroom via a surveillance camera. Later Haar
Cascade algorithm is used for face detection, which helps in locating the position of the face region, and
LBPH (Local binary pattern histogram) algorithm for face recognition. The images of all the students in the
class are stored in the database and when the face of the individual student matches with one of the faces
stored in the database then the attendance is recorded.
Keywords: Haar cascade classifier, LBPH algorithm, face recognition, face detection
I. INTRODUCTION
1.1 Traditional vs Automatic Attendance Marking System
Attendance is of prime importance for both the teacher and student of an educational organization. Therefore, it is
important to keep records of attendance. The problem arises when we think about the traditional process of taking
attendance in the classroom. Calling the name or roll number of the student for attendance is not only a problem of
time-consuming but also needs energy. Traditional methods are still being followed to mark attendance in many
colleges. The most common conventional methods being practiced in routine lifestyle are, the student is supposed to
sign the attendance sheet manually, which is passed around the classroom while the lecturer is giving the lecture.
Sometimes this particular approach could undoubtedly allow the students to cheat about their attendance, where a
student present in the class may sign for a physically absent student. In addition, there are chances of missing the sheets
from the lecturer. Another traditional method that is more commonly used in practice is the roll call system. In this
method the student is supposed to answer his/her roll call made by the lecturer, sometimes this method also allows the
student to cheat about their attendance by answering the roll call as present for a student who is not available in the
class, which is again a time-consuming task.
The Automated Attendance marking system is a process where attendance is marked only through the physical presence
of the student in the classroom. Automation helps in simplifying time tracking and there is no need to have a person
monitor the system. It also eliminates human error. A time and attendance system using facial recognition technology
can accurately report attendance, absence, and overtime with an identification process that is fast as well as accurate.
III. METHODOLOGY
Haar Cascade Classifier
Local Binary Patterns Histogram
These two methodologies come under OpenCV. OpenCV comes with a trainer and as well as a detector. Therefore, if
you want to train your classifier for any object then you can use this classifier called Haar Cascade Classifier.
A. Face Detection
For face detection, OpenCV is used which introduces a Haar cascade classifier. The classifier of the Haar cascade uses
the AdaBoost algorithm to locate numerous image facial features. Initially, it takes an input image using the camera and
converts that colour image into a grayscale image. After this, it loads the Haar cascade classifier for determining
whether the image contains any faces in the frame or not. When any face is detected, other facial features are checked
and a square frame is drawn on the face. Otherwise, it starts reading other pictures.
B. Feature Extraction
For extracting the facial features from an image, the LBP operation is used that compares the intensity value of every
component with the eight nearest neighbour pixels values. If the value of the neighbouring pixel is greater than the
value of the central pixel, it will assign one to its neighbouring pixel, otherwise, it will assign zero. For each pixel, this
task provides an 8-bit string. A decimal value of an 8-bit pixel string determines the LBP value. The inputimage is
divided into many small sub-images after the application of the LBP operation and the histograms of the LBP value of
each sub-images are extracted. Then all histograms are linked to make an image-representing feature vector and used to
train a facial recognition classifier.
Copyright to IJARSCT DOI: 10.48175/IJARSCT-9047 330
www.ijarsct.co.in
ISSN (Online) 2581-9429
IJARSCT
International Journal of Advanced Research in Science, Communication and Technology (IJARSCT)
D. Face Recognition
For the face recognition process, the Local Binary Pattern Histogram algorithm is applied. The LBP operator uses local
binary patterns to reduce the local spatial distribution of a face image. The LBP operator is a collection of binary pixel
value ratios in the centre at regular pixel intervals and is around eight pixels
V. CONCLUSION
We have proposed an attendance management system for student’s attendance. It helps to reduce time and effort,
especially in the case of a large number of students marking attendance. The whole system is implemented in Python
programming language. In the proposed system, we used the Local Binary Patterns histogram algorithm for recognizing
faces. The whole procedure is divided into three major components, i.e. detection of faces, facial feature extraction, and
classification of the image. The Face detection process describes the face of a person in an input image. In feature
extraction, facial landmarks are extracted to make an LBPH histogram that gives a unique result, and then in the
recognition process, the histogram of the input image is compared with the database histogram using the classifier. The
system can recognize a known and unknown person.
REFERENCES
[1]. Shivam Singh, “Face Recognition System” volume 8 Issue 05, May-2019
[2]. Anseena M. P., Sabina N, Meera K. “Face Recognition using CNN: A Systematic Review” volume 11 Issue
06, June2022.
[3]. Jie Wang and Zihao Li 2018, IOP Publishing Ltd, “Research on Face Recognition Based on CNN”.
[4]. Aftab Ahmed,Jiandong Guo, Fayaz Ali, Farha Deeba, Awais Ahmed, “LBPH Based Improved Face
Recognition At Low Resolution”.
[5]. Yustiawati R., Husni N. L., Evelina E., Rasyad S., Lutfi I., Silvia A., Rialita A. (2018). “Analysing Of
Different Features Using Haar Cascade Classifier. 2018 International Conference on Electrical Engineering
and Computer Science (ICECOS)”.