Face Recognition Using Principal Component Analysis
Face Recognition Using Principal Component Analysis
Face Recognition Using Principal Component Analysis
Abstract— Face recognition is one of the most relevant which was used for recognition of faces, to make it reliable.
applications of image analysis. It’s an efficient task (true For face identification the starting step involves extraction
challenge) to build an automated system with equal human of the relevant features from facial images. A big challenge
ability to face recognised. Face is a complex 3D visual model is how to quantize facial features so that a computer should
and developing a computational model for face recognition is
a difficult task. The paper presents a methodology for face
be able to identify a face. The study carried out by many
recognition based on information theory approach of coding researchers over the past several years indicates that certain
and decoding the face image. Proposed methodology is facial characteristics are used by human beings to identify
combination of two stages – Feature extraction using principle faces. Principle component analyses (PCA) is a classic tool
component analysis and recognition using the feed forward widely used in the appearance based approaches for
back propagation Neural Network. The proposed method has dimensionality reduction and feature extraction in most of
been tested on Oracle Research Laboratory (ORL) face the pattern recognition application. Hau T. Ngo et al.
database containing 400 images (40 classes). A recognition described a flexible and efficient architecture for real-time
score for the test lot is calculated by considering almost all the face recognition system based on modular Principal
variants of feature extraction. The test results gave a
recognition rate of 99.50%.
component Analysis method in an environment of FPGA,
they showed that modular PCA improves the accuracy of
Keywords—Face recognition, Principal component analysis face Recognition when face images have varying
(PCA), Artificial Neural network (ANN), Eigenvector, and expression and illumination. The architecture was able to
Eigenfaces. perform face recognition in 11ms for a database with 1000
face images [1].Boualleg proposed a new hybrid method
1. INTRODUCTION for the face recognition by combining the neural networks
The face is the primary focus of attention and plays a major with the Principal Component Analysis [2]. Sajid I et al.
role in identification and establishing the uniqueness of a presented a High performance FPGA based Face
particular person from the rest of the human society. In recognition system, where they used fixed point technique
spite of so many faces in the human society, there is with software hardware co-design methodology which
remarkable ability of a human eye to recognized one face reduces cycle and provides the flexibility in
from another. A human can recognize thousands of faces face[3].Hossein Sahoolizadeh proposed a new face
learned throughout the lifetime and identify familiar faces recognition method based on PCA(principal Component
at a glance even after years apart. This ability of human eye Analysis) LDA(Linear Discriminant Analysis) and Neural
is quite effective, even though there are changes in the Network. The proposed method was tested on orl database
visual stimulus due to aging of a person, expression and for face. Experimental results on this database rabel the
change of looks due to glasses, beards or in hair style. effectiveness of the proposed method for face recognition
There are many approaches such as security purpose, credit with less misclassification in comparison with previous
card verification, criminal identification etc. where the methods [4]. Sathaporn Visakhasart presented new
identification of a face plays an important role. A slight multipipelined architecture for face recognition system on
recognition of a particular person will be much better, in FPGA. This architecture helps to reduce the recognition
these kind of fields, than not even recognizing at all. time through its pipeline process and also encourage the
Although it is clear that people are good at face reduction in hardware resources [5]. Karim has been
recognition, but it’s not obvious that a human brain can developed the image processing and recognized the faces
encoded or decoded for every face. Human face recognition using PCA based face recognition techniques. And also
has been studied for more than twenty years. Developing a implement based on MATLAB program to identify the face
suitable program which can be used digitally in recognizing using Indian database and face recognition data. Matching
a face is a quite challenging task, because human faces are unknown image with known image, different techniques
complex and are different from each other in every aspect. like sum of absolute difference (SAD), Sum of squared
So, developing such a kind of program is a difficult task in difference (SSD), normalized cross correlation (NCC) etc.
this digital world, which may involve earlier techniques, The performance of PCA-based face recognition system is
www.ijcsit.com 6491
Ningthoujam Sunita Devi et al, / (IJCSIT) International Journal of Computer Science and Information Technologies, Vol. 5 (5) , 2014, 6491-6496
quite satisfactory [6]. Janarbek Matai et al. presented image.The Proposed method is connection of two stages-
FPGA-based Real-Time Face Recognition System in which feature extraction using Principal component analysis and
they design full face detection and recognition system on recognition using the feed forward back propagation neural
FPGA vertex 5. They used haar data for detection and network.
Eigen[7]. Mohod approach rate the face recognition In this paper an unsupervised pattern recognition scheme,
problem as an intrinsically two dimensional (2D) which is independent of excessive geometry and
recognition problem rather than requiring recovery of 3D computation is proposed for a face recognition system. The
geometry, proceeds advantage of the fact that faces are system is implemented based on Eigenfaces, PCA and
normally upright and thus may be described by a small set ANN. PCA for face recognition is based on the information
of 2D characteristic views [8]. Rala M. Ebied describe a theory approach in which the relevant information in a face
method of feature Extraction using PCA and Kernel-PCA image is extracted as efficiently as possible. Further ANN
for Face Recognition in which they investigates the was used for classification. Neural Network notion is used
nonlinear kernel function to improvement the principal because of its ability to learn from observed data.
component analysis (PCA) for feature extraction. The Advantage and disadvantage of PCA
experiments carried out to investigate the performance of The advantages of PCA are listed below:
Kernel-PCA by comparing it with the performance of the 1) Lack of redundancy of data given the orthogonal
PCA. Two kernel functions are used with the kernel-PCA, components.
polynomial and Gaussian functions, to check which one 2) Reduced the complexity in face images grouping with
achieved a better performance. The k-nearest neighbor the use of PCA
classifier with Euclidean distance is used to investigate the 3) Smaller database representation since only the trainee
performance of the Kernel-PCA and PCA for classification images are stored in the form of their projections on a
step [9]. Manal Abdullah study to optimize the time reduced basis.
complexity of PCA (Eigenface) that does not affects the 4) Noise reduction since the maximum variation basis is
recognition performance [10]. chosen and so the small variations in the back ground are
There are two basic methods for recognized the face. The ignored automatically.
first method is based on feature extraction vectors from the 5)2DPCA over 1DPCA is that the feature vector is now
basic parts of a face feature such as eyes, nose, mouth, and two-dimensional so the problem of dimensionality is
chin, with the assist of deformable templates and extensive greatly reduced.
mathematics. Then the key information from the basic parts
of face is gathered and converted into a feature vector. Table 1. The features of PCA are shown in the table below.
Yullie and Cohen [11] used deformable templates in
contour extraction of face images. Feature Principal component analysis
PCA manages the entire data for the principal
Another method is based on the information theory Discrimination
components analysis without taking into
concepts viz. principal component analysis (PCA) method. between classes
consideration the fundamental class structure.
In this method, information that best describes a face is PCA applications in the significant fields of
Applications
derived from the entire face image. Based on the Karhunen- criminal investigation are beneficial
Loeve developed in pattern recognition, Kirby and Sirovich Computation for
PCA does not require large computations
large datasets
[12,13] used principal component analysis to efficiently
The directions of the maximum discrimination are
represent the pictures of faces. Any face image could be Direction of not the same as the directions of maximum
around reconstructed by a small collection of weights for maximum variance as it is not required to utilize the class
each face and a standard face picture, that is, eigen picture. discrimination information such as the within class scatter and
The weights are obtained by projecting the face image onto between class scatter
PCA examines the directions that have widest
the eigen picture. In mathematics, Eigenfaces are the set of Focus
variations
eigenvectors which are the set of feature vector or Supervised learning
PCA is an unsupervised technique.
characteristic used in the computer vision problem of technique
human face recognition. The principal component of the Well distributed
distribution of faces or the eigenvectors of the covariance classes in small PCA is not as powerful as other methods.
datasets
matrix of the set of face image is the Eigenfaces. Each face
can be represented exactly by a linear combination of the
Eigenfaces [14]. The best M eigenfaces construct an M Disadvantages of PCA are:
dimension (M-D) space that is called the “face space” 1) The covariance matrix is difficult to be evaluated in an
which is same as the image space. Turk and Pentland [15] accurate manner.
proposed a face recognition method based on the 2) The simplest invariance could not be captured even by
Eigenfaces approach. Gumus , Ergun [16] present an the PCA unless the training data explicitly provides this
evaluation of using various method for face recognition. information.
According to their experiment the classification accuracy 3) PCA is a less sensitive to different training data set.
increasing dimension of training data set, chosen feature 4) Computationally expensive and complex with the
extraction-classifier pairs. Agarwal,M., [17] present a increase in data size.
methodology for face recognition based on information 5) Time complexity is high.
theory approach of coding and decoding the face
www.ijcsit.com 6492
Ningthoujam Sunita Devi et al, / (IJCSIT) International Journal of Computer Science and Information Technologies, Vol. 5 (5) , 2014, 6491-6496
2. PROPOSED TECHNIQUE image) and testing dataset (rest 40% images). The process
is described in Fig. 1.
The proposed technique is based on coding and decoding of
face images with emphasis on the significant of local and
global features of face. In this proposed method the
relevant information in a face image is feature extracted, Get the Face Descriptor Using Eigen Face
encoded and then compared with a face database of models The face library entries are normalized. Eigenfaces are
and then classified with ANN. The primary advantage of calculated from the training set and stored the data. An
the proposed method is independent of any judgment of number of face can be represented exactly in terms of a
features like open/closed eyes, different facial expressions linear combination of Eigenfaces. The face can also be
images, with and without Glasses. The model of the face approximated using only the best M eigen faces, that mean
recognition system shown in Fig 1: the largest eigen values. It interpretation for the most
variance within the set of face images. Best M Eigenfaces
span an M-dimensional subspace which is called the "face
space" of all possible images. For calculating the
Eigenfaces, the proposed PCA algorithm by Kirby and
Sirovich [18,17] was used. It includes the calculation of the
average face space and further the difference of average
with each face. The difference covariance matrix (C) is
used to compute for the dataset. The covariance matrix
between two sets of data reveals how much the sets
correlate. Based on the statistical technique called as PCA,
the number of eigenvector for covariance matrix can be
reduced from N (the number of pixels in image) to the
number of images in the training dataset.
www.ijcsit.com 6493
Ningthoujam Sunita Devi et al, / (IJCSIT) International Journal of Computer Science and Information Technologies, Vol. 5 (5) , 2014, 6491-6496
NEW IMAGE PREPROCESSING Since the one network is equal to the number of people in
the database, therefore forty networks, one network was
created. Among the ten images, first 6 of them are used for
training the neural networks, then these networks are tested
and their properties are updated. The trained networks
NEW FACE PROJECTION ONTO EIGEN would be used later on for recognition purposes. For testing
DESCRIPTOR FACE the whole database, the faces used in training, testing and
recognition are changed and the recognition performance is
given for whole database. The complete face recognition
process is shown in Fig. 5.
NEURAL NETWORK DECISION CHOOSE
LARGEST VALUE
4. EXPERIMENT
The proposed method is tested on ORL face database.
Database has more than set of image of an individual’s face
with different conditions like expression, illumination etc.
There are ten different images of each of 40 perceptible
subjects. Each image has the size of 112 x 92 pixels with
256 grey levels. For some subjects, the images were taken
at assorted times, varying the lighting, facial expressions
(open / closed eyes, smiling / not smiling) and facial details
(glasses / no glasses). Each images were taken against a
dark homogeneous background with the subjects in an
upright, frontal position (with tolerance for some side
movement). A view image of the Face Database is
available (Fig. 5). The original pictures of 112 x 92 pixels
have been resized to 56 x 46 so that the input space has the
dimension of 2576.
Eigenfaces are calculated by using PCA algorithm and
experiment is performed by varying the number of
eigenfaces used in face space to calculate the face
descriptors of the images. The numbers of network used are
equal to number of subjects in the database.
The initial parameters of the Neural Network used in the
experiment are given below:
• Type: Feed forward back propagation network Fig. 5 – A complete process of PCA, Eigenface and ANN
• Number of layers: 3 (input, one hidden, based faced recognition system
output layer)
www.ijcsit.com 6494
Ningthoujam Sunita Devi et al, / (IJCSIT) International Journal of Computer Science and Information Technologies, Vol. 5 (5) , 2014, 6491-6496
K-means [20], 2. Fuzzy Ant with fuzzy C-means. [20] 80 0.1287 31.6533
Comparison of the result has been tabulated in Table 30 90 90 100 0.0214 92.6833
I.Table II: Recognition score of Face recognition using 90 90 100 100 100 0.0613 81.1167
PCA and ANN.
80 0.0742 71.1367
90 90 100 100 100 0.0325 97.9167 150 100 90 90 100 0.0269 92.333
www.ijcsit.com 6495
Ningthoujam Sunita Devi et al, / (IJCSIT) International Journal of Computer Science and Information Technologies, Vol. 5 (5) , 2014, 6491-6496
www.ijcsit.com 6496