Base Paper
Base Paper
AI-Powered Smart
Attendance System Using
NFC (PN532), Face
Recognition
1 2 3 4
UG Scholar,M.Monika
Dept. of Artificial
, A.Niranjan
Intelligence
, M.Sabarisan
and Data , S.B.Sachin
Science, Jayalakshmi
, M.Muthualagu,
Institute of 5Technology,
M.E.,
1234
Tamilnadu, India
Assistant Proffessor, Dept. of Artificial Intelligence and Data Science, Jayalakshmi Institute of 2
Technology, Tamilnadu, India5
3
Abstract—In educational institutions, traditional attendance into the system to handle student and staff queries, such as
marking methods are prone to inefficiencies, proxy attendance, checking attendance records, retrieving historical data, and
and manual errors. To address these challenges, this paper sending automated reminders in case of absenteeism. The
proposes an AI-powered Smart Attendance System that
integrates NFC, face recognition, GPS-based geofencing, and attendance data is securely stored on an SD card and cloud
health monitoring using a temperature sensor. The system database (Firebase), while a GSM module (SIM800L) is used
utilizes an NFC reader (PN532) and face recognition module for to send real-time SMS notifications to parents and faculty.
dual authentication, ensuring accuracy in attendance tracking. A The proposed system offers a highly automated, contactless,
GPS module (NEO-6M) is installed at the classroom entrance to and tamper-proof attendance solution that enhances security,
verify the student’s real-time location, preventing proxy
accuracy, and efficiency. Experimental results demonstrate the
attendance by ensuring that attendance can only be marked
within the predefined geofenced area. Additionally, a effectiveness of combining AI, IoT, and biometric
temperature sensor (MLX90614) is used to detect fever in authentication for attendance management, making it a
students before they enter the classroom, enhancing health safety. scalable and robust solution for modern educational
institutions and workplaces.
Furthermore, an AI chatbot is integrated into the system to
assist students and staff with real-time attendance queries, such II.LITERATURE SURVEY
as checking attendance status, retrieving past attendance records,
and sending automated alerts in case of absenteeism. The Several research studies and technological advancements
attendance data is stored securely on an SD card and cloud have contributed to the evolution of automated attendance
database (Firebase), with automated SMS notifications sent to systems. Traditional attendance methods, such as manual roll
parents and staff via a GSM module (SIM800L). The system is calls and biometric fingerprint scanners, have been widely
designed for real-time monitoring, automated data analysis, and used but suffer from inefficiencies, security concerns, and the
improved security, offering a reliable and efficient attendance
management solution. Experimental results demonstrate a high possibility of proxy attendance. To overcome these challenges,
accuracy rate in face recognition and NFC validation, with researchers have explored the use of NFC, facial recognition,
precise GPS tracking and effective temperature screening. This GPS-based tracking, and AI-driven automation for attendance
smart attendance system provides a scalable and intelligent management.
solution for modern educational institutions. In [1], an NFC-based attendance system was introduced,
where students tapped their NFC Tags on a reader, and
attendance was recorded in a database. While this method
Keywords: Smart Attendance System, NFC, Face Recognition,
GPS Geofencing, Temperature Sensor, AI Chatbot, Raspberry Pi,
improved efficiency, it was prone to proxy attendance since
IoT, SIM800L, Automated Attendance, Machine Learning, Real- NFC Tag or Mobile could be exchanged among students. To
Time Monitoring, Health Screening, Educational Technology. address this limitation, studies such as [2] implemented face
recognition systems to authenticate students using deep
I. INTRODUCTION learning algorithms. While effective, these systems faced
The chatbot significantly reduced administrative workload and using fixed GPS modules at classroom entrances, making
improved user engagement. location tracking independent of student devices.
Building on these advancements, our proposed AI-based
Smart Attendance System integrates NFC authentication,
G. Health Monitoring with Temperature Sensors
facial recognition, GPS geofencing, temperature screening,
and an AI chatbot to provide an automated, secure, and With growing health concerns, temperature sensors have
efficient attendance solution. This multi-modal approach been integrated into attendance systems to screen students for
addresses the limitations of previous studies while enhancing fever before entering classrooms. In [5], an MLX90614
reliability, accuracy, and user experience. infrared temperature sensor was implemented to perform non-
contact temperature checks, ensuring health safety in
educational institutions.
A. Traditional Attendance Methods
Manual attendance tracking using registers and roll calls is
H. AI Chatbots for Attendance Query Automation
still widely used in educational institutions. However, this
approach suffers from human errors, proxy attendance, and Managing attendance records and handling student queries
time inefficiencies. It also requires manual data entry, which can be time-consuming. Research in [6] proposed an AI
increases administrative workload and the risk of data loss. chatbot that provides real-time attendance information, sends
automated reminders, and reduces administrative workload.
This chatbot enhanced accessibility and streamlined
B. NFC-Based Attendance Systems attendance management.
Several studies have proposed NFC-based attendance systems Building on these advancements, our proposed AI-based
that allow students to scan NFC cards for authentication. Smart Attendance System integrates NFC authentication,
These systems are fast, contactless, and reduce manual work. facial recognition, GPS geofencing, temperature screening,
However, they have a major limitation—NFC tags can be and AI chatbot automation to create an efficient, secure, and
exchanged or misused, leading to attendance fraud. contactless attendance solution.
This work significantly improves the reliability of automatically. However, if a student forgets their NFC card
automated attendance systems, making them more secure, but is still physically present and identified via face
efficient, and user-friendly for educational institutions. recognition, the attendance status is marked as "Pending
Approval." Faculty members will have access to a verification
dashboard to manually approve such cases, ensuring flexibility
III. PROPOSED SYSTEM while maintaining accuracy
The proposed AI-based Smart Attendance System integrates
multiple technologies to provide a secure, automated, and IV. HARDWARE AND SOFTWARE REQUIREMENTS
contactless attendance tracking solution. It combines NFC The AI-based Smart Attendance System requires specific
authentication, facial recognition, GPS geofencing, infrared hardware and software components to ensure seamless
temperature screening, and an AI chatbot to enhance operation, efficient data processing, and real-time
efficiency and prevent fraudulent attendance. communication.
Students scan their NFC cards at the classroom entrance,
and the system simultaneously captures their face image for 4.1 Hardware Requirements
verification. To prevent proxy attendance, geofencing
technology ensures that students are physically present in the 1. Raspberry Pi Zero 2W – The central processing unit for
classroom before marking them as present. A non-contact managing NFC, face recognition, and data storage.
infrared temperature sensor checks the student's body 2. NFC Reader (PN532) – Reads student NFC cards for
temperature, and if abnormal, alerts are sent to the authentication.
administration. Attendance records are stored securely in CSV 3. NFC Tags – Unique ID cards assigned to each student.
format on an SD card connected to the Raspberry Pi Zero 2W. 4. Raspberry Pi Camera Module (5MP/8MP) – Captures
Additionally, an AI chatbot assists students and faculty by facial images for verification.
providing real-time attendance records, answering attendance- 5. MLX90614 Infrared Temperature Sensor – Conducts
related queries, and sending notifications for absentees. The non-contact temperature screening.
chatbot can be accessed through a web-based or mobile 6. GPS Module (NEO-6M) – Ensures location-based
platform, reducing administrative workload. The system also attendance verification via geofencing.
features automated SMS alerts to notify parents and staff 7. SIM800L GSM Module – Sends SMS alerts to staff and
about students' attendance status. parents regarding student attendance.
This hybrid approach ensures accuracy, security, and 8. Micro SD Card (32GB or higher) – Stores attendance
efficiency, addressing common issues such as proxy records and system logs.
attendance, mobile dependency, and health safety concerns in 9. MAX7219 LED Matrix Display – Displays attendance
traditional attendance systems. status and alerts.
10. Power Supply (5V, 2.5A) – Provides necessary power to
The proposed system integrates NFC, face recognition, and the Raspberry Pi and peripherals.
GPS-based verification to ensure secure and automated
attendance tracking. Students are required to scan their NFC 4.2 Software Requirements
tags upon entering the classroom, and their faces are
simultaneously recognized by the AI system. GPS validation 1. Operating System: Raspberry Pi OS (Lite) – Lightweight
is used to confirm the classroom location. However, in cases OS for running the system efficiently.
where students forget their NFC cards, attendance verification 2. Programming Languages: Python (for face recognition,
will not be automatically approved. Instead, such cases will be NFC integration, and chatbot).
flagged for manual approval by the faculty. Faculty members 3. Face Recognition Libraries: OpenCV and dlib – Used for
can review flagged attendance entries and approve or reject image processing and identity verification.
them based on in-person confirmation, ensuring a secure and 4. Database & Storage: CSV file format for storing
fair attendance system while minimizing fraud. attendance data.
5. Flask Framework: Web-based access to attendance
records and chatbot integration.
A. Attendance Verification Process
6. AI Chatbot: Implemented using Dialogflow or an NLP-
Attendance verification follows a three-step process: based chatbot API.
1. NFC Scan – The student scans their NFC tag for 7. Geofencing API: Python-based GPS tracking to validate
identification. student location.
2. Face Recognition – The system matches the scanned 8. Twilio/Fast2SMS API: Sends automated attendance
student’s face with pre-registered data. notifications via SMS.
3. GPS Validation – The fixed GPS module confirms that
the student is inside the classroom. The integration of these hardware and software components
ensures secure, accurate, and real-time attendance tracking in
If all three conditions are met, attendance is marked
6
IX. CONCLUSION [10] D. Luo and G. Shen, “Hybrid attendance system using NFC, NFC, and
GPS geofencing,” IEEE Transactions on Embedded Systems, vol. 14, no. 5,
The AI-based Smart Attendance System using NFC, face pp. 670–683, 2022.
recognition, GPS-based geofencing, temperature sensors, and [11] H. Tanaka, Y. Nakamura, and K. Fujimoto, “Deep learning for occlusion-
robust face recognition in classroom attendance,” Journal of Artificial
an AI chatbot provides an innovative and automated solution Intelligence Research, vol. 40, pp. 125–140, 2023.
for attendance management. By integrating multiple [12] M. Carter and B. Young, “IoT-enabled classroom automation using smart
authentication methods, the system ensures higher accuracy, attendance tracking,” International Conference on Internet of Things and AI
Applications (IoTAA), pp. 410–419, 2022.
security, and efficiency compared to traditional attendance [13] S. Verma and T. Bose, “Optimized BLE-based geofencing for real-time
tracking techniques. student tracking,” IEEE Wireless Communications Letters, vol. 10, no. 9, pp.
Through experimental analysis, the system demonstrated 2205–2210, 2023.
high recognition accuracy (96.5%), fast NFC scanning, [14] R. Chen, L. Gao, and D. Sun, “Real-time SMS notifications for
attendance monitoring using GSM and IoT,” IEEE Internet of Things
effective GPS-based validation, and real-time SMS alerts for Conference (IoTC), pp. 98–106, 2022.
attendance updates. The inclusion of temperature screening [15] J. Kim, P. Huang, and M. Zhang, “Enhancing face recognition accuracy
adds an extra layer of safety, ensuring students' health is with multi-sensor fusion,” IEEE Transactions on Computer Vision, vol. 20,
no. 4, pp. 561–574, 2022.
monitored. Additionally, the AI chatbot enhances user [16] N. Ahmed and H. Khan, “Secure NFC-based attendance using AES
experience by providing instant attendance reports and encryption and IoT cloud integration,” International Journal of Cybersecurity
answering queries. Research, vol. 19, no. 2, pp. 190–205, 2023.
[17] S. Williams and R. Clark, “Speech-based AI assistants for automated
While challenges such as face occlusions, GPS accuracy classroom attendance,” IEEE Artificial Intelligence in Education Conference
issues, and network dependencies were identified, the system (AIEC), pp. 320–329, 2022.
can be further improved through advanced AI models, hybrid [18] B. Lee and T. Choi, “Multi-factor authentication for AI-based smart
attendance,” IEEE Smart Security Journal, vol. 14, no. 3, pp. 142–153, 2023.
geofencing techniques, and cloud-based data management. [19] H. Zhang, Y. Liu, and X. Wei, “AI-powered attendance dashboards with
Future enhancements, such as BLE-based smart attendance, student performance insights,” IEEE Big Data Analytics Conference (BDAC),
AI-driven analytics, and voice recognition chatbots, can make pp. 78–86, 2023.
[20] P. Sharma, R. Gupta, and N. Kapoor, “Evaluating the effectiveness of
this solution even more robust and scalable. non-contact temperature sensors in attendance systems,” Journal of Embedded
Overall, the proposed system offers a highly automated, Systems and AI Integration, vol. 18, no. 2, pp. 210–225, 2023.
contactless, and intelligent approach to attendance monitoring,
making it a valuable innovation for educational institutions
and corporate environments.
REFERENCES
[16] N. Ahmed and H. Khan, “Secure NFC-based attendance using AES
encryption and IoT cloud integration,” *International Journal of Cybersecurity
Research*, vol. 19, no. 2, pp. 190–205, 2023.
[2] Y. Li and H. Wang, “Deep learning-based face recognition for automated
attendance systems,” IEEE Transactions on Artificial Intelligence, vol. 9, no.
2, pp. 102–110, 2021.
[3] S. Patel, K. Gupta, and M. Reddy, “GPS-enabled attendance tracking
system using geofencing,” International Conference on Embedded Systems
and AI Applications (ICESA), pp. 245–250, 2023.
[4] J. Brown, L. Zhang, and K. Thompson, “Enhancing attendance security
with fixed-location GPS validation,” IEEE Internet of Things Journal, vol. 7,
no. 6, pp. 3180–3192, 2022.
[5] P. Kumar and A. Mehta, “Non-contact infrared temperature monitoring for
classroom safety,” International Journal of IoT & Healthcare, vol. 12, no. 3,
pp. 45–52, 2023.
[6] R. Singh, D. Kaur, and M. Shah, “AI chatbot for real-time attendance
queries and automation,” IEEE Conference on AI and Cloud Computing
(ICAICC), pp. 87–93, 2023.
[7] L. Fernandez, A. Kumar, and R. Bose, “Edge AI for real-time face
recognition in attendance monitoring,” IEEE Access, vol. 11, pp. 45567–
45580, 2023.
[8] C. Wong, S. Li, and H. Zhao, “NFC attendance tracking with blockchain
security,” International Journal of Secure Computing, vol. 15, no. 1, pp. 32–
45, 2023.
[9] A. Das and P. Roy, “Cloud-based attendance management system with AI-
driven insights,” IEEE Cloud Computing Conference (ICCC), pp. 210–219,
2023.