Professional Documents
Culture Documents
submitted
in the partial fulfilment of the requirements for the award of the degree of
BACHELOR OF TECHNOLOGY
in
by
Ms. M. ARCHANA
(Senior Assistant Professor, CSE Department)
i
CERTIFICATE
This is to certify that the project entitled “ATTENDANCE SYSTEM USING FACE
RECOGNITION” that is being submitted by Nadeem, Rithwik, Tanay with roll numbers
19B81A05E8, 19B81A05G0, 19RA1A0545 in partial fulfilment for the award of Bachelor of
Technology in Computer Science and Engineering to the CVR College of Engineering, is a record of
bonafide work carried out by them under my guidance and supervision during the year 2022-2023 .
The results embodied in this project work has not been submitted to any other University or Institute for
ii
ACKNOWLEDGEMENT
I sincerely thank Dr.Ramamohan Reddy Kasa Principal, CVR College of Engineering, for her
cooperation and encouragement throughout the project.
I earnestly thank Dr. A Vani Vathsala, HOD, Department of CSE, CVR College of Engineering, for
giving timely cooperation and taking necessary action throughout the course of our project.
I express our sincere thanks and gratitude to my project coordinator and internal guide, Ms. M.
Archana(Senior Assistant Professor) , Department of CSE, CVR College of Engineering, for her
valuable help and encouragement throughout the project work.
Finally, I place in records my sincere appreciation and indebtedness to my parents and all the
lecturers for their understanding and cooperation, without whose encouragement and blessing it would
have been impossible to complete this work.
With Regards,
iii
ABSTRACT
v
entrepreneur competition going on,
the local shop owners now have to
take their business
strategies to a new level, by
including the digitalization and e-
marketing for their business.
They need to provide the
clients/customers door-step service,
where they can provide the
customer the most reliable and an
easy service.
We have taken over this project
of developing a website for an
authorized computer
hardware products dealer to help
him make profits in the earning and
provide the customers
vi
the features that can ease their
problems regarding what to buy
In today’s world, every retail shop
owner faces the problem of constant
fall of customers,
reason being the digital platforms
taking over the business world. In
order to survive the
entrepreneur competition going on,
the local shop owners now have to
take their business
strategies to a new level, by
including the digitalization and e-
marketing for their business.
They need to provide the
clients/customers door-step service,
where they can provide the
vii
customer the most reliable and an
easy service.
We have taken over this project
of developing a website for an
authorized computer
hardware products dealer to help
him make profits in the earning and
provide the customers
the features that can ease their
problems regarding what to buy
In today’s world, every retail shop
owner faces the problem of constant
fall of customers,
reason being the digital platforms
taking over the business world. In
order to survive the
viii
entrepreneur competition going on,
the local shop owners now have to
take their business
strategies to a new level, by
including the digitalization and e-
marketing for their business.
They need to provide the
clients/customers door-step service,
where they can provide the
customer the most reliable and an
easy service.
We have taken over this project
of developing a website for an
authorized computer
hardware products dealer to help
him make profits in the earning and
provide the customers
ix
the features that can ease their
problems regarding what to buy.
In today’s world, every retail shop
owner faces the problem of constant
fall of customers,
reason being the digital platforms
taking over the business world. In
order to survive the
entrepreneur competition going on,
the local shop owners now have to
take their business
strategies to a new level, by
including the digitalization and e-
marketing for their business.
They need to provide the
clients/customers door-step service,
where they can provide the
x
customer the most reliable and an
easy service.
We have taken over this project
of developing a website for an
authorized computer
hardware products dealer to help
him make profits in the earning and
provide the customers
the features that can ease their
problems regarding what to buy.
In today’s world, every retail shop
owner faces the problem of constant
fall of customers,
reason being the digital platforms
taking over the business world. In
order to survive the
xi
entrepreneur competition going on,
the local shop owners now have to
take their business
strategies to a new level, by
including the digitalization and e-
marketing for their business.
They need to provide the
clients/customers door-step service,
where they can provide the
customer the most reliable and an
easy service.
We have taken over this project
of developing a website for an
authorized computer
hardware products dealer to help
him make profits in the earning and
provide the customers
xii
the features that can ease their
problems regarding what to buy.
In today’s world, all institutions or offices faces issues regarding the maintenance of candidate’s
attendance or presence overtime and becomes difficult calculate on large scale maintenance in the case
The main purpose of this project is to build a face recognition-based attendance monitoring
system for educational institution to enhance and upgrade the current attendance system into more
efficient and effective as compared to before. The current system has a lot of ambiguity that caused
inaccurate and inefficient of attendance taking. The technology working behind will be the face
recognition system. The human face is one of the natural traits that can uniquely identify an individual.
In this project, face databases will be created to pump data into the recognizer algorithm. Then, during
the attendance taking session, faces will be compared against the database to seek for identity. When an
individual is identified, its attendance will be taken down automatically saving necessary information
into a excel sheet. At the end of the day, the excel sheet containing attendance information regarding all
In short, this upgraded version of attendance monitoring system not only saved many resources,
but also provide huge convenience to the authority as many process are automated.
xiii
TABLE OF CONTENTS
Table of Contents
Page No.
Abbreviations viii
1 Introduction 1-4
1.1 Motivation 1
5.3 Dataset 17
xiv
5.4 Process 18
7 Screenshots 23-27
References 28
Appendix: Source Code
LIST OF TABLES
xv
Table 3.1: Software Requirements 7
LIST OF FIGURES
xvi
INTRODUCTION
Attendance being a very necessary side of administration may normally become an arduous,
redundant activity, pushing itself to inaccuracies. In general, the attendance system of the student can be
maintained in two different forms namely,
Manual Student Attendance Management system is a process where a teacher concerned with the particular
subject need to call the students name and mark the attendance manually. Manual attendance may be
considered as a time-consuming process or sometimes it happens for the teacher to miss someone or students
may answer multiple times on the absence of their friends. So, the problem arises when we think about the
traditional process of taking attendance in the classroom. To solve all these issues we go with Automatic
Attendance System(AAS).Here, we explore about AAS.
1.1 MOTIVATION
The traditional approach of making roll calls proves itself to be a statute of limitations as it is very
difficult to call names and maintain its record especially when the ratio of students is high. Every
organization has its way of taking measures for the Attendance of students. Some organizations use
document-oriented Approach and others have implemented these digital methods such as biometric
fingerprinting techniques and card swapping techniques. However, these methods prove to be a statute of
limitations as it subjects students to wait in a time-consuming queue. If the student fails to bring his id
card then he will not be able to get attendance. Evolving technologies have made many improvements in
management system, the accuracy of the data collected is the biggest issue. This is because the
1
attendance might not be recorded personally by the original person, in another word, the attendance of
a particular person can be taken by a third party without the realization of the institution which
violates the accuracy of the data. For example, student X is lazy to attend a particular class, so student
Y helped him/her to sign for the attendance which in fact student A didn’t attend the class, but the
system overlooked this matter due to no enforcement practiced. Supposing the institution establish an
enforcement, it might need to waste a lot of human resource and time which in turn will not be
practical at all. Thus, all the recorded attendance in the previous system is not reliable for analysis
usage. The second problem of the previous system is where it is too time consuming. Assuming the
time taken for a student to sign his/her attendance on a 3-4 paged name list is approximately 1 minute.
In 1 hour, only approximately 60 students can sign their attendance which is obviously inefficient and
time consuming. The third issue is with the accessibility of those information by the legitimate
concerned party.
To solve the drawbacks of the previous system stated in 1.2, the existing system will need to evolve.
The proposed system will reduce the paperwork where attendance will no longer involve any manual
recording. The new system will also reduce the total time needed to do attendance recording. The new
system will acquire individual attendance by means of facial recognition to secure data accuracy of the
attendance.
Main Objectives:
Able to recognize the face of an individual accurately based on the face database.
Allow new students or staff to store their faces in the database by using a GUI.
2
PURPOSE:
The purpose of this system is to build an attendance system which is based on face recognition
techniques. Here face of an individual will be considered for marking attendance. Nowadays, face
recognition is gaining more popularity and has been widely used. In this paper, we proposed a system which
detects the faces of students from live streaming video of classroom and attendance will be marked if the
detected face is found in the database. This new system will consume less time than compared to traditional
methods. The project is about to handle all the information of the presence of the students in the institution
digitally. Managing security by providing authorized username & password. Manages database efficiently.
3
LITERATURE SURVEY
Back in the years, attendance management system in school/colleges was done by manual
reporting where the student’s attendance was recorded by placing a mark or signature beside their name in a
name list to indicate their presence in a particular class. While the staff in the institution will report their
attendance through the punch card machine which also have to be done manually. Later, some of those
attendance systems had evolved into using smart cards to replace signature markings where each
students/staff will be required to report their attendance using a smart card embedded with a unique
identification chip.
The previous system has several drawbacks that become more apparent as the application and
students sizes increase.
4
In the existing system, the limitations of this method are widely known and clearly understood, it is
It is very difficult to call names and maintain its record especially when the ratio of students is high.
Some organizations use document-oriented Approach and others have implemented these digital methods
such as biometric fingerprinting techniques and card swapping techniques. However, these methods prove to
be a statute of limitations as it subjects students to wait in a time-consuming queue. if the student fails to
5
SOFTWARE AND HARDWARE SPECIFICATIONS
TECHNOLOGIES Python,OpenCV,Face-Recognition,
NumPy
the needs.
6
FACE-RECOGNITION: Biometric software that maps an individual's facial features mathematically
NUMPY: Used to convert our images into some form of an array so that we can store the model that has
been trained.
They judge the software system based on Responsiveness, Usability, Security, Portability of the
software system. Example of non functional requirement, “how fast does the application load?”
Failing to meet non-functional requirements can result in systems that fail to satisfy user needs. Non-
functional Requirements allows you to impose constraints or restrictions on the design of the system
1. Usability:
You have to give special attention to the design of your homepage, CTAs, and easy checkout to get
How easily a user can achieve their target in a single page visit
2. Security:
Security comes with utmost importance if your app is dealing with monetary transactions, users’
3. Performance:
7
The focus should be on loading the application as fast as possible regardless of the number of integrations
and traffic on your console. You can set up the speed benchmark, maximum SKUs which you want to add,
4. Maintainability:
The operational costs for maintenance are the tricky part of planning a business budget. Thriving the
application maintenance from the initial development means cutting the time & cost to determine and
5. Scalability:
Last but not the least, you must look for a future-proof solution considering the scalability. This NFR
accounts for painless business expansion and has both hardware and software implications.
RAM 4 GB (min)
8
DESIGNS
4.1. Flowchart:
Explanation:
The captured photo is sent to the trained model. The image is converted into an array so that we can
store the model that has been trained.The obtained array is compared with the data in database. If the
comparison is successful, it stores the data in an excel sheet directly else creates a new user and
attendance is stored in the excel sheet.
9
4.2 USECASE DIAGRAM:
10
Fig 4.4 Student Authentication Diagram
import tkinter as tk
from tkinter import ttk
from tkinter import messagebox as mess
import tkinter.simpledialog as tsd
import cv2,os
import csv
import numpy as np
from PIL import Image
import pandas as pd
import datetime
import time
All the packages mentioned plays a vital role in the execution of the program.
window = tk.Tk()
window.geometry("1280x720")
window.resizable(True,False)
window = tk.Tk()
window.geometry("1280x720")
window.resizable(True,False)
12
window.title("Attendance System")
window.configure(background='#262523')
13
message1 = tk.Label(frame2, text="1)Take Images >>> 2)Save Profile" ,bg="#00aeff"
,fg="black" ,width=39 ,height=1, activebackground = "yellow" ,font=('times', 15, ' bold
'))
message1.place(x=7, y=230)
res=0
exists = os.path.isfile("StudentDetails\StudentDetails.csv")
if exists:
with open("StudentDetails\StudentDetails.csv", 'r') as csvFile1:
reader1 = csv.reader(csvFile1)
for l in reader1:
res = res + 1
res = (res // 2) - 1
csvFile1.close()
else:
res = 0
message.configure(text='Total Registrations till now : '+str(res))
This part of the program is used to develop the front-end of the application.
It consists of only visible contents which are used by the user.
5.2 Algorithm:
In this process CNN(Convolutional Neural Network) Algorithm. CNN architecture was employed to
extract distinctive face features and SoftMax classifier was used to classify faces in the fully connected layer
of CNN. The experimental results show that the recognition rate of the CNN model on the Olivetti faces face
database is 97.5%. When the optimal CNN model is used, the average recognition rate is close to 100%,
which verifies the validity and accuracy of the algorithm and model.
14
The system captures 100 images of each user for accurate image pre-processing during the
attendance taking process. All the images get stored locally in the training image directory. This Data Set is
5.4 Process:
The libraries or packages which we installed earlier plays a vital role in the pre-processing of the
system. The GUI of the system is made using tk-tools. The Processing or recognition is done using open-cv,
it converts images to NumPy array or multidimensional array object. During the process the pillow package
used to resize and transform the images. The NumPy used to compare the obtained multidimensional array
object. If the array matches the existing array then the user details gets stored in a csv file using the python-
15
6. The images are stored in the local machine/database.
7. The registration is complete.
Admin: The administrator has all the rights to access the system. He is the one who has all rights to view the
attendance forwards to the management. Admin can also view the details of a member. The admin has the
Users: The user can log in to the system by using his specific roll number and name. User can view the
attendance and can report to the admin accordingly. He can view his profile and update his details. He can
update his personal information by logging into the system. He can update his personal information by
16
5.6 SYSTEM INFORMATION
This system is an automated Attendance Management System. Through the software,an user can add
attendance without any errors.
The system has the following advantages:
User friendly interface
Fast access to database .
Look and Feel Environment.
Easy to use
CONCLUSION
17
Attendance Monitoring System has been envisioned for the purpose of reducing the errors that occur in the
traditional (manual)attendance taking system. The aim is to automate and make a system that is useful to the
organization such as educational institutes. We are providing the application of Timestamp, and we keep track
of time spent by the user in the meeting or online class. This is the efficient and accurate method of attendance
in the office meeting or any online conference that can replace the old manual methods. The proposed system is
secure enough, reliable and available for use. No need for specialized hardware to install the system. The
system can be useful in many other areas and can replace the existing systems of attendance marking there by
The project entitled “ATTENDANCE SYSTEM USING FACE RECOGNITION” capture the video of the
students, convert it into frames, relate it with the database to ensure their presence or absence, mark attendance
to the student to maintain the record. The Automated Classroom Attendance System helps in increasing the
accuracy and speed ultimately achieve the high-precision real-time attendance to meet the need for automatic
classroom evaluation.
At the end, the system not only resolve troubles that exist in the old model but also provide convenience to the
user to access the information collected which perfected the existence of technology to assist human’s needs.
FUTURE SCOPE
18
There is a scope for further development in our project to a great extent. A few features can be added to this
system in future like providing a feature we wished to implement was providing classes for users so that
they can track their attendance and another feature is feedback on working of the existing system.
Since the development time for this project is very limited, the designed system only consists of the
minimum function required for it to work. However, it can be further improved to produce a better system.
The project has a very vast scope in future. The project can be implemented on intranet in future
Improves the system so that it can eliminates the need of lecturer input before the recognition
Improves the database so that it can also stores the information of the subjects taken by each student
And many features can be added this project to make it more robust
19
SCREENSHOTS
20
Fig 7.3 : Registration Interface
21
Fig 7.5 : Password for Saving User Profile
22
Fig 7.7 : Registration details stored in excel sheet
23
Fig 7.9 : Attendance Marked
24
REFERENCES
5. Real Time Attendance System Using Face Recognition Technique (IEEE 2020)
[By: Mayank Srivastava, Mayank Srivastava, Aditya Dixit, Aman Kumar]
(https://sci-hub.st/https://ieeexplore.ieee.org/document/9087197)
25