15
Automated Attendance Machine; Face Detection and Recognition. Presented by: Kitili Jackson Mwendwa. F17/1437/2011

AUTOMATED ATTENDANCE MACHINE USING …eie.uonbi.ac.ke/sites/default/files/cae/engineering/eie...SYSTEM DESIGN Face Recognition Principal Component Analysis(PCA ) based Eigen faces

  • Upload
    dinhthu

  • View
    217

  • Download
    0

Embed Size (px)

Citation preview

Page 1: AUTOMATED ATTENDANCE MACHINE USING …eie.uonbi.ac.ke/sites/default/files/cae/engineering/eie...SYSTEM DESIGN Face Recognition Principal Component Analysis(PCA ) based Eigen faces

Automated Attendance Machine; FaceDetection and Recognition.

Presented by:

Kitili Jackson Mwendwa.F17/1437/2011

Page 2: AUTOMATED ATTENDANCE MACHINE USING …eie.uonbi.ac.ke/sites/default/files/cae/engineering/eie...SYSTEM DESIGN Face Recognition Principal Component Analysis(PCA ) based Eigen faces

INTRODUCTIONTraditional methods of monitoring student attendances are tedious,time consuming and prone to inaccuracies as some students often signfor their absent colleagues.

This project proposes the design and implementation of an automatedattendance management system using face detection and recognition.

This biometric system will consist of the following processes:• Enrollment process• Identification/Verification

Page 3: AUTOMATED ATTENDANCE MACHINE USING …eie.uonbi.ac.ke/sites/default/files/cae/engineering/eie...SYSTEM DESIGN Face Recognition Principal Component Analysis(PCA ) based Eigen faces

SYSTEM DESIGNThe attendance management system:• Desktop module• Mobile module

The Desktop Module system is divided in to two related sub-systems, the training set manager and the face recognizer.

Training set manager components.• Image acquisition component• Face detection component.

Face recognizer Sub system• Training component• Image acquisition• Face detection and recognition• Attendance component

Page 4: AUTOMATED ATTENDANCE MACHINE USING …eie.uonbi.ac.ke/sites/default/files/cae/engineering/eie...SYSTEM DESIGN Face Recognition Principal Component Analysis(PCA ) based Eigen faces

Functions of the two sub systems.

Database of

Faces (This

contains the

training set)

Image Acquisition

(Gets the input

image with the

human face )

Face Recognizer

Recognizes the

detected faces from the

trained data

Trains the recognizer

on the training set

Loads the training set

Shows the calculated

average face and the

eigenfaces

Connects to the faces

database

TRAINING SET

MANAGER

Connects to faces

Database

Loads the training

set to display present

faces

Deletes a face from

the training set

Updates a face in the

training set

Adds faces with

labels to the training

set

Face Detector

Component

(detects faces and

extracts them)

SYSTEM DESIGN

Page 5: AUTOMATED ATTENDANCE MACHINE USING …eie.uonbi.ac.ke/sites/default/files/cae/engineering/eie...SYSTEM DESIGN Face Recognition Principal Component Analysis(PCA ) based Eigen faces

Face detection

Viola jones object detection frame work based on Haar Cascades.

Improvements:-

• scale increase rates,• minimum detection scale,• Canny pruning flag and• Minimum neighbors threshold.

An input variable array for group photos

SYSTEM DESIGN

Page 6: AUTOMATED ATTENDANCE MACHINE USING …eie.uonbi.ac.ke/sites/default/files/cae/engineering/eie...SYSTEM DESIGN Face Recognition Principal Component Analysis(PCA ) based Eigen faces

SYSTEM DESIGNFace Recognition

Principal Component Analysis(PCA) based Eigen faces method wasused.

PCA uses an orthogonal transformation to convert a set of correlatedM faces in to a set of K faces of uncorrelated variables calledprincipal components or eigen faces.

The weight of the incoming unknown image was found and thencompared to the weights of those already in the system. If the inputimage's weight is over a given threshold it is considered to beunknown.

Input image is identified by finding the image in the database whoseweights are the closest to the weights of the input image. Theimage in the database with the closest weight will be returned as ahit to the user of the system.

Page 7: AUTOMATED ATTENDANCE MACHINE USING …eie.uonbi.ac.ke/sites/default/files/cae/engineering/eie...SYSTEM DESIGN Face Recognition Principal Component Analysis(PCA ) based Eigen faces

Face Recognition Algorithm flow chart

Page 8: AUTOMATED ATTENDANCE MACHINE USING …eie.uonbi.ac.ke/sites/default/files/cae/engineering/eie...SYSTEM DESIGN Face Recognition Principal Component Analysis(PCA ) based Eigen faces

Imageprocessing

andcomparison

module

Database

Recognise the faces

Compares withDatabase and fills upthe attendance

Page 9: AUTOMATED ATTENDANCE MACHINE USING …eie.uonbi.ac.ke/sites/default/files/cae/engineering/eie...SYSTEM DESIGN Face Recognition Principal Component Analysis(PCA ) based Eigen faces

Cont’d …

Since all faces of the same person are heterogeneous,several images of the same person were chosen withdifferent facial expressions and under differentillumination conditions.

Page 10: AUTOMATED ATTENDANCE MACHINE USING …eie.uonbi.ac.ke/sites/default/files/cae/engineering/eie...SYSTEM DESIGN Face Recognition Principal Component Analysis(PCA ) based Eigen faces

Tools

Mobile tools• OpenCV for Android• Android studio/Eclipse IDE

Desktop tools• Development tools Visual studio, MS Access• EmguCV library• Programming language C#

Page 11: AUTOMATED ATTENDANCE MACHINE USING …eie.uonbi.ac.ke/sites/default/files/cae/engineering/eie...SYSTEM DESIGN Face Recognition Principal Component Analysis(PCA ) based Eigen faces

RESULTSFace Detection• Single and group frontal photos had 100% face detection

rate• Live camera feed – track and recognize.

Page 12: AUTOMATED ATTENDANCE MACHINE USING …eie.uonbi.ac.ke/sites/default/files/cae/engineering/eie...SYSTEM DESIGN Face Recognition Principal Component Analysis(PCA ) based Eigen faces

RESULTSFace Recognition

Yale and Local faces yielded an average percentagerecognition rate of about 80%.

First few eigen faces and average face obtained wereenough to fully represent all the faces in the trainingset – image compression.

Page 13: AUTOMATED ATTENDANCE MACHINE USING …eie.uonbi.ac.ke/sites/default/files/cae/engineering/eie...SYSTEM DESIGN Face Recognition Principal Component Analysis(PCA ) based Eigen faces

RESULTS• The labels of the returned/recognized faces

were utilized in populating the databasefields.

Page 14: AUTOMATED ATTENDANCE MACHINE USING …eie.uonbi.ac.ke/sites/default/files/cae/engineering/eie...SYSTEM DESIGN Face Recognition Principal Component Analysis(PCA ) based Eigen faces

FUTURE SCOPE Anti spoofing techniques.

Additional module for verification-foolproof.

Automated attendance report generation.

Well structured attendance registers for each class.

Page 15: AUTOMATED ATTENDANCE MACHINE USING …eie.uonbi.ac.ke/sites/default/files/cae/engineering/eie...SYSTEM DESIGN Face Recognition Principal Component Analysis(PCA ) based Eigen faces

THANK YOU