PDF Rport File
PDF Rport File
Project Report
On
Replica AI
Submitted in partial fulfillment of the requirement for the award of the degree of
BACHELOR OF TECHNOLOGY
In
INFORMATION TECHNOLOGY
By:
DECLARATION
We declare that this project report titled “Replika 2.0”submitted in partial fulfillment of the degree of
B. Tech. in Information Technology is a record of original work carried out by us under the
supervision of Dr. Arpit Chhabra, and has not formed the basis for the award of any other degree or
diploma, in this or any other Institution or University. In keeping with the ethical practice in reporting
scientific information, due acknowledgements have been made wherever the findings of others have
been cited.
<Signature> <Signature>
Anuj Kumar Rohit Dubey
100210506 100210524
IT8th Semester IT8th Semester
<Signature>
Sarvjeet Singh
100210526
IT8th Semester
Place: Meerut
28 April 2025
ii
SIR CHHOTU RAM INSTITUTE OF ENGINEERING & TECHNOLOGY
CHAUDHARY CHARAN SINGH UNIVERSITY MEERUT
Approved by A.I.C.T.E., New Delhi
CERTIFICATE
This is to certify that the project report entitled “Replica 2.0” submitted by Anuj Kumar Sarvjeet
Singh & Rohit Dubey to the Sir Chhotu Ram Institute of Engineering & Technology, Meerut in partial
fulfillment for the award of the degree of B. Tech in Information Technology is a bona fide record of
project work carried out by him/her under my/our supervision. The contents of this report, in full or in
parts, have not been submitted to any other Institution or University for the award of any degree or
diploma.
<Signature> <Signature>
iii
ACKNOWLEDGEMENT
First and foremost, I bow my head in gratitude to the Almighty God for His countless blessings, and
strength that enabled me to successfully complete this project. His grace and mercy have been my source
of inspiration and perseverance throughout this journey.
I express my heartfelt gratitude to Prof. Sangeeta Shukla, Honorable Vice Chancellor of Chaudhary
Charan Singh University, for fostering an environment that encourages academic excellence and
innovation.
I am profoundly thankful to Prof. Sanjay Kumar Bhardwaj, Dean of Engineering & Technology, and Prof.
Niraj Singhal, Director of Sir Chhotu Ram Institute of Engineering & Technology, for their invaluable
support and for ensuring the smooth facilitation of resources and opportunities necessary for this work.
I extend my sincere appreciation to my supervisor, Dr. Rupal Chaudhary, for their unwavering guidance,
insightful feedback, and encouragement, which have been the cornerstone of this project. Their expertise
and dedication have significantly enriched my learning experience.
I am deeply thankful to Dr. Gaurav Tyagi, Project Coordinator & Er. Milind, Coordinator of the
Department of Computer Science, for their continuous support and for providing me with the necessary
facilities and a conducive environment to carry out my work.
I also wish to acknowledge my peers and colleagues for their constructive discussions, moral support, and
teamwork, which have greatly contributed to the progress of this project.
Finally, I owe my deepest gratitude to my family and friends for their unconditional love, support, and
encouragement throughout this journey.
This project stands as a testament to the collective efforts, guidance, and blessings I have received, and I
am sincerely thankful to all who contributed to its success.
iv
TABLE OF CONTENTS
DECLARATION ii
CERTIFICATE iii
ACKNOWLEDGEMENTS iv
LIST OF FIGURES vii
1. INTRODUCTION 1
1.1. Introduction of the Project 1
1.2. Objective& Scope of the Project 1
1.3. Problem Statement 2
2. LITERATURE REVIEW 3
2.1. Origin and Conceptual View 3
2.2. Impact of Learning Outcome 4
2.3. Teacher centric benefits 5
3. PROPOSED SYSTEM 6
3.1. Modulus and Sub Modulus 7
3.1.1.Course & Registration Module7
3.1.2.Course Content Management Module 7
3.1.3.Student Management Module7
3.1.4.Assessment & Evaluation Module7
3.1.5.Admin Management Module 7
3.1.6. Download & Offline Access Module 7
3.2. Features 8
3.3. System Advantages 9
4. SYSTEM ANALYSIS 8
4.1. Methodology 8
4.2. Hardware & Software Used 9
4.3. Testing 10
4.3.1. Unit Testing 10
4.3.2. Integration Testing 11
4.4. System Architecture Diagram 12
v
4.5. Flowchart for Attendance Process 13
4.6. Sequence Diagram for Attendance Marking 14
4.7. Database Design 15
5. SNAPSHOTS 16
6. RESULTS & CONCLUSION 17
6.1. Results 18
6.2. Conclusion 18
6.3. Future Scope 18
7. REFERENCES 19
vi
LIST OF FIGURES
vii
CHAPTER - 1
INTRODUCTION
Chapter 1
INTRODUCTION
These objectives collectively aim to enhance the accuracy, reliability, and efficiency
of attendance management in educational institutions.
1
Scope
The scope of this project is vast, with potential applications in diverse educational
and organizational settings. Key areas covered by the system include:
It minimizes the risks of manual errors, enhances data security, and provides
administrators with a reliable and efficient tool for managing attendance records.
1.3PROBLEM STATEMENT
Traditional attendance management systems often struggle with inefficiencies and
inaccuracies, making them unsuitable for modern educational and corporate
environments. Below are the primary challenges these systems face:
2
CHAPTER - 2
LITERATURE REVIEW
Chapter 2
LITERATURE REVIEW
Ranjan et al. (2019): The paper "Deep Learning for Face Recognition: A
Critical Analysis" provided a comprehensive evaluation of convolutional
neural networks (CNNs) in face recognition. It highlighted that CNNs excel
in learning hierarchical representations of facial features, allowing systems to
perform accurately across diverse datasets. Ranjan's analysis demonstrated
that pre-trained deep models could generalize effectively to real-world
conditions, such as varying expressions and environments.
3
Our project leverages CNN-based algorithms via the face_recognition library,
utilizing pre-trained models to achieve high accuracy and efficiency in student
identification during attendance marking.
The anti-spoofing mechanism in our system applies deep learning models trained on
spoofing datasets to detect fraudulent attempts, ensuring secure attendance marking.
4
Cloud platforms are increasingly being used to enhance the scalability and
accessibility of automated systems. They enable real-time data synchronization and
provide robust APIs for seamless integration.
Basu et al. (2018): The paper "Google Sheets API for Real-Time Data
Logging" demonstrated how educational institutions could use the Google
Sheets API to simplify attendance tracking. Basu highlighted that cloud
integration reduced administrative overhead by enabling automated data
synchronization, eliminating manual updates.
In our project, the gspread library facilitates seamless interaction with Google
Sheets, ensuring attendance records are updated in real-time and accessible to
administrators from any device.
5
CHAPTER - 3
PROPOSED SYSTEM
Chapter 3
PROPOSED SYSTEM
3.2FEATURES
The Proposed System offers a range of features to address the challenges of
traditional attendance management systems:
6
This multi-faceted approach ensures that the system is user-friendly, secure, and
adaptable to diverse educational environments. The integration of these features
addresses core issues in attendance management while paving the way for future
enhancements.
Cost-Effective: As the system automates manual tasks and reduces the need
for physical presence to mark attendance, it can save time and resources for
both administrators and students.
This section highlights the key benefits, ensuring that the proposed system is not
only a more efficient but also a more secure alternative to traditional attendance
systems.
7
CHAPTER - 4
SYSTEM ANALYSIS
Chapter 4
SYSTEM ANALYSIS
2. Prototype Development:
A basic prototype of the system was developed to test the core functionalities
—face recognition, spoof detection, and Google Sheets integration.
This prototype allowed users to interact with the system early, providing
valuable feedback on the design and functionality of the system.
After the initial prototype was tested, the face recognition and anti-spoofing
modules were fine-tuned in successive iterations.
Tests were conducted in various environments and lighting conditions to
simulate real-world usage.
8
The RAD methodology ensured that the final system was not only functional
but also optimized for user experience and performance.
Hardware Used
1. Webcam
A built-in laptop camera is used to capture live video feeds for facial
recognition.
The quality of the webcam significantly affects the accuracy of face
detection, with higher-resolution cameras providing better results.
2. Computer System
Recommended Specifications:
3. Network Connectivity
Software Used
1. Operating System
9
Python 3.8 or later is used for the development of the system.
Python’s extensive library support and compatibility with machine learning
frameworks make it ideal for this project.
IDE/Editor: Visual Studio Code was used for coding and testing the system
modules.
4.3TESTING
Testing is a vital phase in the development lifecycle to ensure the system’s
functionality, security, and reliability. This section summarizes the key testing
methodologies applied to the automated attendance system.
4.3.1Unit Testing
Unit testing focuses on verifying the individual components of the system to ensure
they perform as intended.
1. Test Case 1
10
Objective: Verify that the system correctly identifies a registered student.
Procedure: The system captures a real-time image, compares it with pre-
stored facial embeddings, and verifies the output.
Expected Outcome: The correct student’s name is returned, and attendance
is logged.
2. Test Case 2
Objective: Verify the system’s behavior when multiple faces appear in the
frame.
Procedure: The camera captures a frame containing multiple faces.
Expected Outcome: The system processes only the intended student or
prompts the user to adjust.
1. Test Case 1
Objective: Ensure only authorized users can access the admin interface.
Procedure: An admin logs in with valid credentials, while an unauthorized
user attempts access.
Expected Outcome: Only the admin is granted access; unauthorized
attempts are blocked.
2. Test Case 2
Key Scenarios:
11
3. Duplicate Entries: A student tries to mark attendance twice on the same day,
and the system prevents the duplicate entry.
Testing Scenarios:
Description:
The User Interface (UI) captures images using the webcam and provides
control options for administrators to register students or monitor attendance.
Captured images are sent to the Backend System, where:
The Face Recognition Module identifies the student.
The Anti-Spoofing Module validates the authenticity of the face.
Verified attendance is recorded in Google Sheets through the API integration.
This architecture ensures a seamless flow of operations from face recognition
to secure attendance logging.
12
Fig.1 System Architecture Design
13
Stop: The system terminates the process after marking attendance.
Description of Sequence
The Admin starts the system, which initializes the webcam. oThe System
captures an image and sends it to the Anti-Spoofing Model for validation.
Based on the validation result: If valid:
The system queries the Database to identify the student.
Upon finding a match, the attendance is logged in Google Sheets. oA success
message is returned to the admin.
If invalid: A spoofing attempt is flagged, and the system notifies the admin.
14
This diagram clearly demonstrates the sequence of interactions among the system
components, ensuring robust security and efficiency.
4.7DATABASE DESIGN
The database design is a critical aspect of the system, ensuring efficient storage and
retrieval of attendance data. The system does not rely on a conventional SQL
database but instead uses a Google Sheet as its backend to maintain simplicity and
accessibility. This design choice makes the system lightweight and suitable for
educational institutions that require an easily shareable and manageable attendance
record.
The Google Sheet acts as the database, where each attendance entry is stored in a
tabular format with clearly defined columns:
Date: Represents the date when the attendance was recorded, ensuring that
records are organized chronologically.
15
The table structure in the Google Sheet is straightforward and user-friendly, with
rows being appended dynamically as new attendance entries are logged.
Example:
DATE NAME
The system appends a new row for each attendance entry, ensuring that each student
is only marked once per day.
16
CHAPTER - 5
SNAPSHOTS
Chapter 5
SNAPSHOTS
Fig.4.1.
17
Fig.4.2.
Fig.4.3.
18
Fig.4.4.
Fig.4.5.
Fig.4.6.
19
5.6 GOOGLE SHEETS INTEGRATION
Fig.4.7.
20
CHAPTER - 6
RESULTS & CONCLUSION
Chapter 6
RESULTS &CONCLUSION
This section highlights the outcomes of the developed automated attendance system
and provides insights into its effectiveness and significance. It also reflects on the
objectives achieved and suggests avenues for future development and enhancements.
6.1 RESULTS
The proposed system was rigorously tested to validate its performance, reliability,
and security. The following results were observed:
5. Admin Panel Functionality: The admin panel provided robust control for
registering students, monitoring attendance, and managing system operations.
6.2 CONCLUSION
21
The integration of facial recognition with anti-spoofing mechanisms ensures that the
system is secure and reliable. The use of Google Sheets for real-time attendance
storage further adds to the system’s versatility and convenience.
Eliminated the need for manual attendance marking, saving time and effort.
While the system has proven to be effective, there is always room for improvement
and expansion. Some potential enhancements include:
2. Support for Multiple Devices: Expanding the system to work with multiple
cameras for larger classrooms or venues.
By addressing these aspects, the system can continue to evolve, ensuring its
relevance and utility in dynamic educational and professional environments.
22
CHAPTER - 7
REFERENCES
Chapter 7
REFERENCES
23