Development of An Employee Attendance System Using Face Recognition and QR-Code Technology
Development of An Employee Attendance System Using Face Recognition and QR-Code Technology
https://doi.org/10.22214/ijraset.2023.49429
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 11 Issue III Mar 2023- Available at www.ijraset.com
Abstract: The procedure of recording attendance at any organization, including polytechnics and other institutions, is crucial to
demonstrating why a particular employee is exceptional. Traditional attendance management systems, which use attendance
sheets and signatures, have shown to have some associated issues, including time wastage, impersonation, and attendance sheet
misplacement, making the system wasteful and unproductive. Appraising Non-academic staff in Yaba College of Technology has
been a great challenge due to the aforementioned problem confronting the management to properly monitored the attendance
system put in place with the traditional methods. To solve these problems, the study developed a computerized attendance system
that implements face recognition and QR-code was designed and implemented using python programming language, MySQL
server database, Tkinter framework was used to build the interface and Open Camera Vision (OpenCV) library. The algorithms
for face detection and recognition include Haar cascasde algorithm and Local Binary Pattern Histogram (LBPH) algorithm
respectively. The system is equipped with the capability to send instant email attendance reports to the management on daily,
weekly or monthly basis. The result findings shows that there was 98.8% detection and recognition rates and 0.12% errors
encountered for both face and QR-code. The highest read time was also measured to be 210.30ms. The result finding from our
test shows the efficiency and effectiveness of the attendance system and it is therefore recommended for use in Yaba College of
Technology for attendance monitoring of Non-academic staff for onward appraisal by the HOD, Dean and the college
management.
Keywords: Attendance, Impersonation, face recognition, QR-code, Employee
I. INTRODUCTION
Attendance taking is vital to management of an organization to keep track of who is present and absent in a particular location or
event [1]. It is one of the important factors in many institutions and organizations that need to be followed by employees. The
operation of any institution and organization is based on the contribution of employees either from the executive level or operational
level. Employee attendance tracking is a common practice in almost all organizations. For an organization to present a valuable
human-resource front it needs to maintain its performance standards in terms of attendance monitoring.
Every institution and organization put more importance on attendance management of staff in the organization to keep accurate
record of employee. Yaba College of Technology is no exception in attendance monitoring of staff of the college, most especially
the non-teaching which are expected to resume by 8:00am and close by 4:00pm on a daily basis. The present employee attendance
framework system mandates that employees physically record their attendance on a sheet of paper each time they arrive at work and
leave it. This method of recording attendance presented many difficulties for maintaining the attendance and was afterwards used
for evaluation. These problems could include employees taking too long to find and sign their names in the attendance book and
employees misplacing or avoiding the attendance book due to alleged improper activities.
The term "Automatic Identification and Data Capture" (AIDC) refers to a collection of technologies that enable direct data entry
into a computer without the use of a keyboard. The time needed for data collection, identification, and labelling can be attributed to
AIDC technologies [2]. The three main parts of almost all AIDC technologies are the data encoder, machine reader or scanner, and
data decoder. Barcodes, radio frequency identification (RFID), magnetic stripes, optical character recognition, biometrics, and
machine vision are important AIDC technologies. Two popular and commonly applied AIDC technologies are QR-codes and
fingerprints [3]. The majority of products and materials now employ codes. The simplicity of use, low cost, and widespread
application of barcode technology—in both goods and services—are its main advantages. To read data like numbers, letters, photos,
and locations, optical scanners are used in QR-code technology. It could be a one-dimensional or two-dimensional code. Black
rectangle bars known as barcodes are the one-dimensional code's commonly used version.
On the other hand, biometric recognition only implies "life measurement," but the phrase is connected to the use of quantifiable
specific physiological and biological traits to identify an individual. Biometric characteristics are unique to an individual. It captures
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 1530
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 11 Issue III Mar 2023- Available at www.ijraset.com
millions of faceprints within seconds, and provides intelligent million-scale data management. It offers more efficient, convenient,
safe, reliable, and privacy-protecting authentication services to different employees in various institutions. Therefore, the use of a
biometrics system provides a good approach against impersonation [4].
The research paper provides the use of a multifactor authentication system (Face Recognition and QR-code) for employees’
attendance validation and verification.
The face recognition biometrics will help to resolve the problem of impersonation, while barcode system will enable easy report
generation and proper record management.
The paper is organized as follows: In the first section, we introduce the attendance management system used in Yaba College of
Technology and the present challenge. Section 2 study on the existing literatures and related works. Section 3 outlines the functions
of this system briefly and describes the hardware and software design of this system. Section 4 presented result and discussion of the
system and finally Section 5 contains conclusions.
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 1531
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 11 Issue III Mar 2023- Available at www.ijraset.com
human faces [11]. It can be used for a variety of applications, such as security and surveillance, access control and identification.
On the hand, QR-codes are two dimensional barcodes that can store information such as websites URLs, text, email addresses,
phone number and more [12]. They consist of black and white squares arranged on a grid, and can be read by a QR-code reader
app or software. For example, a company might use face recognition technology to verify the identity of an employee or visitor,
and then use a QR-code to grant them access to a specific area or to track their movement within a facility.
[18] Smart Attendance QR Code The method does not completely eliminate the risk
System Applying QR of impersonation, but it does offer a simplified, low-
Code. cost embedded computer-based system solution to
the management of attendance problem in poor
countries.
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 1532
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 11 Issue III Mar 2023- Available at www.ijraset.com
IV. METHODOLOGY
The proposed employee attendance system was developed to recognize each staff face and also to Capture the QR-code of their
Identity Card issued by the college management. The QR-code is integrated with the staff Identity card as from of authentication
with the face recognition. The system development is an automatic application which will be managed by a staff of CITM (Centre
for Information and Technology Management) to monitoring the activities of the system at the backend. The system will help to
eliminate the present challenges of the traditional method of taking attendance of non-academic staff in Yaba College of
Technology. It will also assist the college management to generate report of attendance for staff during appraisal for evaluation on
monthly basis.
The employee attendance system features will include employee registration, attendance monitoring for employee, easy retrieval of
attendance record for employee, daily and monthly report of employee. The employee registration details are saved on the system
database which is then use for taking attendance with the QR code on the Identity Card, the details in the database can also be used
to monitor the employee present at the workplace and for how long the staff has worked. The attendance generated can be exported
to our computer system and sent through the email sender in the attendance system to the management. The administrator is at the
liberty of sending the daily attendance report or waiting till the end of the month to send the report.
Login phase
In the attendance system, QR-code having unique characters are linked with employee ID. This implies every employee is given ID
card containing QR-code exclusive to person. Passive QR-code were picked in light of the fact that they need not bother with a
power source to function and they can be generated easily. At the point when an employee scans his/her ID card using the barcode
reader (camera based), the QR-code on the ID card is caught by the barcode reader and sent to the application software which
further shows the employees’ details on a Liquid Crystal Display (LCD) screen. In addition, the system will need to scan each
employee's face for authentication before entering the time of attendance into the database. The two phases of the attendance system
are (i) the registration unit and (ii) the authentication unit. Figure 3.2 shows the block diagram of the system.
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 1533
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 11 Issue III Mar 2023- Available at www.ijraset.com
1) Registration Unit: Registration with the Attendance System Desktop Application Software on the Administrator's computer,
which will record each employee's personal information (employee ID, name, department, date of birth (DOB), age, marital
status, address (permanent and present), Email, nationality, date of Employment (DOE), contact no, designation) to generate an
ID card containing the employees name department and position along with a unique QR-code base on the employees’ details.
This will allow for the creation of reports and effective record keeping. In order to connect to the employee's QR-code
information already put in the MySQL database, employees will also need to place their faces on a scanner (webcam) for
biometric face capture.
Webcam
computer System Liquid Crystal Diaplay
Face
Database
2) Authentication/Verification unit: The employees must pass their ID cards close to the QR-code reader during authentication; the
scanner reads the QR-code connected with the presenting employee and sends it to the application software, which then
displays the employee's details on the screen. The system will furthermore proceed to scan the employees’ face for verification
and then record the time of attendance in the database. Fig 3 shows the sample of the Identity card that will be issued to each
employee by the management of the college which will further by used for verification purpose after the recognition.
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 1534
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 11 Issue III Mar 2023- Available at www.ijraset.com
Manage Login
Attendance Dashboard
Details
Manage Login
Details
The fig 4 above represents the conceptual framework of the Employee Attendance system Using face recognition and barcode
technology; it visualizes the expected relationships between each module of the system. It shows the relationship and interactions
among the dependent and independent modules of the Employee Attendance system.
C. System Design
The system design simply denotes set of interacting or interdependent pages forming an integrated framework. The design of the
system is divided into three phases (Input, Output and Database design). These phases are interrelated to show the relationship
between each module of the system. It is outlined in the following indexes.
1) Input Design: The design manages employee registration interface; it allows the admin to supply employees’ registration
information which are basically the employee’s bio-data face sample capture. At this page the generation of employee’s
barcode also takes place along with training of each employee faces for recognition. This record can only be submitted
successfully after all information matches the required data with this system design. This interface is an interactive page for the
admin to navigate through the entire page. The supplied information is saved on the database on real-time. This page can only
be accessed by users with valid login credentials. Fig 5 shows the design for the registration of the system for staff to input their
details
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 1535
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 11 Issue III Mar 2023- Available at www.ijraset.com
2) Output Design: This is the design that display the information of the saved in the database. It is the output design that will
determine the input and method of processing. The interface can be accessed by both the employee and the admin to confirm
the presence of an employee. The page also allows emails to be sent to any employee or management for further computation of
the attendance report. Fig 6 shows the list of registered employee attendance.
3) Database Design: The database integrated with this system is MySQL. The data are manipulated and stored in database and
then generated output data such as listing present employee and calculate total hour employees was present, giving status of
department, how many barcode generated, daily, weekly and monthly attendance Report etc.
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 1536
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 11 Issue III Mar 2023- Available at www.ijraset.com
The registered employees are then allowed to take attendance by clicking on the button. The command automatically turns on the
computer webcam for the employee to scan the QR-code on the ID card first, after detection another window page opens showing
the employee’s data stored on the QR-code. The window also prompts the employee to scan face for verification. With the click of a
button, the webcam is initiated again. During this process the Employee Attendance system checks for the similarity between the
QR-code data and the face data. If all data conditions are meant and a similarity is found the employee’s data is automatically
registered on the attendance report with the employee clocked in time. The same process is carried out for the other entire registered
employee. Clocking out after closing hour also involves same process of marking attendance.
The marking of attendance process is repeated daily. The report of the attendance is viewed by clicking the “View Attendance”
button as shown in the implementation screenshot. The summary of the attendance is also shown, with this attendance summary, a
descriptive analysis is done. This analysis is used at the end of every month to appraise each employee with regards to the number
of times an employee was present. The system also allows the attendance reporting form of csv file to be sent via email sender built
into the system for instant report submission to the management.
From the result obtained during the testing, it can be seen that face recognition and barcode technology-based attendance system
designed is very efficient. The error encountered during the testing for each scanned QR-codes and faces is nil (0%), meaning that
there was no error during the reading process. Error rates refer to the number of unsuccessful QR-code and face read by the
Employee Attendance System. This is relatively low since it takes less than one-third fraction of a second to process data received
thus making the Employee Attendance System an efficient one.
Using the formula: Monthly Appraisal = no of times present x 100 the monthly appraisal of each employee
was gotten.
The no of times present can be easily found on the attendance summary generated from the Employee Attendance System. This can
further be explained using the fig 8 and 9 respectively.
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 1537
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 11 Issue III Mar 2023- Available at www.ijraset.com
From the descriptive analysis of the attendance report we can deduce that fig 9 illustrate april attendance appraisal for each
employee in percentage. For this particular attendance twenty (20) working days in a month was considered with weekends as work-
free days from these two graphical representations we can see that only four employees (006 - Kehinde, 005 - Tomison, 009 -
Damilare, and 001 - Samuel) had a complete attendance based on the stipulated working days. Ahmid had a closer attendance
appraisal of 80%. Indicating that he was absent for 4 days. Gloria (003) had an attendance appraisal of 60% indicating she was
absent for 8 working days. Mariam (008) and Kamoru (004) has an attendance appraisal of 40% showing that they were both absent
for 12 working days while Chidinma (007) and Oluwaloni (002) had the lowest attendance appraisal of 20% which denotes that they
were absent for 16 working days.
We would realize that only four of the employees with the appraisal of 100% will be paid in full while the employees with the
attendance appraisal of 80% and 60% will be paid in half, while the employees with the attendance appraisal of 40% and 20% will
be put under consideration. The results gotten from the testing shows that there is an accurate monitoring and security through the
use of the system. With the speed of recognition and descriptive analysis illustrated, we can confidently point out that the Employee
Attendance System using face recognition and QR-code Technology can be considered as one of the effective tools for the
improvement of employee productivity.
VII. CONCLUSION
The development of an Employee Attendance System using Face Recognition and QR-code was developed to eliminate the
numerous challenges being faced with the paper-based method in managing attendance and impersonation. The system's admin
login screen appears before the login interface's login screen, which was created using the Python programming language and the
XAMPP Server database.
The manual system was examined and analyzed during the fact-finding phase to clearly identify its shortcomings before the system
was developed.
The employee attendance system result findings shows that attendance monitoring is more efficient and reliable in taking attendance
in any organization or institution.
The system developed will not only allows the clock in and clock out of employees but enables instant sending of emails using the
inbuilt email sender found in the system, also allows the attendance of each employee to be easily appraised based on the percentage
of attendance gotten from the number of times present.
The Employee Attendance System is recommended for Yaba College of Technology, other institutions and organizations like the
health facilities, industries, e-government (federal and non-federal) etc. the system can be extended to different working sectors
where there is a need to record and to digitalize the attendance of employees in order to provide an efficient and reliable attendance
management system.
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 1538
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 11 Issue III Mar 2023- Available at www.ijraset.com
VIII. ACKNOWLEDGMENT
The authors would like to thank students from the Computer Technology departments in Yaba College of Technology for their
contribution in this project. We will like to appreciate the college management for providing an enabling environment for the study
of the research work, also to thank to everyone involved in preparing, developing and testing the project. The feedback was helpful
in achieving the best results for the research paper.
REFERENCES
[1] O. Olasupo et al., “A Fingerprint Based Students Attendance Management System for Olabisi Onabanjo University,” Fudma J. Sci., Vol. 6, No. 1, Pp. 253–265,
2022.
[2] S. Elaskari, M. Imran, A. Elaskri, and A. Almasoudi, “Using barcode to track student attendance and assets in higher education institutions,” Procedia Comput.
Sci., vol. 184, pp. 226–233, 2021.
[3] S. C. Singha and M. K. Verma, “Integration of AIDC technology in mobile via QR code for enhancing the library services: a case study of don bosco college
central library, Arunachal Pradesh,” Indian J. Inf. Sources Serv., vol. 9, no. 2, pp. 44–48, 2019.
[4] D. Menotti et al., “Deep representations for iris, face, and fingerprint spoofing detection,” IEEE Trans. Inf. Forensics Secur., vol. 10, no. 4, pp. 864–879, 2015.
[5] T. Havik, E. Bru, and S. K. Ertesvåg, “School factors associated with school refusal-and truancy-related reasons for school non-attendance,” Soc. Psychol.
Educ., vol. 18, pp. 221–240, 2015.
[6] Y. L. Khan, S. K. Lodhi, S. Bhatti, and W. Ali, “Does Absenteeism Affect Academic Performance Among Undergraduate Medical Students? Evidence From
‘Rashid Latif Medical College (RLMC).,’” Adv. Med. Educ. Pract., vol. 10, p. 999, 2019.
[7] A. Ardebili, A. Latifian, C. F. Aziz, R. H. BinSaeed, S. M. Alizadeh, and E. V Kostyrin, “A comprehensive and systematic literature review on the employee
attendance management systems based on cloud computing,” J. Manag. Organ., pp. 1–18, 2022.
[8] K. S. Adewole, S. O. Abdulsalam, R. S. Babatunde, T. M. Shittu, and M. O. Oloyede, “Development of fingerprint biometric attendance system for non-
academic staff in a tertiary institution,” Development, vol. 5, no. 2, pp. 62–70, 2014.
[9] J. Elijah, A. Mishra, M. U. Gana, E. M. C. Udo, and A. Musa, “Staff monitoring system using biometric,” Int. J. Eng. Comput. Sci., vol. 6, no. 5, pp. 21448–
21458, 2015.
[10] A. N. Kataria, D. M. Adhyaru, A. K. Sharma, and T. H. Zaveri, “A survey of automated biometric authentication techniques,” in 2013 Nirma university
international conference on engineering (NUiCONE), 2013, pp. 1–6.
[11] C. Zhang and Y. Ma, Ensemble machine learning: methods and applications. Springer, 2012.
[12] A. S. Narayanan, “QR codes and security solutions,” Int. J. Comput. Sci. Telecommun., vol. 3, no. 7, pp. 69–72, 2012.
[13] A. El-Mawla, M. Ismaiel, and A. Team, “Smart Attendance System Using QR-Code, Finger Print and Face Recognition,” Nile J. Commun. Comput. Sci., vol. 2,
no. 1, pp. 1–16, 2022.
[14] K. Singh, K. Singh, M. Singh, M. Singh, and D. Kaur, “Online Attendance Face Recognition and QR Code Monitoring,” Online Attend. Face Recognit. QR
Code Monit. (August 2, 2022), 2022.
[15] E. C. Sai, S. A. Hussain, S. Khaja, and A. Shyam, “Student Attendance Monitoring System Using Face Recognition,” Available SSRN 3851056, 2021.
[16] A. Nuhi, A. Memeti, F. Imeri, and B. Cico, “Smart attendance system using qr code,” in 2020 9th Mediterranean Conference on Embedded Computing
(MECO), 2020, pp. 1–4.
[17] E. C. Sai, S. A. Hussain, S. Khaja, and A. Shyam, “Student Attendance Monitoring System Using Face Recognition,” Available SSRN 3851056, 2021.
[18] M. R. M. Hendry, M. N. A. Rahman, and A. H. Seyal, “Smart attendance system applying QR code,” in 12th International Conference on Latest Trends in
Engineering and Technology May, 2017, pp. 22–24.
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 1539