Face Recognition Using PCA Based Algorithm and Neural Network
Face Recognition Using PCA Based Algorithm and Neural Network
describing each face are found by projecting the face image onto In this phase, the acquisition and the preprocessing of
each eigenpicture. the face images that are going to be added to the face library are
Turk and A. Pentland [2] argued that, if a multitude of performed. Face images are stored in a face library in the system.
face images can be reconstructed by weighted sum of a small Every action such as training set or eigenface formation is
collection of characteristic features or eigenfaces, perhaps an performed on this face library. Face library is initially empty. In
efficient way to learn and recognize faces would be to build up the order to start the face recognition process, this initially empty face
characteristic features by experience over time and recognize library has to be filled with face images. The proposed face
particular faces by comparing the feature weights needed to recognition system operates on 128 x 128 x 8, HIPS formatted
approximately reconstruct them with the weights associated with image files. Each face is represented by two entries in the face
known individuals. Therefore, each individual is characterized by library: One entry corresponds to the face image itself (for the
a small set of feature or eigenfaces weights needed to describe and sake of speed, no data compression is performed on the face
reconstruct them. image that is stored in the face library) and the other corresponds
to the weight vector associated for that face image. Weight
The aim of this paper is to develop a system to extract features vectors of the face library members are empty until a training set
from a grey scale image of human frontal face to represent the is chosen and eigenfaces are formed.
features using eigenfaces.
Training phase
2. TYPICAL FACE RECOGNITION
SYSTEM After adding face images to the initially empty face
The proposed face recognition system passes through three main library, the system is ready to perform training set and eigenface
phases during a face recognition process. Three major functional formations. Those face images that are going to be in the training
units are involved in these phases and they are depicted in Fig. 1. set are chosen from the entire face library. Because that the face
The basic steps involved in Face Recognition using Eigenfaces library entries are normalized, no further pre-processing is
Approach [3][4] are as follows: necessary at this step. After choosing the training set, eigenfaces
are formed and stored for later use. Eigenfaces are calculated from
2.1 Initialization the training set, keeping only the M images that correspond to the
1. Acquire initial set of face images known as Training Set. highest eigenvalues. These M eigenfaces define the M-
dimensional "face space". As new faces are experienced, the
2. Calculate eigenfaces from training set keeping only M’ images
eigenfaces can be updated or recalculated. The corresponding
that correspond to highest eigenvalues. These M’ images define
distribution in the M-dimensional weight space is calculated for
the face-space.
each face library member, by projecting its face image onto the
3. Calculate distribution in this M-dimensional space for each "face space" spanned by the eigenfaces. Now the corresponding
known person by projecting their face images onto this face- weight vector of each face library member has been updated
space. which were initially empty. The system is now ready for the
recognition process.
2.2 To Recognize New Face Images
1. For given input image, calculate a set of weights based on M’ Recognition and Learning phase
eigenfaces by projecting this new image onto each of eigenfaces.
2. Determine whether the image is face or not by checking if the After choosing a training set and constructing the
image is sufficiently close to face-space. weight vectors of face library members, now the system is ready
to perform the recognition process. User initiates the recognition
3. If the image is face, then classify the weight pattern as either process by choosing a face image. After obtaining the weight
known or unknown person. vector, it is compared with the weight vector of every face library
4. The weight pattern can be compared with known weight member within a user defined "threshold". If there exists at least
patterns to match faces. one face library member that is similar to the acquired image
within that threshold then, the face image is classified as "known".
Otherwise, a miss has occurred and the face image is classified as
"unknown". After being classified as unknown, this new face
image can be added to the face library with its corresponding
weight vector for later use (learning to recognize).
3. EIGENFACE APPROACH
The training set of images is given as input to find
eigenspace. Using these images, the average face image is
computed. The difference of these images is represented by
covariance matrix. This is used to calculate Eigenvectors and
Eigenvalues. These are the Eigenfaces which represent various
face features.
Sort the eigenvalues, and consider higher of them since they
Fig. 1: Face recognition system represent maximum variations. This becomes eigenspace spanned
by the eigenfaces which has lower dimension than original
Face Library Formation Phase images. Now given two test images are projected onto this
eigenspace to give the weight vector also known as Face key for
that image.
250
International Conference and Workshop on Emerging Trends in Technology (ICWET 2010) – TCET, Mumbai, India
The Euclidean distance between these two face key vectors is 4.2 Effect of choice of M’
calculated. If this is below some threshold value, then two images Results of choosing various values of M’ which are less
are said to be matching that means they belong to same person. than actual value M which is 60 for ORL Database which is
Depending on this result, False Acceptation Rate (FAR) and False considered. Here it is clear that by using all M eigenvectors, the
Rejection Rate (FRR) are found. These are used to change value success rate will be 100%. Total number of images considered for
of Threshold. testing are 180. While the training set size is 60. The following
table gives us idea of Error and Success rates for various values of
The eigenfaces procedure [3] is as follows: M’.
Table 1: Different choices of M’
Eigenvectors Errors Success
1. We assume the Training sets of images are, Γ , Γ2,. . ., Γm
M’ Quant Rate Quant Rate
with each image is I (x, y). Convert each image into set of 10 13 10.83% 130 72.23%
vectors and new full –size matrix ( ), where is the 20 6 5.00% 140 77.78%
number of training images and is 30 6 1.67% 150 83.34%
2. Find the mean face by: 50 2 1.67% 160 88.89%
60 0 0.00% 180 100%
5. CONCLUSION
4. RESULTS & DISCUSSION In this proposed scheme, we used the eigenfaces to represent the
The experiment was done using 180 images on 20 features vectors for human faces. The features are extracted from
different persons, (9 images each) from the database of Olivetti the original image to represents unique identity used as inputs to
Research Laboratory ORL in U.K; all taken between April 1992 the neural network to measure similarity in classification and
and April 1994. Diverse facial details and expressions made the recognition. The eigenfaces has proven the capability to provide
major difference between the images from every subject. Images the significant features and reduces the input size for neural
are all in 92x112 pixels, with 256 gray levels per pixel. The goal network. Thus, the network speed for recognition is raise.
of the experiment was to find the value of M’ to classify new
images from already known persons and recognize them.
251
International Conference and Workshop on Emerging Trends in Technology (ICWET 2010) – TCET, Mumbai, India
6. REFERENCES
[1] Kirby et al., 1990, “Application of the Karhunen- Loeve procedure for
the characterization of human faces”, IEEE Trans. Pattern Analysis
and Machine Intelligence, 12: 103-108.
[2] Turk, M.A. and A.L. Pentland,1991,“Face recognition using
eigenfaces”, Proc. IEEE Computer Society Conf. Computer Vision
and Pattern Recognition, pp: 586-591.
[3] Zhujie, Y.L.Y., 1994, “Face recognition with eigenfaces”, Proc. IEEE
Intl. Conf. Industrial Technol., pp: 434-438.
[4] Firdaus, et al., 2005, “Face recognition using neural network”, Proc.
Intl. Conf. Intelligent Systems (ICIS).
[5] Firdaus, M. et al., 2006, “Dimensions reductions for face recognition
using principal component analysis”, Proc. 11th Intl. Symp. Artificial
life and Robotics (AROB 11th 06).7
[6] Nazish, et al., 2001, “Face recognition using neural network”, Proc.
IEEE INMIC 2001. pp: 277-281.
252