Pca For Image Recognition
Pca For Image Recognition
Image Recognition
Abdulrahman Alkandari Soha Jaber Aljaber
Computer Department Computer Department
Basic Education College, PAAET Secretarial and Office Management Institute, PAAET
Kuwait Kuwait
[email protected] [email protected]
Abstract—. This paper aims mainly to recognize the important mechanisms have been working on new measurements, like
of algorithm computing to identify the facial image without fingerprints, Iris, audio fingerprint and identify the user
human intervention. Life in the current era imposed on us to face. Facial recognition and identification features of
increase the level of security and speed in the search for modern technology will be the focus of this paper [1].
information, and the most important information is the
capability of recognizing and identifying a person by his face. The automatic facial recognition is a relatively new
Principle Component Analysis algorithm (PCA) is a useful concept that began in 1960. At first it was limited to
statistical technique used for finding patterns in data of high determining the basic dimensions of the face - such as the
dimension and that has found application in face recognition eyes, the repositioning of nose and mouth. In the seventies
and image compression fields that are used for reduce of the last century, both Goldstein, Harmon and whiskey
dimension vector to better recognize images.
used 21 standards in the face to get to know the personal,
such as the color of hair and thickness of lips. In 1988, both
"Kirby" and "Serovic" apply the principle element analysis
Keywords- Principle Component Analysis algorithm (PCA), of the face, which was considered the most important step
image recognition, Image analysis, Face recognition
that led to the success of this technique later. Since then,
I. INTRODUCTION studies and researches continued until this technique
The rapid evolve of information introduced new reached its current form [4].
steps to increase the speed at which transactions are Verification and identification of a person considered
conducted daily and behaviors that we now cannot live to be an important part on many levels. Face recognition
without handled electronically. For example, smart cards or techniques is used for personal security purposes. The
electronic passwords that allow people to access their importance of this technique is due to the fact that the
account at any time, in any place around the world have modern facial recognition technology allows us to detect
replaced the paper work. But there is still a problem in this the facial expressions and facial changes in a perceivable
area, what would happen if someone has lost a bank card or range. It is even able to recognize the variation of local
forgotten password, certainly it will take time to solve this facial expressions of any individual. Nowadays face
problem. Therefore, the development of recognition is used widely by law forces to identify
criminals who have been recognized in several crime
scenes [4].
II. IMAGE PROCESSING STAGES
The face recognition algorithms based in comparing
the face in the picture against all the faces in the device
known in advance through the images and metadata, which
is defined by the most important nodal points addressed by
the software responsible which is the distance between the
eyes and the nose area, width and depth of the cavity-kind
and cheeks and place of their presence and jaw line and
chin [5].
Figure 1. The regions that are either highlighted
or contoured when used in PCA.[1]
PCA can be done by two main procedures. The first Figure 6.3:
is achieved by decomposition of the eigenvalue of a data PCA step 3.
covariance. On the other hand, the second method is done
by decomposition of a singular value of a data matrix. PCA
results are expressed as a component or factor scores (data
points represents “how much” K principal component
equals) and loadings (Standardized component score Figure 7. Step 2.
weight). Therefore, the resulted image can be expressed as
the value of each K Eigen faces it was related to. After 3- Step 3: Normalize the face vectors.
reducing the dimensionality of the training set, the face I. calculate the average face vector
images that are generated are referred as the Eigen face (or II. subtract average face from each face
eigenvectors). In the training set, each image is referred to vector ф = Ti - Ѱ to calculate
one of the selected Eigen faces. The unknown faces are Figure 6.4:eigenvectors we need to calculate the
covariance matrix C
PCA step 5.
C = AAT where A = {ф1, ф2, ф3
,…., фM }
Figure 8. Step 3.
compared to the Eigen faces of the training set and the
distance between both images is calculated [4]. 4- Step4: Dimensionality of the training set is
decreased.
PCA Eigenfaces method considers each
5- Step5: Eigenvectors are calculated from the
pixel in an image as a separate dimension. So
covariance matrix.
an N x N image has N2 pixels, therefore has
N2 dimensions. For recognition, we need a training set
(dataset) of face images. PCA Eigenfaces method does not
work on images directly. It first converts them to matrix
(vector) from. [4]
IV. STEPWISE OF PCA ALGORITHM[3]
1- Step 1: Create a training set and load it.
Figure 6. Step 1.