Professional Documents
Culture Documents
Contents
Chapter 1 ............................................................................................................................. 2
1. Introduction ................................................................................................................. 2
1.1. Project Overview .................................................................................................. 2
1.1 Project Overview ...................................................................................................... 2
1.2 Background and Existing System ............................................................................. 2
1.2.1 Problems in Existing System ..................................................................................... 2
1.3 Proposed Solution ..................................................................................................... 3
1.3.1 Proposed System Components ............................................................................... 4
1.3.2 Proposed System Outcome .................................................................................... 4
1.4 What contribution would the project make? ............................................................. 5
1.4.1 Accurate and Fast Identification ............................................................................ 5
1.4.2 High Usability and Security ................................................................................... 5
1.4.3 User friendly design ............................................................................................... 5
1.5 Face Recognition system setup ................................................................................. 6
1.6 Face Recognition operations ..................................................................................... 6
1.7 Features of Face Recognition based Attendance System ............................................. 7
1.8 Tool and Technology .................................................................................................... 7
Chapter 2 ........................................................................................................................... 10
2. Requirement Analysis ............................................................................................... 10
2.1. Introduction ........................................................................................................ 10
2.1.1 Purpose................................................................................................................. 10
2.2 Proposed System Modules ...................................................................................... 10
2.2.1 Live Streaming ......................................................................................................... 10
2.2.2 Face Detection ......................................................................................................... 10
2.2.3 Face Recognition ..................................................................................................... 11
2.2.4 Attendance Record ................................................................................................... 11
2.2.5 Printing Record ........................................................................................................ 11
2.2.6 Login Form .............................................................................................................. 11
2.2.7 Attendance Management ......................................................................................... 11
2.3 Requirements/Specifications................................................................................... 11
2.3.1 Functional Requirements ......................................................................................... 11
2.3.2 Non-Functional Requirements ................................................................................. 12
Chapter 3 ....................................................................................................................... 15
List of Figures
Figure 1-1Proposed System Architecture ............................................................................ 6
Figure 1-2 Proposed System Operation .............................................................................. 6
Figure 3-1Use Case Diagram for Add Student .................................................................. 19
Figure 3-2 Use Case Diagram for Automated Attendance .................................................. 19
Figure 3-3 Use Case Diagram for Delete Student .............................................................. 20
Figure 3-4 Use Case Diagram for Detect Face .................................................................. 20
Figure 3-5 Use Case Diagram for Edit Student ................................................................. 21
Figure 3-6. Use Case Diagram for Login .......................................................................... 21
Figure 3-7 Use Case Diagram for Logout ......................................................................... 22
Figure 3-8 Use Case Diagram for Manual Attendance ....................................................... 22
Figure 3-9 Use Case Diagram for Print Attendance ........................................................... 23
Figure 3-10 Use Case Diagram for Recognize Face .......................................................... 23
Figure 3-11 Use Case Diagram for Search Attendance ...................................................... 24
Figure 3-12 Use Case Diagram for Take Student Picture ................................................... 24
Figure 3-13 Use Case Diagram for Upload Student Image ................................................. 25
Figure 3-14 Use Case Diagram for View Attendance ........................................................ 25
Figure 3-15 Use Case Diagram for View Student .............................................................. 26
Figure 3-16 Activity Diagram for Add Student ................................................................. 27
Figure 3-17 Activity Diagram for Automated Attendance .................................................. 28
Figure 3-18 Activity Diagram for Delete Student .............................................................. 29
Figure 3-19 Activity Diagram for Delete Face .................................................................. 30
Figure 3-20 Activity Diagram for Edit Student ................................................................. 30
Figure 3-21 Activity Diagram for Login ........................................................................... 31
Figure 3-22 Activity Diagram for Logout ......................................................................... 31
Figure 3-23 Activity Diagram for Manual Attendance ....................................................... 32
Figure 3-24 Activity Diagram for Print Attendance ........................................................... 32
Figure 3-25 Activity Diagram for Recognize Image .......................................................... 33
Figure 3-26 Activity Diagram for Search Attendance ........................................................ 33
Figure 3-27 Activity Diagram for Take Student Picture ..................................................... 34
Figure 3-28 Activity Diagram for Upload Student Image ................................................... 34
Figure 3-29 Activity Diagram for View Attendance ........................................................... 35
Figure 3-30 Activity Diagram for View Student ................................................................ 35
Figure 3-31 Sequence Diagram for Add Student ............................................................... 36
Chapter 1
1
Face Recognition Based Attendance System
Introduction
Chapter 1
1. Introduction
The proposed system will provide an optimized platform that will help users to
easily mark attendance, view user data and their related course records. The proposed
system will provide secure attendance management via biometric techniques. Face
recognition will be the core feature of the proposed system. The proposed system will
allow users to print the desired attendance records. Users will be able to have a secured
There is no such system that uses secure and authenticated attendance marking with
face recognition technique. The proposed system will have user friendly GUI and will
Organizations of all sizes use time based attendance systems to record when
employees start and stop work and the department where work is performed. In school,
colleges and universities attendance system is used to keep record of a student presence
and absence. It is also used to keep record of a teacher and all other employees working
class, department etc. Organizations keep record for the sake of: leave management,
2
Face Recognition Based Attendance System
Introduction
keeps record of and which is essential part of every organization whether these are
It is more costly (price of register, pen and the salary of person taking
attendance)
Biometric based attendance system over simple attendance system. Interactive system
There are many solutions to automate the attendance management system like
thumb based system, simple computerized attendance system but all these systems have
limitations over work and security point of view. Our proposed system shall be a “Face
3
Face Recognition Based Attendance System
Introduction
recognition based attendance system” is used the basic idea of image processing which is
Face Detection
Face Recognition
Attendance Records
Printing Records
Login
The proposed system will only allow authenticated user to login to the system
and/or make changes to it. The proposed system will allow user to mark attendance of the
students via face recognition technique. The proposed system will detect faces from live
stream via webcam and then recognize the faces. After recognition it will mark the
4
Face Recognition Based Attendance System
Introduction
attendance of the recognized student and update the attendance record. The user will be
technology according to the cognitive rule of human beings; its algorithm is ten times
more complex than a fingerprint algorithm. Face recognition is featured by the following
fingerprint, FAR<0.0001%
Failure to enroll and acquire rate is less than 0.0001%, fingerprint technology will
have problems for enrollment with cold, wet, desquamation, elder, around 5%
Incident track able for security with photo which captured by camera, there is no
5
Face Recognition Based Attendance System
Introduction
6
Face Recognition Based Attendance System
Introduction
It uses biometrics which is even more secure method than simple security systems
(password oriented)
It uses less man power i.e. it does not require a person to take attendance; either
every person can come and mark his own attendance or it can automatically take
attendance (if we take into account video streaming; projects future work)
C#.net
My SQL
SQL Server
Adobe Photoshop
7
Face Recognition Based Attendance System
Introduction
8
Face Recognition Based Attendance System
Requirement Analysis
Chapter 2
9
Face Recognition Based Attendance System
Requirement Analysis
Chapter 2
2. Requirement Analysis
2.1. Introduction
Currently in institutes the attendance system is totally manual where faculty has to
take attendance on register or page. This activity takes lot of time and efforts and still is
not reliable. Registers and pages can be lost and multiple copies is very hard to keep. But
another question that arises is the security of such system, how will the system enter only
authorized attendance. The system will provide an optimized and secured platform that
can help users to easily mark attendance of students, keep user’s data, record of their
attendance, courses they are taking and option to print these records.
2.1.1 Purpose
The purpose of the proposed system is to help and facilitate user to manage secure
attendance system. Allow users to mark attendance using face recognition technique.
Provide user with student records and facility to print the desired records.
System will provide live streaming facility. System will be able to take real time
picture of the user either to be kept in record or for the purpose of marking attendance
Proposed system will detect the human faces from live streaming via webcam and
mark the detected faces from the real time streamed video.
10
Face Recognition Based Attendance System
Requirement Analysis
System will apply Eigen faces algorithm on the detected faces and try to
recognize these faces, if the faces are present in database. Then the respective person’s
Proposed system will contain attendance record of the student. User will be able
to search attendance record via date. User will also be able to manually add attendance
System will be able to print the attendance record of any date. This attendance
record will be saved in the form of pdf and can be viewed in future.
To ensure authenticated and secure system, system will have a login form to
System will mark attendance of the student using face recognition technique and
update the corresponding attendance records. System will fully manage the attendance of
the students.
2.3 Requirements/Specifications
User must be able to see details of attendance of students for specified date.
11
Face Recognition Based Attendance System
Requirement Analysis
The administrator or the person who will be given the access to the system must
The data that will be showed to the users will be made sure that it is correct and is
The system will be extensible for changes and to the latest technologies.
It will be made sure that the result of search must be according to the
It will be ensured sure that user must get the correct information for their search.
User must get right and related information about the attendance record they are
trying to view.
The data to be edited will be made sure that the correct data is being edited.
12
Face Recognition Based Attendance System
Requirement Analysis
13
Face Recognition Based Attendance System
Software Design
Chapter 3
14
Face Recognition Based Attendance System
Software Design
Chapter 3
3. SOFTWARE DESIGN
Use Cases
Pre-condition User must have username and Pre-condition User must login to
password system
condition displayed
Description User enters username and Description User can view student
system
condition
Description User can update existing student Description User can add new
15
Face Recognition Based Attendance System
Software Design
ACTOR Admin
ACTOR Admin
record updated
connected
record updated
16
Face Recognition Based Attendance System
Software Design
Description Admin can take real time Description Admin can select face
live stream.
Attendance
system
Description Admin can select face Description Admin can select face
respective person
system
17
Face Recognition Based Attendance System
Software Design
displayed
specific date
system
Use case illustrates a unit of functionality provided by the system. The main
purpose of the use-case diagram is to help development teams visualize the functional
requirements of a system, including the relationship of "actors" (human beings who will
interact with the system) to essential processes, as well as the relationships among
3.2.1 User
18
Face Recognition Based Attendance System
Software Design
19
Face Recognition Based Attendance System
Software Design
21
Face Recognition Based Attendance System
Software Design
22
Face Recognition Based Attendance System
Software Design
24
Face Recognition Based Attendance System
Software Design
25
Face Recognition Based Attendance System
Software Design
Activity diagrams show the procedural flow of control between two or more class
objects while processing an activity. Activity diagrams can be used to model higher-level
business process at the business unit level, or to model low-level internal class actions. In
my experience, activity diagrams are best used to model higher-level processes, such as
how the company is currently doing business, or how it would like to do business. This is
3.3.1 User
26
Face Recognition Based Attendance System
Software Design
27
Face Recognition Based Attendance System
Software Design
28
Face Recognition Based Attendance System
Software Design
29
Face Recognition Based Attendance System
Software Design
30
Face Recognition Based Attendance System
Software Design
31
Face Recognition Based Attendance System
Software Design
32
Face Recognition Based Attendance System
Software Design
33
Face Recognition Based Attendance System
Software Design
34
Face Recognition Based Attendance System
Software Design
35
Face Recognition Based Attendance System
Software Design
a specific use case. They are almost self-explanatory; they show the calls between the
different objects in their sequence and can show, at a detailed level, different calls to
different objects. A sequence diagram has two dimensions: The vertical dimension shows
the sequence of messages/calls in the time order that they occur; the horizontal dimension
3.4.1 User
36
Face Recognition Based Attendance System
Software Design
37
Face Recognition Based Attendance System
Software Design
38
Face Recognition Based Attendance System
Software Design
39
Face Recognition Based Attendance System
Software Design
40
Face Recognition Based Attendance System
Software Design
41
Face Recognition Based Attendance System
Software Design
42
Face Recognition Based Attendance System
Software Design
the Unified Modeling Language (UML). The concept is more than a decade old although
it has been refined as modeling paradigms have evolved. A collaboration diagram is also
3.5.1 User
43
Face Recognition Based Attendance System
Software Design
44
Face Recognition Based Attendance System
Software Design
45
Face Recognition Based Attendance System
Software Design
represent the physical packaging of a module of code. The dependencies between the
components show how changes made to one component may affect the other components
in the system. Component diagrams can also show the interfaces used by the components
46
Face Recognition Based Attendance System
Software Design
information system.
48
Face Recognition Based Attendance System
Software Design
49
Face Recognition Based Attendance System
Risk Management
Chapter 4
50
Face Recognition Based Attendance System
Risk Management
Chapter 4
4. Risk Management
when one activity starts and ends and when new activity will start after the old one is
finished.
Months
Mockups
procedures
Coding and
testing
Maintenance Maintenance
51
Face Recognition Based Attendance System
Risk Management
4.2.1 Introduction
factors throughout the life of a project and in the best interests of its objectives. Proper
risk management will reduce not only the likelihood of an event occurring, but also the
magnitude of its impact. Risk Management Systems are designed to do more than just
identify the risk. The system must also quantify the risk and predict the impact on the
project. The outcome is therefore a risk that is either acceptable or unacceptable. Risk
occur so that risk-handling activities may be planned and invoked as needed across the
life of the product or project to mitigate adverse impacts on achieving objectives. Risk
business and technical management processes. Risk management should address issues
approach is applied to effectively anticipate and mitigate the risks that have critical
52
Face Recognition Based Attendance System
Risk Management
across all relevant stakeholders is needed to establish an environment for the free and
open disclosure and discussion of risk. Although technical issues are a primary concern
both early on and throughout all project phases, risk management must consider both
internal and external sources for cost, schedule, and technical risk. Early and aggressive
detection of risk is important because it is typically easier, less costly, and less disruptive
to make changes and correct work efforts during the earlier, rather than the later, phases
of the project.
issues
reports on risk.
properly.
53
Face Recognition Based Attendance System
Risk Management
connected or is not
working properly
no live system.
as soon as possible.
fixation of hardware
54
Face Recognition Based Attendance System
Risk Management
regular basis.
55
Face Recognition Based Attendance System
[Research Methodology] MS(CS) Research Thesis
Chapter 5
57
Face Recognition Based Attendance System
Implementation
Chapter 5
5. Implementation
What is SQL Server?
computer or those running on another computer across a network. SQL Server has
5.1.1.1 Security
can be managed across all database objects including tables, views, and stored procedures
5.1.1.2 Scalability
58
Face Recognition Based Attendance System
Implementation
5.1.1.3 Integration
SQL Server provides a robust set of integration tools call SQL Server Integration
Services (SSIS) which can be used consulate data from multiple heterogeneous data
sources for holistic data view and comprehensive data analysis. SSIS can also be used to
migrate data from other database formats (Oracle, DBase, Paradox, legacy formats,
5.1.1.4 Reliability
With SQL Server the clients do not talk directly with the tables but with an
intelligent data manager on the server. This in turn reads and writes data from and to the
tables. If a client machine crashes, or the network hiccups, this will not affect the
underlying tables; instead the data manager realizes that the transaction has not been
completed and does not commit the partially transmitted data to the database. The
building a wide range of enterprise applications that run on the .NET Framework. An
evolution of Microsoft C and Microsoft C++, C# is simple, modern, type safe, and object
oriented. C# code is compiled as managed code, which means it benefits from the
C# is introduced as Visual C# in the Visual Studio .NET suite. Support for C# includes
59
Face Recognition Based Attendance System
Implementation
project templates, designers, property pages, code wizards, an object model, and other
features of the development environment. The library for C# programming is the .NET
Framework.
build a variety of secure and robust applications that run on the .NET Framework. The
Java. Developers who know any of these languages are typically able to begin to work
the concepts of encapsulation, inheritance, and polymorphism. All variables and methods,
including the Main method, the application's entry point, are encapsulated within class
definitions. A class may inherit directly from one parent class, but it may implement any
number of interfaces. Methods that override virtual methods in a parent class require the
expressive, yet it is also simple and easy to learn. Xml document can be generated from
source code in c#. This feature is very useful for dynamic web pages creation.
(or other biological organism) to identify that person. Biometric systems rely on specific
60
Face Recognition Based Attendance System
Implementation
Physiological
Behavioral
5.3.1.1 Physiological
5.3.1.2 Behavioral
The face recognition based attendance system is used to keep record of student
absent and present by using face recognition technology. It provides security to our
5.4.1.1 Capture
5.4.1.2 Detection
In detection, a unique data is extracted from the sample and template is created.
61
Face Recognition Based Attendance System
Implementation
5.4.1.3 Extraction
5.4.1.4 Matching
In matching, the system then decides if the features extracted from the new
sample matching or not.
5.4.2 Construction
This section gives step by step instruction along with formulas on how to
5.4.2.1 Steps
1. The first step is to obtain a set S with M face images. In our example M=25 and each
2. After you have obtained your set, you will obtain the mean image Ψ.
3. Then you will find the difference, Φ between the input image and mean image.
calculated. The eigenvectors (eigenface) must be normalized so that they are Eigen
vectors, i.e. length of 1. The description of the exact algorithm for determination of
62
Face Recognition Based Attendance System
Implementation
eigenvectors and eigenvalus is omitted here, as it belongs to the arsenal of most math
programming libraries.
6. AT
From M eigenvectors (eigenface) u , only M' should be chosen which have the
i
highest eigenvalus. The higher the eigenvalus, the more characteristic features of a face
does the particular eigenvector describe. Eigenface with low eigenvalus can be omitted,
as they explain only a small part of characteristic features of the face. After M' eigenface
1. A new face is transformed into its eigenface components. First we compare our input
image with our mean image and multiply their difference with each eigenvector of the L
matrix. Each value would represent a weight and would be saved on a vector Ω.
2. We now determine which face class provides the best description for the input image.
63
Face Recognition Based Attendance System
Implementation
θε. Then the face image is considered to be a known face. If the difference is above the
given threshold but below a second threshold, the image can be determined as an
unknown face. If the input image is above these two thresholds, the image is determined
not to be a face.
64
Face Recognition Based Attendance System
Testing
Chapter 6
65
Face Recognition Based Attendance System
Testing
Chapter 6
6. Testing
6.1 Introduction
In general, testing is finding out how well something works. In computer hardware and
software development, testing is used at key checkpoints in the overall process to determine
output.
Functional testing is the testing to ensure that the specified functionality required in the
System testing is the testing to ensure that by putting the software in different
Stress testing is the testing to evaluate how system behaves under unfavorable
conditions.
66
Face Recognition Based Attendance System
Testing
Performance testing is the testing to assess the speed and effectiveness of the system and
Usability testing is performed to the perspective of the client, to evaluate how the GUI is
user-friendly?
Acceptance testing is often done by the customer to ensure that the delivered product
related units to ensure that the modification is working correctly and is not damaging or imposing
Beta testing is the testing which is done by end users, a team outside development, or
publicly releasing full pre-version of the product which is known as beta version.
6.2 Login
Test Id: TC1
Tester: Admin
Date: 28-2-2015
67
Face Recognition Based Attendance System
Testing
5- Enter password.
6- Click login.
appear.
will appear.
Status: Pass
Tester: Admin
Date: 28-2-2015
5- Enter password.
6- If you want to clear login form at any stage just click cancel
or clear.
68
Face Recognition Based Attendance System
Testing
Status: Pass
Tester: Admin
Date: 28-2-2015
Steps: 1- Login.
Status Pass
Tester: Admin
Date: 28-2-2015
69
Face Recognition Based Attendance System
Testing
Steps: 1- Login
Status Pass
Tester: Admin
Date: 28-2-2015
Steps: 1- Login.
Status Pass
70
Face Recognition Based Attendance System
Testing
Tester: Admin
Date: 28-2-2015
Test Data: Name, Contact, Email, Registration no. , father name, student image
Steps: 1- Login
7- Fill all the textboxes with student information and add photo of student.
Status Pass
Tester: Admin
Date: 28-2-2015
Steps: 1- Login
71
Face Recognition Based Attendance System
Testing
the face
Status Pass
Tester: Admin
Date: 28-2-2015
Steps: 1- Login
72
Face Recognition Based Attendance System
Testing
the face
12- Student’s image with respective name will be saved in training face’s
database.
Status Pass
Tester: Admin
Date: 28-2-2015
Steps: 1- Login
73
Face Recognition Based Attendance System
Testing
the face
Status Pass
Tester: Admin
Date: 28-2-2015
Steps: 1- Login
the face
10- If a system recognizes the face it will label it with the respective name of
student.
Status Pass
74
Face Recognition Based Attendance System
Testing
Tester: Admin
Date: 28-2-2015
Steps: 1- Login
the face
10- If a system recognizes the face it will label it with the respective name of
student.
Status Pass
75
Face Recognition Based Attendance System
Testing
Tester: Admin
Date: 28-2-2015
Steps: 1- Login
Status Pass
Tester: Admin
Date: 28-2-2015
Steps: 1- Login
76
Face Recognition Based Attendance System
Testing
Status Pass
Tester: Admin
Date: 28-2-2015
Steps: 1- Login
8- click delete
Status Pass
77
Face Recognition Based Attendance System
Testing
Tester: Admin
Date: 28-2-2015
Steps: 1- Login
8- Attendance record will be converted to pdf and you can easily print it.
Status Pass
6.17 Logout
Tester: Admin
Date: 28-2-2015
Purpose: Logout
78
Face Recognition Based Attendance System
Testing
Steps: 1- Login
Status Pass
6.18 About us
Tester: Admin
Date: 28-2-2015
Steps: 1- Login
Status Pass
6.19 Home
Tester: Admin
Date: 28-2-2015
79
Face Recognition Based Attendance System
Testing
Steps: 1- Login
Status Pass
80
Face Recognition Based Attendance System
User Manual
Chapter 7
81
Face Recognition Based Attendance System
User Manual
Chapter 7
7. USER MAUAL
7.1 Login Form
82
Face Recognition Based Attendance System
User Manual
83
Face Recognition Based Attendance System
User Manual
84
Face Recognition Based Attendance System
User Manual
85
Face Recognition Based Attendance System
User Manual
86
Face Recognition Based Attendance System
User Manual
87
Face Recognition Based Attendance System