Final Report
Final Report
Belagavi - 590018
A Project Report on
BACHELOR OF ENGINEERING
IN
CERTIFICATE
Certified that the project work entitled “REAL TIME AI POWERED FACE
RECOGNITION SYSTEM WITH DATABASE INTEGRATION” is a bonafide
work carried out by
2.
ABSTRACT
This project is intended to develop a real-time face recognition system through the
integration of AI with database management for enhanced functionality and performance.
This system detects faces from live video streams using advanced computer vision
algorithms, which thoroughly analyse the faces, drawing out distinctive facial features to
enable deep learning techniques to match faces against an already pre-existing database.
The seamless integration with real-time databases will ensure speedy and accurate
identification, allowing immediate responses based on the recognized individuals.
This system offers a significant advancement in AI-powered computer vision, with
extensive applications in security, access control, and personalized user experiences.
Combined with the latest in AI, this solid database integration provides a system that will
improve not only the field of security but also ensure seamless, customized user
experiences within all manners of environments. There needs to be further development of
these systems in varieties for the continued growth of AI technologies that solve realistic
problems innovatively.
ACKNOWLEDGEMENT
The success and final outcome of this project required a lot of guidance and assistance from
many people and we are extremely fortunate to have got their support all along the
completion of our project.
We express our heartfelt gratitude to our Parents for their unwavering moral
support, encouragement, and belief in us and motivating us in completing this project.
We extend our profound gratitude and deep regards to our Project Guide, Prof.
Nagaraja Hebbar N, Associate Professor and Head of the Department of Artificial
Intelligence and Data Science, for his invaluable support, constructive feedback, and
guidance throughout the various stages of this project. His enthusiasm, insightful ideas, and
critical reviews have significantly enhanced the quality of our work.
Our sincere thanks go to the Project Coordinator, Prof. Ganapathi Sharma K, Associate
Professor, Department of Artificial Intelligence and Data Science, for his exemplary
guidance, monitoring, and constant encouragement throughout the course of this project.
His contribution will always be remembered.
We also extend our heartfelt gratitude to our Principal, Dr. Shrinivasa Mayya D,
for his kind cooperation and encouragement, which greatly helped us in the completion of
this project.
We express our appreciation to the Management for their direct and indirect
support, ensuring the successful completion of this project.
We are thankful to all the Teaching and Non-teaching staff of the Department of
Artificial Intelligence and Data Science for their constant encouragement, support, and
guidance during this project.
We would like to thank our Friends, with whom we shared our day-to-day
experiences, and who offered invaluable suggestions that improved the quality of our work.
Their companionship and ideas were instrumental in achieving this milestone.
AHANIJA NARAYANA CH
PRANAVA SHARMA K
PRATHVIRAJ
WINSTON FERNANDES
TABLE OF CONTENTS
CHAPTER TITLE PAGE
No. No.
1 INTRODUCTION 1
2 LITERATURE SURVEY 4
4 SYSTEM DESIGN 10
6 SYSTEM TESTING 20
7 SCREENSHOTS 22
8 RESULT ANALYSIS 28
9 USER MANUAL 29
REFERENCES
LIST OF FIGURES
FIGURE TITLE PAGE
No. No.
4.1 Use Case Diagram for Admin and User 10
Attendance Management
Attendance Management
Attendance Management
Attendance System
INTRODUCTION
Real-Time Facial Attendance System Introduction
CHAPTER 1
INTRODUCTION
Moreover, existing systems often lack robust security measures, making it difficult to
ensure that only registered students are present on campus. There is an urgent need for an
automated, accurate, and secure system that can effectively streamline attendance tracking
processes and enhance overall institutional security.
LITERATURE SURVEY
Real-Time Facial Attendance System Literature Survey
CHAPTER 2
LITERATURE SURVEY
This paper [1], has proposed a CNN and Adaboost fusion model for multiface recognition
in the automated student attendance system. Haar-cascade-based feature extraction makes
the recognition of more than one face under varying conditions possible, with an accuracy
of 100%. The model incorporates IoT technology in providing real-time global attendance
data collection and exhibits its capability to efficiently track attendance.
In another paper [2], an intelligent face recognition system is proposed for good
attendance management. The approach is said to achieve an accuracy rate of 82.1%, with a
very small processing time. Therefore, the method can be implemented in combination with
other ones and also takes the record-keeping process onto the cloud, hence making it easier
to trace the attendance.
The paper [3], also introduces an automated tracking system through facial
recognition technology, in which features extracted using deep learning combined with
high-end algorithms for identification. It will track attendance at an educational and
corporate level with much efficiency and security to enrich big accuracy through real-time
updating of data.
The Paper [4], proposed a smart attendance system that applies the "Face
Recognition" method for automated creation of attendance. It creates a unique face
encoding from the students and automatically marks attendance that can be viewed through
real-time live video feeds. In this way, all these stored records are maintained on Firebase
Real-time Database in an easily accessible way by any faculty member.
The study proposes in the paper [5], a face recognition system using deep learning,
Principal Component Analysis, Support Vector Machines, and K-Nearest Neighbors to
ease attendance in institutes. This face recognition system has achieved 96.8% accuracy,
further smoothing the process of attendance tracking by reducing frauds and enhancing
accuracy.
This paper [6], proposed the use of OpenCV for automating the attendance record,
presenting an automated face name list. The proposed system allows attendance reporting;
the format for saving is Excel. Besides, it has a high level of recognition accuracy across
higher recognition parameters. These are bound to assist conventional methods of
managing classrooms, largely reducing manpower and lowering expenses incurred during
the process.
The paper [7], is realized in this study by a facial recognition-based attendance management
system, which utilizes the Fisher Face Recognizer algorithm and a classifier called Haar
cascade to identify the student and record his attendance. It will also generate and send an
email with the attendance report to professors, automating this task, and thereby enhancing
the efficacy and efficiency of current attendance management practices.
This paper [8], presented an AI-based Face Recognition Attendance System that
allows automation of processes for face recognition to maintain student attendance records.
Such a method strengthens the circle of accuracy in the maintenance of attendance records,
enables efficiency in real-time management and processing, and shrinks administration
overhead. This optimally manages the process proper attendance in real-time, with updated
knowledge and spotless records [9].
The study of paper [10], involves the introduction of a face recognition attendance
system that automates attendance marking using face detection in order to increase the
accuracy in organizational settings. Since they replace manual mechanisms, it actually
saves time and paperwork, hence giving better efficiency and effectiveness related to
attendance systems.
The paper [11], proposes a Facial Recognition Attendance Monitoring System,
which uses deep learning for image capturing and face detection through algorithms such
as Haar-cascade and Fisher Face, followed by marking the attendance in Excel sheets. This
method enhances accuracy and efficiency significantly in educational settings.
This paper [12], describes a real-time face recognition attendance system based on
the usage of facial recognition technologies. The proposed system automates attendance
and eliminates the use of proxy attendance in workplaces and institutes for higher learning
by incorporating an already trained SVM classifier using CNN for feature extraction.
Another paper [13], application could be the attendance system of the students
through face recognition. This will automatically update student attendance in real-time
without requiring human intervention to count each person. This has the ability to use
OpenCV, Dlib, and CNN to detect and recognize faces; hence, marking attendance fast
even in a highly crowded environment.
The paper [14], describes a real-time attendance system with 92% accuracy in
perfect lighting. For face detection, OpenCV has been used, while for recognition, KNN is
applied. It captures ten images of every individual so that the system can be robust enough
for different facial expressions.
In the paper [15], further presented the advantages of the Facial Recognition-based
Attendance System, embodied with anti-spoofing techniques. These systems enhance
precision and security in attendance tracking of both educational and corporate levels
through advanced algorithms tracing special facial features.
In paper [16], proposes a novel face anti-spoofing approach using 3D convolutions
combined with vision transformers for better liveness detection. Besides, learnable gradient
operators are incorporated and achieve lower classification error rates compared to
traditional 2D CNN methods on several datasets.
In the paper [17] and proposes a lightweight face recognition attendance system
with liveness detection using MobileNetV2 on a Raspberry Pi. This system gives 96%
accuracy for live subjects with processing times less than 0.6 seconds and effectively
reduces face spoofing attacks while ensuring portability.
SYSTEM
REQUIREMENT
SPECIFICATION
Real-Time Facial Attendance System System Requirement Specification
CHAPTER 3
Tkinter: Version 8.6, a standard library for developing the user interface in Python.
Python Imaging Library (PIL): Used for image pre-processing, particularly for
Gray scaling and enhancing image quality.
3.2.2 Hardware Requirements
Processor: Minimum Intel Core i5 or equivalent AMD processor to handle
computational demands efficiently.
Storage: A minimum of 16 GB RAM and 512 GB SSD to support smooth operation
and data storage.
Web Camera: A camera with a minimum resolution of 12 MP to capture high-
quality facial images.
Computer: It act as a both input and output device having above mentioned
features, receiving data through peripherals like keyboard and mouse and delivering
result via system GUI.
SYSTEM DESIGN
Real-Time Facial Attendance System System Design
CHAPTER 4
SYSTEM DESIGN
4.1 Use Case Diagram for Real Time Face Recognition System
with Database Integration
The use case diagram models the interactions between the actors (users) and the system for
real-time face recognition attendance. It highlights the roles of the student and the
administrator in managing and tracking attendance via the system.
System Overview:
o The system involves capturing a student’s image and verifying their identity
through face recognition, enabling them to either register a new face or take
attendance.
Actors:
o Student: Initiates the system by clicking “Take image.” If recognized, the
system marks attendance; otherwise, the student may register as a new user.
o Administrator: Monitor’s attendance reports generated by the system for
efficient tracking and record management.
Use Cases:
o Register New Student: Allows students to input their face into the system for
future recognition.
o Take Attendance: Matches the face with existing data and records the student's
attendance.
o View Attendance: Admins can access and manage attendance reports based on
recognized faces.
Figure 4.1 showcases a face recognition system designed for student attendance. We see a
student interacting with the system, represented here as a computer. To begin, the student
clicks "Take image," prompting the system to identify their face.
Following successful face detection, the student has two options. They can either
register a new face by clicking "Register new students" and taking another picture. which
will be stored in the system's database for future recognition. Alternatively, if the student
is already registered, they can choose "Take attendance." The system then compares the
detected face to the existing database and marks their attendance accordingly.
An administrator also plays a role in this system. They have access to view
attendance reports generated by the face recognition software, allowing them to monitor
student presence efficiently.
This figure 4.2 visualizes the interactions and the order in which the system components
interact with the student, leading to either successful recognition and attendance marking
or further action for unrecognized leading to either successful recognition and automated
attendance marking by the system, or triggering a manual intervention for unrecognized
students.
Figure 4.3: Data Flow Diagram for Face Recognition Attendance Management
1. In this figure 4.4, the system is divided into two sections: Training and Testing. The
Training section refers to how the system learns to recognize faces, while the
Testing section refers to how the system is used to identify faces in an image or
video.
2. In the Training section, a dataset of images is used to train the system. This dataset
likely consists of multiple images of each person the system needs to recognize.
Each image is labelled with the identity of the person pictured.
3. During training, the system extracts feature from the training images. Facial features
are mathematical representations of a face’s characteristics, like the distance
between the eyes or the shape of the jawline.
4. A machine learning model, such as a Support Vector Machine (SVM), is used to
classify the extracted features. In essence, the SVM learns to associate specific
features with specific identities.
5. In the Testing section, a camera captures an image or video of a person. The system
then extracts features from this image and uses the SVM to classify those features,
identifying the person in the image or video.
Figure 4.5 shows the E-R diagram for vehicle document management. There are 3 entities
and they are User, Student and Attendance. The relation between User and Student is M:
N. The relation between User and Attendance is 1:N with partial participation and same
between Student and Attendance.
This schema diagram emphasizes the streamlined process of student registration, face
recognition, and attendance marking, while also facilitating administrative oversight
through an efficient database management system.
Figure 4.6, illustrates the interaction between the student and the administrator within the
face recognition attendance system. The student is depicted as a stick figure, and the admin
is represented by a computer.
SYSTEM
IMPLEMENTATION
Real-Time Facial Attendance System System Implementation
CHAPTER 5
SYSTEM IMPLEMENTATION
System implementation is the stage where the theoretical design is converted into a working
system, the new system may be totally new, replacing an existing manual, or automate
system or it may be a major modification to an existing system. The project is implemented
using MySQL Workbench and Visual Studio.
SYSTEM TESTING
Real-Time Facial Attendance System System Testing
CHAPTER 6
SYSTEM TESTING
Software testing is a common approach for evaluating the accuracy, completeness, security,
and consistency of computer applications. This covers the method by which the system is
run with the goal of detecting errors. Quality is subjective and valuable to different
stakeholders. Testing cannot fully demonstrate the correctness of an arbitrary computer
program but is essential for identifying program errors. Test cases are crucial for exposing
program issues, ensuring that code functions as intended.
Testing is performed to locate flaws, ensuring all previous steps' errors are resolved.
The system runs with a series of test cases to analyse software performance and confirm
proper execution. Identifying faults within a system is the first step toward improving its
functionality. Success depends on research systems revealing these faults effectively.
Table 6.1: Test Cases for Real-Time AI-Powered Face Recognition System with
Database Integration.
Sl. Test Procedure Pre-Condition Expected Result Passed/
No. Failed
The designed table 6.1, outlines the Test Cases for the Real-Time AI-Powered Face
Recognition System with Database Integration, detailing the Test Procedure, Pre-
Condition, Expected Result, and whether the test Passed/Failed.
SCREENSHOTS
Real-Time Facial Attendance System Screenshots
CHAPTER 7
SCREENSHOTS
criteria such as Student ID, Name, Department, Course, Year, and Semester. The "Class
Student Information" section displays detailed personal information including Student ID,
Name, Class Division, Roll No., Gender, DOB, Email, Mobile Number, Address, and
Teacher Name. The page also includes features for photo management, allowing users to
take, update, or replace student photos. With its organized layout and easy-to-navigate
interface.
also supported by features such as night vision, which helps improve performance with the
lighting conditions and even their environments. This smooth incorporation of web cameras
into classroom structures will ensure that the system captures accurate attendance
information while delivering reliable real-time insights.
RESULT ANALYSIS
Real-Time Facial Attendance System Result Analysis
CHAPTER 8
RESULT ANALYSIS
The system consists of several advanced models designed to optimize real-time attendance
management. Figure 8.1, include a Single Face Recognition model based on AI-powered
facial recognition, which achieved an accuracy of 96% in identifying individual faces in
real time, ensuring precise and efficient attendance marking. The Multiple Faces
Recognition model had a detection accuracy of 90%, enabling the system to recognize
students accurately in small groups while maintaining consistent performance. The Group
Faces Recognition model, designed to handle larger groups with environmental
complexities, achieved an accuracy of 88%, proving its robustness under challenging
conditions.
The spoof detection mechanism enhances system security by identifying and
preventing unauthorized access attempts through masks or photographs, ensuring the
integrity of attendance data. The database integration supports functionalities like real-time
attendance tracking, exporting attendance reports in CSV format, and maintaining detailed
student profiles. The system also incorporates web camera implementation, strategically
placed to capture high-quality video feeds, including support for low-light conditions
through night vision technology.
This advanced system optimizes attendance workflows with an intuitive design,
achieving automation while maintaining accuracy and reliability. It significantly reduces
manual intervention, making it a scalable solution for organizations.
CHAPTER 9
USER MANUAL
A user guide, sometimes called a user manual, is designed to assist users in using and
efficiently operating the Real-Time AI-Powered Face Recognition System with Database
Integration. The guide is a comprehensive source that explains all functionalities, features,
and processes involved in using the system, ensuring ease of use for both technical and
non-technical users.
Step 1: The starting phase is click on register or login for admin, first register with a
creating account and all details. Then login using email and password.
Step 2: After login it open an attendance management panel includes all resources like
student, Face detector and attendance panels etc.
Step 3: Once a attendance management panel is opened then click on student panel there
admin should enter the all students details and also taking their photos.
Step 4: After the student panel work completed then move on data train panel where each
student images are train itself once you put their images in student panel details filling time
that image train here only.
Step 5: Then click on face detector panel for it start attendance taking of each student using
IP camera that implemented to class and detect using admin stored database.
Step 6: Then next click on attendance panel where you can see attendance are stored in
CSV format of face detected of students using databases and also download option is their
for admin.
Step 7: The last panel is exit panel admin done all work then click on exit panel to close
all works.
The Real-Time AI-Powered Face Recognition System, with the integration of a database,
has been an innovative and efficient solution for attendance management. By integrating
advanced facial recognition technology with user-friendly interfaces, the system ensures
accurate and real-time tracking of attendance. Key features like spoof detection,
comprehensive student details, photo training, and seamless camera integration make it a
robust platform for secure and efficient operations. Also, the ability to generate detailed
reports and its intuitive design make this system practical. This project does demonstrate
how AI technology can streamline and enhance traditional processes by providing a reliable
and scalable solution for modern attendance needs.
The system comes with many promising prospects for potential future
enhancements. Scalability can be improved to cover larger data sets and enable multiple
locations to cater to institutions and other organizations. Integrating better AI models can
enhance facial recognition capabilities, resulting in optimal working in adverse conditions.
Adding cloud support will allow integration with all other platforms, ensuring real-time
data access with safe storage. Introducing AI-driven analytics will allow for predictive
insights and trend analysis to be made in order to enhance decision-making. Expanding
compatibility with smartphones, tablets, and IoT devices will increase accessibility. Stricter
privacy measures and compliance with global data protection standards will ensure ethical
and secure usage.
The other features such as multilingual support, gamification, and notification can
be included to increase user engagement and adaptability. These developments will
position the system as a holistic and future-ready solution for attendance management. 2
[4]. A. Ansari, A. Pujari, and K. Chaudhary, “Smart Attendance System: Using Facial
Recognition Technology,” International Journal for Multidisciplinary Research, vol. 6, no.
3, Jun. 2024, doi: 10.36948/ijfmr.2024.v06i03.23705.