Professional Documents
Culture Documents
I would like to express my sincere thanks to Prof. Dr. Shashidhar Ram Joshi for
providing precious suggestions about project concept and its inception.
I would also like to thank Prof. Dr. Subarna Shakya and Dr. Surendra Shrestha for
their constant support and encouragement on research activity during Masters
program.
Table of Contents
ACKNOWLEDGEMENT .................................................................................................. I
LIST OF FIGURES ......................................................................................................... III
LIST OF ABBREVIATION............................................................................................ IV
1.
INTRODUCTION...................................................................................................... 1
1.1. Background ........................................................................................................... 1
1.1.1.PCA Algorithm ............................................................................................ 1
1.1.2.Artificial Neural Network ............................................................................ 2
1.2. Motivation ............................................................................................................. 2
1.3. Problem Definition................................................................................................ 2
1.4. Objective ............................................................................................................... 3
1.5. Applications .......................................................................................................... 3
2.
3.
METHODOLOGY .................................................................................................... 5
3.1. Read the Face Image from Training Database ...................................................... 5
3.2. Preprocessing ........................................................................................................ 5
3.2.1.Average Filtering ......................................................................................... 5
3.2.2.Histogram Equalization ............................................................................... 6
3.2.3.Bi-Cubic Interpolation ................................................................................. 6
3.3. PCA for Feature Extraction .................................................................................. 6
3.4. Artificial Neural Network with Back Propagation ............................................... 7
3.4.1.Input to Feed Forward Network ................................................................... 7
3.4.2.Back Propagation Algorithm and weight Adjustment ................................. 8
3.4.3.Training Neural Network with Input face images ....................................... 9
3.4.4.Testing the ANN .......................................................................................... 9
4.
5.
6.
REFERENCES ......................................................................................................... 12
ii
LIST OF FIGURES
Figure 1: Basic Block of Face Recognition ....................................................................... .5
Figure 2 : Architecture of Neural Network .......................................................................... 7
Figure 3: Back Propagation Multilayered ANN ...................................................................8
Figure 4: Time Schedule of Project ........................................................... .......................10
iii
LIST OF ABBREVIATION
PCA
ANN
DCT
SOM
BPNN
iv
1.
INTRODUCTION
The human face plays an important role in our social interaction, conveying peoples
identity. The facial recognition process normally has four interrelated phases or steps.
The first step is face detection, the second is normalization, the third is feature
extraction, and the final cumulative step is face recognition. These steps depend on
each other and often use similar techniques. Face Recognition System is a computer
based digital technology and is an active area of research. The Face Recognition
System has various applications like various authentication systems, security systems
and searching of persons etc. These applications are cost effective and consume less
time. Moreover the face database can be easily designed by using any image of the
person.
1.1. Background
Traditionally, pattern recognition is broken down into three areas: segmentation,
feature extraction, and classification. Segmentation is the first step; it is finding
regions of possible signals [1]. The second step is feature extraction and in this step
we search for the most important or significant features of the regions passed by the
segmentation which can be used in the final step, classification. Classification
compares the extracted features to those of previously identified objects and
identifies the object as one of the previously identified classes.
1.1.1. PCA Algorithm
PCA is variable reduction procedure and useful when obtained data have some
redundancy. This will result into reduction of variable into smaller no. of variables
which are called Principal Component. The major advantage of PCA is using it in
Eigen faces approach which helps in reducing the size of the database for
recognition of a test image [2]. The images are stored as their feature vectors in the
database which are found out projecting each and every trained image to the set of
Eigen faces obtained. PCA is applied on Eigen faces approach to reduce the
dimensionality of a large dataset.
1.2. Motivation
Computer vision has been an intriguing sector for research work. To model human
vision is a very challenging job. In the process of acquiring a good and efficient
model for machine learning, Face recognition is general challenge as faces are highly
variable and geometry and appearance not too complicated, However, already
difficult to describe with simple geometric basics or functions. PCA is defined in such
a way that the first principal component has the largest possible variance and each
succeeding component in turn has the highest variance possible under the constraint
that it is orthogonal to the preceding components. ANN is nonlinear model that is
easy to use and understand compared to statistical methods. ANN with Back
propagation (BP) learning algorithm is widely used in solving various classifications
and forecasting problems. Even though BP convergence is slow but it is guaranteed.
of such access control systems are secure computer systems, bank automatic teller
machines, and automatic card readers. In fact, any organization or system that permits
access based on a person's identity would find a face recognition system useful. Other
security applications for a face recognition system would be criminal identification
and scanning airports for terrorists.
1.4. Objective
The main objectives of the project is given below
To train the neural network to recognize the face from image using Back
Propagation Algorithm.
Formulation of face recognition based on feature extractor using PCA that can
be used for authorized user verification.
1.5. Applications
This project finds its applications in the following sectors:
Photography
Computer vision
Pedestrian detection
Person identification.
Human-computer interaction.
Security systems
2.
LITERATURE REVIEW
Presently there are several methods for face recognition. PCA with SOM is the
better technique than 2D-DCT with SOM. It has discussed the face recognition
method combined with PCA and the multi-layer network which is one of the
intelligent classifications was suggested and its performance was evaluated [2]. As a
preprocessing algorithm of input face image, this method computes the Eigen faces
through PCA and expresses the training images with it as a fundamental vector. In
this reviewed various techniques for face detection such as feature extraction.
Classification schemes and databases for face recognition [3]. It gives focus on
CCA was applied to the classical PCA features to form the coherent features for
recognition, but it is applicable to other holistic face recognition features such as
independent component analysis and discrete cosine transform features, which
might improve the recognition performance further.
In that [5] has explored a noble face recognition algorithm which integrates the
principal component analysis; back propagation neural network and discrete cosine
transform to improve the performance of face recognition algorithms.PCA is used to
reduce the dimensionality of face image and the recognition is done by the BPNN
for efficient and robust face recognition. DCT is an exact and robust face
recognition system used in compression due to its compressed representation power.
DCT reduce the amount of time required to recognize a face.
It adopted the global features for extraction using PCA [6] based Eigen faces
computation method and the detection part is completed using multi- layered feed
forward Artificial Neural Networks with back propagation process. The learning
process of neurons is used to train the input face images with 1000 iterations to
reduce the error. In that, face recognition task is completed with improved accuracy
and success rate even for noisy face images. It [7] has given brief introduction of the
PCA and the self SOM neural network which are the heart for the design and
implementation, these are the final algorithms used for the design of an efficient
high-speed face recognition system. In that 87] given brief introduction about
feature extraction Using DCT.DCT reduces the dimension of data to avoid
singularity and decreases the computational cost of PCA. In this, various feature
extraction approaches are considered and a new efficient approach is proposed.
4
3.
METHODOLOGY
images from
raining Database
Extract the
Training and
feature using
Testing using.
PCA
ANN
3.2. Preprocessing
In preprocessing stage, initially average filtering is applied to produce blurry effect,
and contrast of the image is enhanced through histogram equalization process. Then
image size is reduced using Bi-cubic Interpolation down sampling method in order to
make it light but efficient and best suited for PCA subspace processing and neural
network classification stage.
3.2.1.
Average Filtering
After retrieving images from the database, each image undertakes smoothing process.
The mean/average filter is applied in order to produce the blurry effect, as resizing
(down sampling) is included in later stages while maintaining the quality of face
image. The 5*5 mask is used for average filter process.
R=1/25
This equation calculates the average value of the pixels, whereas 'z' is the mask, and 'i'
are mask elements. The output 'R' is then convolved with image to produce filtering
effect. A 5*5 mask used in the implementation calculates average of 25 neighboring
pixels in image.
3.2.2.
Histogram Equalization
After average filtering stage all images undertake the process of histogram
equalization. This equalization process is done in order to have uniform distribution
of intensities and to enhance contrast of the images. Mathematically histogram
equalization can be expressed as:
Sk=T(rk)=
In this equation n is the total number of pixels in an image, nj is the number of pixels
that have gray level rk.
3.2.3. Bi-Cubic Interpolation
The process of histogram equalization is followed by image resizing process. The key
advantage of resizing through bi-cubic interpolation is that it produces smoother
surfaces than any other interpolation technique. Reducing the actual resolution of the
image Bi-cubic Interpolation takes into account 16 pixels in the rectangular grid, takes
weighted average of pixels and replaces them with a single pixel, and it is that pixel
which has actually got the flavor of all the replaced pixels. This reduction is done to
reduce redundant information and to reduce mathematical complexity in PCA
process. Here the actual resolution of an image is also reduced to ease complexity in
convergence and significant effects on time required for training the neural network.
Calculate the average image, , as: = Pl /M, where 1< L<M, each image
will be a column vector the same size.
Calculate the Eigen values of the covariance matrix C and carry on only k
largest Eigen values for dimensionality reduction as k = m n=1(UKT Onn).
All the centered images are projected into face space on Eigen faces basis to
compute the projections of the face images as feature vectors as:
w = UTO = UT(Pi - ), where 1<i<m.
Input
Compare
Output
between neuron
Adjust
Weights
Figure 2: Back Propagation of Multilayered ANN
Set an input pattern (binary values) to the neurons of the nets input layer.
Multiply the weight values of the connections, leading to this neuron with
the output values of the preceding neurons.
Pass the result to an activation function, which computes the output value
of this neuron.
Compare the calculated output pattern to the desired target pattern and compute
a square error value.
Change
all
weights
values
of
each
weight
using
the
formula:
The algorithm end, if all output pattern match their target pattern.
4.
TIME SCHEDULE
Material Collection
Algorithm Design
Implement Algorithm
Run algorithm for test Images
Output Analysis
Documentation
0
10 11 12 13 14 15
Weeks
10
5.
EXPECTED OUTPUT
There will be an artificial neural network based feature extractor that can be used for
authorized user verification in a practical work environment.
11
6.
REFERENCES
PCA
ISSN
(online):
2277-7970)
Volume-2
Number-4
Issue-7
December-2012.
[8] Saeed Dabbaghchia, Masoumeh P.Ghaemmaghami b, Ali Aghagolzadeh a
Feature extraction using discrete cosine transform and discrimination power
analysis with a face recognition technology Journal of Pattern Recognition 43
(2010) 14311440.
12