Professional Documents
Culture Documents
ENGINEERING
By
Supervisor
Prof. Shilpali Bansu
This is to certify that the Mini Project entitled “E-Attendance using Face
Engineering”.
(Prof._________________ )
Supervisor
Engineering.
Examiners
1………………………………………
(Internal Examiner Name & Sign)
2…………………………………………
(External Examiner name & Sign)
Date:
Place:
Contents
Abstract
Acknowledgments
1 Introduction
1.1 Introduction
1.2 Motivation
1.3 Problem Statement & Objectives
2 Literature Survey
3.1 Introduction
3.2 Architecture/ Framework
3.3 Algorithm and Process Design
3.4 Details of Hardware & Software
3.5 Code Testing and Results
3.5 Conclusion and Future work.
4 References
Abstract
To maintain the attendance record with day to day activities is a
challenging task. The conventional method of calling the name
of each student is time consuming and there is always a chance
of proxy attendance. The following system is based on face
recognition to maintain the attendance record of students. The
daily attendance of students is recorded subject wise which is
stored already by the administrator. As the time for
corresponding subjects arrives the system automatically starts
taking snaps and then applying face detection and recognition
techniques to the given image and the recognized students are
marked as present and their attendance updated with
corresponding time and subject id. We have used deep learning
techniques to develop this system, histogram of oriented gradient
method is used to detect faces in images and deep learning
method is used to compute and compare facial features of
students to recognize them. Our system is capable of identifying
multiple faces in real time.
Acknowledgments
1.1Introduction
As can be seen from the figure , 84.2% of the lecturers see the
existing system as not suitable for all people like deaf. This is
one of the drawbacks of the existing system, and there are more
such as:
● There is always a chance of forgery (one person signing the
presence of the other one)
● More manpower is required (some person to take
attendance)
1. OpenCV(cv2)
OpenCV-Python is a library of Python bindings designed to
solve computer vision problems
In our project we have used the cv2 module for converting
RGB images into BGR images as while encoding the faces
the face recognition module does not understand RGB
images.
Hence by the use of some of the functions of this module
we convert RGB to BGR .
2. Numpy
NumPy is a Python library used for working with arrays.
3. OS module
The OS module in Python provides functions for
interacting with the operating system. OS comes under
Python’s standard utility modules. This module provides a
portable way of using operating system-dependent
functionality.
We use many functions from this module to interact with
the file system.
4. Face Recognition Module
We use the face-recognition module for application of our
proposed system.
Then we’ll look at every single pixel in our image one at a time.
For every single pixel, we want to look at the pixels that directly
surround it.
To do this, we’ll break up the image into small squares of 16x16
pixels each. In each square, we’ll count up how many gradients
point in each major direction (how many point up, point
up-right, point right, etc…). Then we’ll replace that square in
the image with the arrow directions that were the strongest.
Now that we know where the eyes and mouth are, we’ll simply
rotate, scale and shear the image so that the eyes and mouth are
centered as best as possible. We are only going to use basic
image transformations like rotation and scale that preserve
parallel lines .Now no matter how the face is turned, we are able
to center the eyes and mouth in roughly the same position in the
image. This will make our next step a lot more accurate.
Software Requirement:
● Windows 7 or higher
● Python IDLE (3.7.7)
● Pycharm
● Microsoft Excel/Google Sheets
3.5Code Testing and Results.
From the above images ,you can see that:
1. The system recognizes the images from the webcam and
forms a rectangle around the face and names the image.
2. The system will only recognize images which are already
uploaded in the root folder.
3. If the image from the webcam matches with any of the
images of our root folder,the system will then print the
name of the image in Attendance.csv along with the exact
time at which the image was recognized.
4. We can then export this data into an excel file or we can
modify the system and add features of google(sheets)
which will automatically record the attendance and save it
in google sheets.
3.6 Conclusion and Future Work
Conclusion
● There may be various types of lighting conditions, seating
arrangements and environments in various classrooms.
Most of these conditions have been tested on the system
and the system has shown 100% accuracy for most of the
cases. There may also exist students portraying various
facial expressions, varying hair styles, beard, spectacles etc.
All of these cases are considered and tested to obtain a high
level of accuracy and efficiency.
● The system will save time, reduce the amount of work the
administration has to do and will replace the stationery
material with electronic apparatus and reduce the amount of
human resource required for the purpose. Hence a system
with expected results has been developed but there is still
some room for improvement.
Future work
In Future we can add many features to our Project
according to the requirements of the people.
1. We can further modify this system and integrate it with
CCTV cameras , so that attendance can be taken with more
ease.
2. Further, 2 or more IP cameras can be employed and each
image can be processed separately. The results of these can
be merged to obtain better results and accuracy in denser
classrooms.
References
https://medium.com/@ageitgey/machine-learning-is-fun-part-4-
modern-face-recognition-with-deep-learning-c3cffc121d78
https://www.youtube.com/
www.wikipedia.com