Employee Attendance Using QR Code
Presented by (Batch-9):
P.V.Surekha (22491A05T5)
P.Keerthana (22491A05T6)
D.Rahul (22491A05X2)
G.Akhil Kumar (22491A05X6)
V.Sravan (22491A05P3)
Under the Guidance of
Mrs.A.Swathi
Assistant professor/Associate Professor/ Professor
Department of COMPUTER SCIENCE AND ENGINEERING
Outline
❑ ABSTRACT
❑ INTRODUCTION
❑ LITERATURE REVIEW
❑ OBJECTIVE
❑ FUNCTIONAL LAYOUT
❑ METHODOLOGY
❑ IMPLEMENTATION(Components, specifications, coding, integration, etc)
❑ RESULTS/WORKING
❑ REFERENCES
2 Second Review Wednesday, November 6, 2024
PROJECT VIVA-VOCE
Abstract
❑ A QR-based attendance system simplifies and enhances attendance tracking in schools, universities, and organizations. It
operates through a backend that manages user data, class information, and attendance records, and a frontend interface
that allows staff to interact with the system.
❑ Unique QR codes are generated for each individual, containing key information like names and ID numbers. These QR
codes are scanned using mobile devices or webcams to mark attendance.
❑ This system eliminates traditional methods like manual sign-ins, roll calls, or swipe cards, providing an accurate, error-
free, and time-saving solution.
❑ Additionally, it prevents proxy attendance, as each individual must scan their own unique QR code, ensuring attendance
integrity.
❑ Administrators can easily add or remove participants and customize attendance parameters, making the system highly
flexible and scalable.
❑ The attendance data is instantly available for real-time monitoring by teachers and administrators.
❑ The process of attendance tracking has always been a crucial task for many institutions. A QRbased attendance system is
a modern way of tracking attendance in schools, universities, and other organizations.
❑ It uses QR codes to identify employees. This QR-based attendance system is developed in the domain of full stack web
development.
3 Second Review Wednesday, November 6, 2024
❑ The system consists of two main components: the backend and the frontend. The backend is responsible for managing
the database of employees, works and attendance records. The frontend is the user interface that allows employee to
interact with the system.
❑ The QR code-based attendance system is highly secure as each QR code is unique and can only be used once. The
system ensures that only authorized individuals can mark attendance, reducing the risk of fraud or misuse.
❑ Its cost-effectiveness and minimal infrastructure requirements make it a viable solution for attendance management
across different environments.
❑ Keywords—Attendance,QR Code,Teacher, Admin, Attendance monitoring.
4 Second Review Wednesday, November 6, 2024
Introduction
A QR code (quick response code) is a type of two dimensional (2D) bar code that is used to provide easy access to online
information through the digital camera on a smartphone or tablet. A QR code attendance system is a method of tracking
attendance that utilizes QR (Quick Response) codes. This smart attendance system allows individuals to sign in or check-in
by scanning a QR code with their smartphone or other mobile device. The code can be placed on a physical item like a
badge or printed on a piece of paper, or it can be displayed on a screen.
Efficient attendance management is a critical aspect of organizational operations, directly impacting productivity and
workforce management. Traditional methods of recording attendance, such as manual sign-ins and punch cards, are often
prone to errors and inefficiencies. With the advancement of technology, innovative solutions have emerged to streamline this
process.
The project "Employee Attendance Using QR Code" aims to leverage Quick Response (QR) codes to develop an efficient,
reliable, and user-friendly attendance management system. By integrating QR code technology with a web-based platform,
this system seeks to eliminate the drawbacks of traditional attendance methods and provide a seamless experience for both
employees and administrators.
QR codes are two-dimensional barcodes that can store a substantial amount of data, making them ideal for various
applications, including attendance management . Previous studies have demonstrated the effectiveness of QR codes in
embedding and retrieving data quickly and accurately.
5 Second Review Wednesday, November 6, 2024
The use of QR codes in this project ensures that attendance data is captured instantly and stored securely, reducing the
chances of tampering and ensuring data integrity.This project utilizes PHP as the programming language for backend
development and XAMPP as the server environment, ensuring a robust and scalable solution.
The web platform allows employees to scan their unique QR codes using any standard QR code scanner on their mobile
devices. The scanned data is then transmitted to the server, where it is processed and stored in a centralized database.
By providing real-time attendance tracking and generating comprehensive reports, the system enhances the overall
efficiency of attendance management. The integration of SMS notifications further ensures that employees receive timely
alerts regarding their attendance status, fostering better communication and accountability within the organization.
In conclusion, the "Employee Attendance Using QR Code" project presents a modern, efficient solution for attendance
management. By harnessing the power of QR codes and web technologies, this system addresses the limitations of
traditional methods and offers a streamlined, error-free alternative for organizations
6 Second Review Wednesday, November 6, 2024
Literature Survey
Ref.
Title & Author Technique Used Pros Cons
No
Title:QR Code Based Attendance System The system uses QR It offers quick, It faces potential security risks,
Authors: Sujyot Raut, Prajwal Bhure, Parag Bariye, Ashish code scanning to accurate, and cost- device accessibility issues, and
1 Nandeshwar, Prof.Jayant Adhikari. automatically recordeffective attendance dependency on stable internet
and track attendance.
automation. connectivity
It provides fast,
The system employs QR It can face security concerns
accurate, and efficient
code scanning to such as QR code sharing,
Title:QR Based Attendance System attendance management
automate attendance reliance on device availability
Authors: Mr.Atharva Sharad Dabhade, Mr.Karthik Kishor with reduced human
2 Kadam, Mr.Aniket Vijay Mhaske, Mrs.Shobhana Gaikwad
tracking by recording
error and easy
and internet connectivity, and
user information when the need for initial setup and
integration with digital
the QR code is scanned. user training.
systems.
It offers efficient, The system may encounter
The system utilizes QR
Title:QR Code Based Attendance System accurate, and automated security issues like QR code
code scanning to
Authors: A. Ramakrishna, Maggidi Manohar, Poloju Ram attendance tracking duplication, dependence on
automatically log and
3 Kumar, Goulla Koteshwar Reddy, Kannarapu Anushu,
manage attendance
with minimal manual devices and internet
Annedi Shiva Prasad Chowdary intervention and easy connectivity, and requires an
records.
scalability. initial setup phase.
7 Second Review Wednesday, November 6, 2024
Literature Survey
Ref.
Title & Author Technique Used Pros Cons
No
It enables quick,
The system may face
accurate, and
The system employs challenges such as security
automated attendance
QR code scanning to vulnerabilities (e.g., QR code
Title:QR Code Based Smart Attendance System logging, reducing
efficiently record and sharing), reliance on users
4 Authors: Xiong Wei, Anupam Manori, Nandgopal
track attendance
human error and
having appropriate devices,
Devnath, Nitin Pasi, and Vivek Kumar improving
digitally. and potential issues with
administrative
internet connectivity.
efficiency.
Enhancing QR code These techniques The implementation may
readability by applying improve the reliability increase computational
Title:An Efficient Techniques Of QR Code Using
denoising and and accuracy of QR complexity, potentially
Denoising And Deblurring
deblurring algorithms code scanning, requiring more processing
5 Authors: Mr. M. Vignesh, Irfanudheen, Mohammed Ali
to improve the accuracy especially in power and time, which could
Shihab, Mohammed Tashreef, Sainul Abid.
of scanning under poor environments with affect real-time performance.
conditions. noise, blur, or low 4o
image quality
8 Second Review Wednesday, November 6, 2024
Objective
• The main objective of an employee attendance system using QR codes is to enhance the efficiency and accuracy of tracking
employee attendance by automating the process.
• This system aims to provide real-time recording and monitoring of attendance data, making it convenient for employees to
mark their attendance quickly using QR codes scanned via mobile devices or dedicated scanners. By automating attendance
tracking, the system reduces manual errors, saves time, and simplifies the storage, retrieval, and management of attendance
records.
• Security is a key focus, ensuring that attendance data is secure and accessible only to authorized personnel. Additionally, the
system is designed to generate comprehensive reports and analytics on attendance patterns, aiding in informed decision-
making.
• This approach is also cost-effective, reducing expenses associated with traditional attendance systems, such as paper-based
records or manual data entry. Furthermore, the system can be integrated with other HR and payroll systems, ensuring
seamless data flow and improving overall organizational efficiency.
9 Second Review Wednesday, November 6, 2024
PROJECT VIVA-VOCE
Functional Layout
Register employee ID Card Generation Employee Login For Scan QR Code For Employee Attendance
with their details With QR Code Aunthentication Marking Attendance Was Stored In Database
Registration Form ID Card Generation
Login Form Unit QR Scanning Unit Database Unit
Unit Unit
10 Second Review Wednesday, November 6, 2024
Methodology
System Design:
The system is designed to utilize QR codes for efficient employee attendance tracking. A web-based platform built using PHP
and hosted on a XAMPP server serves as the backbone of this system.
QR Code Generation:
Unique QR codes are generated for each employee. These QR codes contain encrypted information that identifies the
employee, ensuring security and accuracy in attendance tracking . QR codes are generated using PHP libraries and stored in the
database associated with each employee’s profile.
Employee Registration:
Employees register their profiles on the web platform by providing necessary details such as name, employee ID, and contact
information. During registration, their unique QR code is assigned and made available for download or print.
Employee Login:
After employee registration , they have to login with their employee ID and password for authentication.
11 Second Review Wednesday, November 6, 2024
Attendance Marking:
To mark attendance, employees scan their unique QR codes using a standard QR code scanner on their mobile devices. The
scanned data is sent to the web server, where it is decrypted and verified against the database records.
Data Storage:
Attendance data, including the date, time, and employee ID, is stored securely in a MySQL database. The PHP backend
ensures that the data is recorded accurately and is accessible for generating reports and analysis.
Security Measures:
To ensure the security and integrity of the data, encryption is used for QR code generation and data transmission.
Additionally, access to the platform is restricted to authorized personnel, and regular backups of the database are conducted
to prevent data loss.
12 Second Review Wednesday, November 6, 2024
Block Daigram
13 Second Review Wednesday, November 6, 2024
Implementation
For implementing your QR Employee Attendance System, here's an overview of the required processes:
Components:
Web Server: XAMPP, running Apache and MySQL for local development.
Backend: PHP for server-side scripting.
Frontend: HTML, CSS, JavaScript for the user interface.
Database: MySQL to store employee details and attendance records.
QR Code Generator: PHP libraries like phpqrcode for generating QR codes.
QR Scanner: Mobile device or web-based QR scanner.
Specifications:
System Requirements:
Server: PHP 7.4 or higher, MySQL 5.7 or higher.
Client: Modern web browser (Chrome, Firefox, etc.).
14 Second Review Wednesday, November 6, 2024
User Roles:
Admin: Manages employee records, attendance reports.
Employee: Views profile, scans QR for attendance.
Security Protocols:
Encrypted QR data using AES or another secure method.
HTTPS for secure data transmission.
Coding:
QR Code Generation:
php
include('phpqrcode/qrlib.php'); $data = "EmployeeID:1234"; $filename = 'qrcodes/employee_1234.png’;
QRcode::png($data, $filename, QR_ECLEVEL_L, 10);
Employee Registration:
Create a form (registration.php) that captures employee details and inserts them into the MySQL database.
15 Second Review Wednesday, November 6, 2024
Login System:
Use password_hash() for storing secure passwords and password_verify() for authentication.
Attendance Recording:
php
if (isset($_POST['scan_data'])) {
$scan_data = decrypt($_POST['scan_data']); // Custom decrypt function
$query = "INSERT INTO attendance (employee_id, scan_time) VALUES ('$scan_data', NOW())";
mysqli_query($conn, $query);
}
Application:
Employee Dashboard: Displays employee profile, QR code, and attendance records.
Admin Dashboard: Shows employee management tools, attendance logs, and reports.
QR Code Scanner: Implement a web-based JavaScript scanner using qrcode.js or a mobile app that communicates with the
server.
16 Second Review Wednesday, November 6, 2024
Integration:
Database Connection:
php
$conn = new mysqli('localhost', 'username', 'password', 'attendance_db’);
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
API Endpoints:
Create endpoints for submitting scanned QR data and retrieving employee attendance logs.
Security Enhancements:
Implement CSRF tokens for form submissions and input validation to prevent SQL injection.
Schedule regular backups using a cron job for data safety.
17 Second Review Wednesday, November 6, 2024
Results/Working
18 Second Review Wednesday, November 6, 2024
Results/Working
19 Second Review Wednesday, November 6, 2024
Results/Working
20 Second Review Wednesday, November 6, 2024
Conclusion & Future Scope
Overall System Performance:
➢ The system successfully handled up to 500 concurrent users with no significant performance issues.
➢ Attendance logging was accurate, with a success rate of 98% in the functional tests.
➢ The offline mode provided resilience in areas with poor connectivity.
In summary, the research findings have highlighted several issues that can impact the effectiveness and efficiency of
employee attendance processes. Through the development of a QR code-based employee attendance system for factories,
the following key conclusions have been drawn. Firstly, the implementation of this Attendance application has the potential
to significantly accelerate the attendance recording process for employees. Secondly, the adoption of a QR Code based
system simplifies the management and retrieval of employee attendance data and information for staff members. Lastly, the
user-friendly nature of the designed Attendance system allows for easy integration and application across various
companies. Overall, the use of QR codes in employee attendance management offers a promising solution to enhance
efficiency and convenience in the workplace.
21 Second Review Wednesday, November 6, 2024
Future Scope:
The QR code-based attendance system has a bright future scope due to the following reasons:
Improved accuracy: The QR code-based attendance system eliminates the manual recording of attendance and reduces the
possibility of errors. It ensures that the attendance data is accurate, which is crucial for academic institutions, government
organizations, and private firms.
Time-saving: The QR code-based attendance system is significantly faster than traditional attendance methods, such as
paper-based or biometric systems. It reduces the time required to record attendance, which can be used for other productive
activities.
Cost-effective: The QR code-based attendance system is cost-effective in the long run as it eliminates the need for paper-
based systems and reduces the maintenance costs of biometric systems.
Security: The QR code-based attendance system is more secure than paper-based systems as it reduces the possibility of
fake attendance. The system can also be configured to generate a unique QR code for each class or session, which ensures
that the attendance data is accurate.
22 Second Review Wednesday, November 6, 2024
References
[1] "Embedding Secret Data in QR Code". Archived from the original on 30 October 2018. Retrieved 29 October 2018.
[2] Hung, Shih-Hsuan; Yao, Chih-Yuan; Fang, Yu-Jen; Tan, Ping; Lee, RuenRone; Sheffer, Alla; Chu, HungKuo (1 September
2020). "Micrography QR Codes". IEEE Transactions on Visualization and Computer Graphics. 26 (9): 2834–2847.
doi:10.1109/TVCG.2019.2896895. ISSN 1077-2626. PMID 30716038. S2CID 73433883. Archived from the original on 21 April
2021. Retrieved 21 April 2021.
[3] "The Little-Known Story of the Birth of the QR Code". 10 February 2020. Archived from the original on 4 March 2020.
[4] "2D Barcodes". NHK World-Japan. 26 March 2020. Archived from the original on 7 April 2020. Retrieved 7 April 2020.
[5] "U.S. and UK increase of QR code use 2020". 6 July 2021. Archived from the original on 14 August 2021. Retrieved 13 August
2021.
23 Second Review Wednesday, November 6, 2024
PROJECT VIVA-VOCE
THANK YOU
24 Second Review Wednesday, November 6, 2024
PROJECT VIVA-VOCE