Sunteți pe pagina 1din 16

FACE RECOGNITION

ABHIJEET ANAND SHAH 1501021277


HARSHIT ARORA 1501021268
GUNJAN KUMAR 1501021275
DHAIRYA NAWANI 1501021281
TABLE OF CONTENT
• Face Recognition ???
• Software and Hardware Requirement
• Implementation
• Data Flow Diagram
• Module : 1-Face Detection
• Viola Jones Method
• LBPH Face Recognizer
FACE RECOGNITION ???
• Face Recognition System is physical characteristics
recognition technology, using the inherent physiological
features of humans for ID recognition.
• Two Types:-
* Verification- System compares the given
individual with who they say they are and
gives a Yes or No decision.
* Identification- System compares the given
individual to individuals in the database.
HARDWARE & SOFTWARE

django
IMPLEMENTATION
• Face Recognition using OpenCV can be implemented using
following Algorithms :
➢ Eigenfaces
➢ Fisherfaces
➢ Local Binary Pattern Histograms

WOLVERINE

FACE FEATURE FACE VERIFICATION/


IMAGE IDENTIFICATION
DETECTION EXTRACTION RECOGNITION
DATA FLOW
DIAGRAM
MODULE :1 - FACE DETECTION
detectMultiScale - Detects objects of different sizes in the input image. The
detected objects are returned as a list of rectangles.
• ourClassifier.detectMultiScale(input image, Scale Factor , Min Neighbors)
• Scale Factor - Specifies how much we reduce the image size each time we
scale.
• Min Neighbors - Specifies the number of neighbors each potential window
should have in order to consider it a positive detection.
VIOLA JONES METHOD
1. HAAR FEATURES
2. INTEGRAL IMAGE

In an integral image the value at pixel(x,y) is the sum of pixels


above and to the left of (x,y).
3. ADABOOST
As stated previously there can be 160,000+ feature values within a detector at 24x24
base resolution which needs to be calculated. But it is to be understood that only few set
of features will be useful among all these features to identify a face .
4. CASCADING
• The basic principle of the Viola-Jones face detection algorithm is to scan the detector many times
through the same image – each time with a new size.

• Hence a single strong classifier formed out of linear combination of all best features is not a good
to evaluate on each window because of computational cost.

• Therefore a cascade classifiers is used which is composed of stages each containing a strong
classifiers. So all the features are grouped into several stages where each stage has certain
number of features.

• The job of each stage is used to determine wheatear a given sub-window is defiantly not a face
or may be a face. A given sub window is immediately discarded as not a face if it fails in any of
the stage.
LBPH FACE RECOGNIZER

Take a 3×3 window and move it across one image. At each move (each local part of
the picture), compare the pixel at the center, with its surrounding pixels. Denote
the neighbors with intensity value less than or equal to the center pixel by 1 and
the rest by 0.

After you read these 0/1 values under the 3×3 window in a clockwise order, you
will have a binary pattern like 11100011 that is local to a particular area of the
picture. When you finish doing this on the whole image, you will have a list of local
binary patterns.
LBP conversion to binary. Local Binary Patterns
applied to Face Detection and Recognition.
In the end, you will have one histogram for each
face in the training data set. That means that if
there were 100 images in the training data set
then LBPH will extract 100 histograms after
training and store them for later recognition.
Remember, the algorithm also keeps track of
which histogram belongs to which person.

Later during recognition, the process is as


follows:
• Feed a new image to the recognizer for face
recognition.
• The recognizer generates a histogram for that
new picture.
• It then compares that histogram with the
histograms it already has.
• Finally, it finds the best match and returns the
person label associated with that best match.
Below is a group of faces and their respective
local binary patterns images. You can see that the
LBP faces are not affected by changes in light
conditions:
THIS WAS ALL FROM OUR SIDE…

THANK YOU…