You are on page 1of 25

AL-SAEED FACULTY OF ENGINEERING &

INFORMATION TECHNOLOGY

DEPARTMENT OF MECHATRONICS
TAIZ UNIVERSITY

FACE TRACKING AND AUTOMATIC ATTENDANCE MANAGEMENT


SYSTEM USING FACE RECOGNITION TECHNIQUES

BY:
01 Amer Al-basser
02 Amr Al-sabaeei
03 Hesham Al-khateeb
Supervisor:
04 Mohammed Moghalies Dr/ Ghazi Alnowaini
05 Alaa Alshargaby
Outline
01 Introduction
Problem statement, Objectives, Importance

02 Related Work
Review of The Previous Studies, Research Gap

03 Method and Material


Dataset, Pre-processing, ML & DL Models

04 Results & Discussion


Machine & Deep Learning Results, discussion

05 Conclusion
What did We Conclude from Results

06 Future Work
Recommendation and Future Work
3. Method and Material
3.1 Steps of Our Project

01 FACE DETECTION

02 DATA GATHERING

04 TRAINING DATA

FACE TRACKING, RECOGNITION


05 AND ATTENDACE
3. Method and Material

FACE DETECTION DATA GATHERING

Access the Attendance Management System


Portrait Pre-processing
Website
Captured image with a confirmed face detected in it
The attendance taking session can be started after
will then undergo cropping, color conversion before
the lecturer selected the related date and timetable
actually being stored into the files.
ID for the current class session

Creation of CSV file


Face Detection
Then, by using the path of the stored image, a csv
The captured image will first undergo a face file is created with each image being labelled
detection algorithm to ensure the system can accordingly. The csv file is created to aid the
identify a face in every portrait. process of list insertion of the portraits with their
corresponding labels.
3. Method and Material
FACE TRACKING, RECOGNITION
TRAINING DATA AND ATTENDACE
Tracking and Recognition

Training the Recognizer Face Tracking generally works when the camera catches
the person face. After tracking a face or faces, the
The images in the created list retrieved from the csv will haarCascade recognizer uses data from the
then be pumped into a recognizer which is the LPBH (Trainner.yml) file to predict whose face it is. The
Recognizer (a library provided by OpenCV) to do the LBPHFaceRecognizer in OpenCV takes a captured
training. portion of the face to be analyzed as a parameter and
returns its likely owner, including its id and how
confident the recognizer is in this match.

Save the Trained Data


Taking Attendance
After the training process is done, the trained sets of
After it recognize the face, the date and time when the
data will be stored into a (.yml) file which will be
face first appeared will be registered in a database and
retrieved during the recognition process to ensure the
an excel sheet.
training process are only done for the minimum time.
3. Method and Material

3.2 Method ( Algorithm )

Local Binary Patterns Histogram (LBP) is defined as an ordered


collection of binary comparisons of pixel intensities between the
center pixel and its surrounding pixels, as introduced by Ojala et al.
[1]. LBP essentially recreates the local structure of a picture by
matching each pixel to its immediate surroundings. Take a pixel as
the center and set a threshold for its neighbors.
3. Method and Material

3.2 Extracting the Histograms

As we have a facial image in grayscale, each histogram (from each grid) will contain only
256 positions (0~255) representing the occurrences of each pixel intensity.

Then, we need to focus each histogram so that we can create a new histogram. Supposing
we’ve 8x8 grids, we will have 8x8x256=16.384 positions in the final histogram. The final
histogram represents the better characteristics of the initial image.
3. Method and Material

CNN Model

Output 1

Pool Pool Pool


Layer Layer Conv Layer
Conv Layer Output 2
Fully Connected
Conv Layer Layer
Layer
Input Image

You might also like