0% found this document useful (0 votes)
36 views

Smart Attendance Management System Using Face Reco

The document describes a smart attendance management system using face recognition. It captures images of students' faces in real-time and uses deep learning techniques like HOG for face detection and facial feature comparison for identification. The system automatically records attendance by subject when class times arrive. It reduces issues with manual or proxy attendance tracking.

Uploaded by

Goodluck Stephen
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views

Smart Attendance Management System Using Face Reco

The document describes a smart attendance management system using face recognition. It captures images of students' faces in real-time and uses deep learning techniques like HOG for face detection and facial feature comparison for identification. The system automatically records attendance by subject when class times arrive. It reduces issues with manual or proxy attendance tracking.

Uploaded by

Goodluck Stephen
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

EAI Endorsed Transactions

on Creative Technologies Research Article

Smart Attendance Management System Using Face


Recognition
Kaneez Laila Bhatti1,*, Laraib Mughal1, Faheem Yar Khuhawar1, Sheeraz Ahmed Memon1

1
Dept. of Telecommunication Engineering, MUET, Jamshoro, PK

Abstract

To maintain the attendance record with day to day activities is a challenging task. The conventional method of calling
name of each student is time consuming and there is always a chance of proxy attendance. The following system is based
on face recognition to maintain the attendance record of students. The daily attendance of students is recorded subject wise
which is stored already by the administrator. As the time for corresponding subject arrives the system automatically starts
taking snaps and then apply face detection and recognition technique to the given image and the recognize students are
marked as present and their attendance update with corresponding time and subject id. We have used deep learning
techniques to develop this system, histogram of oriented gradient method is used to detect faces in images and deep
learning method is used to compute and compare feature facial of students to recognize them. Our system is capable to
identify multiple faces in real time.

Keywords: Deep learning, python, Image Processing, Face_Recognition, Electron JS, HOG.

Received on 27 June 2019, accepted on 23 July 2019, published on 31 July 2019

Copyright © 2019 Kaneez Laila Bhatti et al., licensed to EAI. This is an open access article distributed under the terms of the
Creative Commons Attribution licence (http://creativecommons.org/licenses/by/3.0/), which permits unlimited use, distribution and
reproduction in any medium so long as the original work is properly cited.

doi: 10.4108/eai.13-7-2018.159713

*
Corresponding author. Email: [email protected]
Use of face recognition for the purpose of attendance
marking is the smart way of attendance management
1. Introduction system. Face recognition is more accurate and faster
technique among other techniques and reduces chance of
Every organization requires a robust and stable system to proxy attendance. Face recognition provide passive
record the attendance of their students. and every identification that is a person which is to be identified
organization have their own method to do so, some are does not to need to take any action for its identity [2].
taking attendance manually with a sheet of paper by Face recognition involves two steps, first step involves
calling their names during lecture hours and some have the detection of faces and second step consist of
adopted biometrics system such as fingerprint, RFID card identification of those detected face images with the
reader, Iris system to mark the attendance. The existing database. There are number of face detection and
conventional method of calling the names of students recognition methods introduced. Face recognition works
manually is time consuming event. The RFID card either in form of appearance based which covers the
system, each student assigns a card with their features of whole face or feature based which covers the
corresponding identity but there is chance of card loss or geometric feature like eyes, nose, eye brows, and cheeks
unauthorized person may misuse the card for fake to recognize the face [3].
attendance. While in other biometrics such as finger print, Our system uses face recognition approach to reduce
iris or voice recognition, they all have their own flaws and the flaws of existing system with the help of machine
also they are not 100% accurate [1] [19]. learning, it requires a good quality camera to capture the
images of students, the detection process is done by

EAI Endorsed Transactions on


1 Creative Technologies
Online First
Kaneez Laila Bhatti et al.

histogram of oriented gradient. And recognizing perform The proposed system is designed for automating the
through deep learning. The frontend side (client side) attendance of the different organization and reduces the
which consist of GUI which is based on electron JS and flaws of existing manual system. The system calculate the
backend side consist of logic and python (server side), an attendance subject wise, that is the data of students and
IPC (Inter Personal Communication) bridge is developed subjects are added manually by administrator, and
to communicate these two stacks. The images capture by whenever time for corresponding subject arrives the
the camera is sent to system for further analysis, the input system automatically starts taking snaps and find whether
image is then compared with a set of reference images of human faces are appear in the given image or not. We
each of the student and mark their attendance. have used Histogram of Oriented Gradient for face
detection and deep learning techniques to calculate and
compare 128-d face features for face recognition. Once
faces are detected and recognize with the existing
database, system calculate attendance for the recognize
students with the respective subject id in real time. And an
excel sheet generated and saved by the system
automatically.
Figure 1. Communication between frontend and Our system splits into two parts, First the front end side
backend which consist of GUI which is based on Electron JS that
is JavaScript stack which is serving as a client and the
second is the backend side which consist of logic and
based on Python which is serving as a server. And we
2. Related Work know that both the languages cannot communicate with
each other directly so we have used IPC (Inter Personal
In recent years, a number of face recognition based Communication) techniques with zero library as a bridge
attendance management system have introduced in order to communicate these two languages. The Electron JS call
to improve the performance of students in different the python functions and interchange data via TCP with
organization. In [4] Jomon Joseph, K. P. Zacharia help of Zero PC Library.
proposed a system using image processing, PCA, Eigen
faces, Microcontroller, based on Matlab. Their system
works only with front face images and there is need of a 3.1 Data Acquisition
suitable method which works with the orientation of the
system. Ajinkya Patil with their fellows in [5] proposed a 3.1.1 Image acquisition: Image is acquire using a high
face recognition approach for attendance marking using definition camera which is placed in the classroom. This
Viola jones algorithm, Haar cascades are used to detect image is given as an input to the system.
faces in images and recognition performs through Eigen
face method. Another approach of making attendance 3.1.2 Dataset Creation: Dataset of students is created
system easy and secure, in [6] the author proposed a before the recognition process. Dataset was created only
system with the help of artificial neural networks, they to train this system. We have created a dataset of 5
used PCA to extract face images and testing and training students which involves their name, roll number,
were achieved by neural networks, their system performs department and images of student in different poses and
in various orientation. A 3D face recognition approach for variations. For better accuracy minimum 15 images of
attendance management system was proposed by each students should be captured. Whenever we register
MuthuKalyani.K, VeeraMuthu.A [7] has proposed, they student’s data and images in our system to create dataset,
marked attendance with monthly progress of each student. deep learning applies to each face to compute 128-d facial
There is need for an alternative algorithm which can features and store in student face data file to recall that
enhance the recognition on oriented faces. Efficient face in recognition process. This process is applies to each
Attendance Management system is designed with the help image taken during registration.
of PCA algorithm [8], the have achieved accuracy up to
83% but their system performance decreases due to 3.1.3 Storing: We have used JSON to store the student’s
slightly changes in light condition. An eigen face data.
approach along with PCA algorithm for marking face
recognition attendance system have introduced by author JavaScript Object Notation (JSON): To represent a
in [9], they mention comparison of different face structured data based on JavaScript object syntax, a
recognition algorithm in their paper. Overall it was good standard text based format is introduced. JSON is used for
approach to maintain record of attendance. transmitting data in web application. It is a perfect
solution for storing temporary data that’s consumed by
the entity that’s creates the data. JSON can store data in
3. Methodology String, Number, Object, Array, Boolean, Null form which
means it has limitation of storing data in functions, dates

EAI Endorsed Transactions on


2 Creative Technologies
Online First
Smart Attendance Management System Using Face Recognition

and undefined data form. If you are trying to store or 3.3 Attendance Marking
exchange data in functions or dates than JSON is not right
choice for you. Once the face is identify with the image stored in JSON
file, python generate roll numbers of present students and
return that, when data is returned, the system generates
3.2 Face recognition process
attendance table which includes the name, roll number,
date, day and time with corresponding subject id. And
then passes the data to python to store the table into an
excel sheet automatically. Each sheet is saved according
to the subjects which already entered by the administrator,
for example when system generates excel sheet by
sending the compiled sheet in an array to python, the
python first checks whether there exit any excel sheet of
that date, if yes then it create separate worksheet by
subject id, so that attendance is differentiated for different
subjects.

4. Results and Experiments


Figure 2. Block Diagram
Smart Attendance Management System is simple and
works efficiency. The system works automatically once
3.2.1 Face Detection and Extraction: Face detection is the registration of individual student created by the
important as the image taken through the camera given to administration.
the system, face detection algorithm applies to identify the
human faces in that image, the number of image
processing algorithms are introduce to detect faces in an
images and also the location of that detected faces. We
have used HOG method to detect human faces in given
image.

3.2.2 Face Positioning: There are 68 specific points in a


human face. In other words we can say 68 face
landmarks. The main function of this step is to detect
landmarks of faces and to position the image. A python
script is used to automatically detect the face landmarks
and to position the face as much as possible without
distorting the image.

3.2.3 Face Encoding: Once the faces are detected in the


given image, the next step is to extract the unique Figure 3. Front page of system
identifying facial feature for each image. Basically
whenever we get localization of face, the 128 key facial
point are extracted for each image given input which are This is front page of our attendance system. Which is
highly accurate and these 128-d facial points are stored in based on HTML5, CSS3 & JS. It consist of the following
data file for face recognition. modules,

• Student Registration
3.2.4 Face matching: This is last step of face recognition • Face Recognition
process. We have used the one of the best learning • Addition of subject with their corresponding time.
technique that is deep metric learning which is highly • Attendance sheet generation and import to Excel
accurate and capable of outputting real value feature (xlsx) format.
vector. Our system ratifies the faces, constructing the 128-
d embedding (ratification) for each. Internally To initialize this system, the administrator first register
compare_faces function is used to compute the Euclidean their student data along with their name roll number and
distance between face in image and all faces in the department. We have created a training dataset of 6
dataset. If the current image is matched with the 60% students (total of 120 images for each) for testing purpose.
threshold with the existing dataset, it will move to
attendance marking.

EAI Endorsed Transactions on


3 Creative Technologies
Online First
Kaneez Laila Bhatti et al.

Figure 4. Addition of Subjects

Figure 6. Excel sheet


This is the subject folder, subjects are to be filled
according to time table once the time arrives for the
corresponding subject, the system starts capturing images, Excel sheet generated by the system automatically with
detects the faces, compares the faces with existing the corresponding subject id, date and time.
database, mark attendance and generate excel sheet for the
recognize students.

Figure 7. Accuracy graph in terms of angles

Figure 5. Test Image of students during ccn lab at


TL-MUET

Attendance system proved to recognize images in


different angle and light conditions. The faces which are
not in our training dataset are marked as unknown. The
attendance of recognize images of students is marked in
real time. And import to excel sheet and saved by the
system automatically.

EAI Endorsed Transactions on


4 Creative Technologies
Online First
Smart Attendance Management System Using Face Recognition

class." International Journal of Advances in Engineering


& Technology 7.3 (2014): 974.
[6] Kanti, Jyotshana, and Shubha Sharm. "Automated
Attendance using Face Recognition based on PCA with
Artificial Neural Network." International journal of
science and research IJSR(2012).
[7] MuthuKalyani, K., and A. VeeraMuthu. "Smart application
for AMS using face recognition." Computer Science &
Engineering 3.5 (2013): 13.
[8] Deshmukh, Badal J., and Sudhir M. Kharad. "Efficient
Attendance Management: A Face Recognition Approach."
(2014).
[9] Wagh, Priyanka, et al. "Attendance system based on face
recognition using eigen face and PCA algorithms." 2015
International Conference on Green Computing and
Internet of Things (ICGCIoT). IEEE, 2015.
[10] Bhattacharya, Shubhobrata, et al. "Smart Attendance
Monitoring System (SAMS): A Face Recognition Based
Attendance System for Classroom Environment." 2018
IEEE 18th International Conference on Advanced
Figure 8. Accuracy graph in terms of distance Learning Technologies (ICALT). IEEE, 2018.
[11] Samet, Refik, and Muhammed Tanriverdi. "Face
recognition-based mobile automatic classroom attendance
management system." 2017 International Conference on
Number of experiments are performed with varying Cyberworlds (CW). IEEE, 2017.
distance, angles and persons, we keep vary one value and [12] Li, Xiang-Yu, and Zhen-Xian Lin. "Face recognition based
constant the other two. The system accuracy effects as the on HOG and fast PCA algorithm." The Euro-China
variation in angle increases. Conference on Intelligent Data Analysis and Applications.
Springer, Cham, 2017.
[13] Arsenovic, Marko, et al. "FaceTime—Deep learning based
5. Conclusion face recognition attendance system." 2017 IEEE 15th
International Symposium on Intelligent Systems and
Smart attendance management system is designed to solve Informatics (SISY). IEEE, 2017.
the issues of existing manual systems. We have used face [14] Rekha, N., and M. Z. Kurian. "Face detection in real time
recognition concept to mark the attendance of student and based on HOG." International Journal of Advanced
Research in Computer Engineering & Technology
make the system better. The system performs satisfactory (IJARCET) 3.4 (2014): 1345-1352.
in different poses and variations. In future this system [15] Kwolek, Bogdan. "Face detection using convolutional
need be improved because these system sometimes fails neural networks and Gabor filters." International
to recognize students from some distance, also we have Conference on Artificial Neural Networks. Springer,
some processing limitation, working with a system of Berlin, Heidelberg, 2005.
high processing may result even better performance of [16] Ashwini, C., et al. "An Efficient Attendance System Using
this system. Local Binary Pattern and Local Directional
Pattern." Journal of Network Communications and
Emerging Technologies (JNCET) www. jncet. org 8.4
(2018).
References [17] Karnalim, Oscar, et al. "Face-face at classroom
environment: Dataset and exploration." 2018 Eighth
[1] Kar, Nirmalya, et al. "Study of implementing automated
International Conference on Image Processing Theory,
attendance system using face recognition
Tools and Applications (IPTA). IEEE, 2018.
technique." International Journal of computer and
[18] Mian, Ajmal. "Realtime face detection and tracking using a
communication engineering 1.2 (2012): 100.
single pan, tilt, zoom camera." 2008 23rd International
[2] RoshanTharanga, J. G., et al. "Smart attendance using real
Conference Image and Vision Computing New Zealand.
time face recognition (smart-fr)." Department of Electronic
IEEE, 2008.
and Computer Engineering, Sri Lanka Institute of
[19] Mehta, Preeti, and Pankaj Tomar. "An Efficient
Information Technology (SLIIT), Malabe, Sri Lanka (2013)
Attendance Management Sytem based on Face
[3] Selvi, K. Senthamil, P. Chitrakala, and A. Antony Jenitha.
Recognition using Matlab and Raspberry Pi
"Face recognition based attendance marking
2." International Journal of Engineering Technology
system." Corresponding Author: S. Rajkumar*, Email:
Science and Research IJETSR 3.5 (2016): 71-78.
rajkumarsrajkumar@ gamil. com (2014).
[4] Joseph, Jomon, and K. P. Zacharia. "Automatic attendance
management system using face recognition." International
Journal of Science and Research (IJSR) 2.11 (2013): 327-
330.
[5] Patil, Ajinkya, and Mrudang Shukla. "Implementation of
classroom attendance system based on face recognition in

EAI Endorsed Transactions on


5 Creative Technologies
Online First

You might also like