Face Recognition System: Abstract-We Present An Approach To The Detection and
Face Recognition System: Abstract-We Present An Approach To The Detection and
Face Recognition System: Abstract-We Present An Approach To The Detection and
Abstract—We present an approach to the detection and object is located at a short distance away, the next is the
identification of human faces and describe a working, near introduction, which recognize a face as individuals.
real-time face recognition system which track a subject head
and then recognizes the person by comparing characteristics Facial Recognition using Python Libraries
of the face to those of known individuals Our approach treats
face recognition a two-dimensions recognition problem, take The most popular and probably the simplest way to detect
advantage of the fact that faces are normally upright and thus faces using Python is by using the OpenCV package.
may be described offer small set of 2-D characteristic views. Originally written in C/C++, OpenCV now provides bindings
Face images are projected onto a feature space (“face space”) for Python. It uses machine learning algorithms to search for
that encodes the variation among known face images. faces within a picture. Faces are very complicated, made of
OpenCV is used to create the dataset and trainer to train the thousands of small patterns and features that must be
images in the proper manner. In a surveillance mode, the matched. The face recognition algorithms break the task of
system automatically detects a person's presence, positions identifying the face into thousands of smaller, bite-sized
offer camera through analysis of the image, captures an image tasks, each of which is easy to solve, known as classifiers.
and then processes the image to determine if the person
enrolled in the enrollment database. A face may have 5000 or more classifiers, all of which must
match for a face to be detected. Since there are at least 5,000
Keywords—Deep learning, Machine Trainer, Face or more tests per block, you might have millions of
Recognition, LBPH face recognizer. calculations to do, which makes it a difficult process. To
solve this, OpenCV uses cascades. The OpenCV cascade
I. INTRODUCTION
breaks the problem of detecting faces into multiple stages. It
Face recognition is an important part of the capability of performs a detailed test for each block. The algorithm may
human perception system and is a routine task for human have 30 to 50 of these stages or cascades, and it will only
while building a similar computational model of face detect a face if all stages pass.
recognition. The computation model not only contribute to
theoretical insights but also to many practical like automated The cascades are a bunch of XML files that contain OpenCV
crowd surveillance, access control, design of human data used to detect objects. You initialize your code with the
computer interface (HCI), content-based image database cascade you want, and then it does the work for you. Since
management, criminal identification. The earliest work face face detection is such a common case, OpenCV comes with a
recognition can be traced back least to the 1950s in number of built-in cascades for detecting everything from
psychology, and to the 1960s in the engineering field of the faces to eyes to hands to legs.
earliest studies include work on facial expression are
emotions by Darwin. But research on automatic machine
recognition of faces started in the 1970s and after that the You may use other alternatives to OpenCV, like dlib – that
seminal work of Kaneda. In 1995, are view paper gave a come with Deep Learning based Detection and Recognition
thorough survey of face recognition technology at that time. models.
At that time, video-based face recognition was still a nascent
stage. During the past decades, a face recognition received Face Recognition using Python Algorithm
increased attention and has advanced technically. Many
commercial systems for still face recognition are recently Face Recognition using Python and OpenCV follows a well-
significant research efforts have been focused on video based defined pattern. When you meet someone for the first time in
face modelling/tracking, recognition and from integration. your life, you look at his/her face, eyes, nose, mouth, color,
New databases have been created and evaluate the and overall features. This is your mind learning or training
recognition techniques using these databases have been for the face recognition of that person by gathering face data.
carried out. Now, the face recognition has become one of the Then the person tells you his/her name. At this point, your
most active applications of pattern recognition, image mind knows that the face data it just learned belongs to the
analysis and understanding the easiest ways to distinguish the person. Now, your mind is trained and ready to do face
main individual identity of each other. Face recognition is of recognition. Next time when you will see the person or
a personal identification system that uses personal and for his/her face in a picture you will immediately recognize. This
characteristics of a person to identify the person's identity. is how Face Recognition works. The more you will meet, the
Human face recognition procedure basically consists of two more data your mind will collect about the person and the
phases, namely face detection, where this process takes place better you will become at recognizing him/her.
very rapidly in humans, except under conditions as where the
OpenCV provides the following three face recognizers:- Python career also offers diversity in terms of career choices.
One can start off as a developer or programmer and later
switch to the role of a data scientist. With a substantial
1. Eigenface recognizer amount of experience and Python online course certification,
2. Fisherface recogniser one can also become a certified trainer in Python or an
3. LBPH face recognize. entrepreneur. But the bottom line remains the same.
Face recognition is fast gaining importance in the various DIFFERENT APPROACHES OF FACE RECOGNITION:
fields. We have entered an age when Facial Recognition There are two predominant approaches to the face recognition
technologies will soon be part of everyday life. China, for problem: Geometric (feature based) and photometric (view
example, monitors by CCTV or by police wearing special based). As researcher interest in face recognition continued,
glasses and then logs onto a database that checks on the many different algorithms were developed, three of which
habitual behavior of the people, their social credit and even have been well studied in face recognition literature.
their friends. Cameras and facial recognition are increasingly Recognition algorithms can be divided into two main
being used in public and private buildings. Some schools in approaches:
the United States are now installing facial recognition 1. Geometric: Is based on geometrical relationship between
facial landmarks, or in other words the spatial configuration
systems, to prevent gun attacks by students, given that most
rampages are carried out by students whose faces will already of facial features. That means that the main geometrical
be on a database and have full access to the premises. This features of the face such as the eyes, nose and mouth are first
has led to increased demand for coders and developers with located and then faces are classified on the basis of various
knowledge of Face Recognition algorithms; Python and geometrical distances and angles between features.
OpenCV, in particular. 2. Photometric stereo: Used to recover the shape of an
object from a number of images taken under different lighting
Face Recognition with Python takes just a few lines of code conditions. The shape of the recovered object is defined by a
to have a fully working face recognition application and you
gradient map, which is made up of an array of surface normal 3) The sensors work by projecting structured light onto the
(Zhao and Chellappa, 2006) face. Up to a dozen or more of these image sensors can be
placed on the same CMOS chip—each sensor captures a
Popular recognition algorithms include: different part of the spectrum.
1. Principal Component Analysis using Eigenfaces, (PCA)
4) Even a perfect 3D matching technique could be sensitive
2. Linear Discriminate Analysis,
to expressions. For that goal a group at the Technion applied
3.Elastic Bunch Graph Matching using the Fisher face
tools from metric geometry to treat expressions as isometries.
algorithm,
5) Skin texture analysis: - Another emerging trend uses the
visual details of the skin, as captured in standard digital or
scanned images. This technique, called Skin Texture
Analysis, turns the unique lines, patterns, and spots apparent
in a person’s skin into a mathematical space.
As you will see that the system is now finally recognizing the
image and able to detect the face.
It is clear that the recognizer is able to detect the face properly
b) Module 2(creating the Dataset ). For the recognition of the and stored data also. Hence we are successfully make the
images we have to create the dataset so that the machine is project and all the things work according to the work only.
able to recognize the image and identify of the person
properly. Further Issues and Conclusion
verification with WISARD,” in H. Ellis, M.
Jeeves, F. Newcombe, and A. Young (eds.), Aspects
of Face Processing, Martinus Nijhoff Publishers,
Dordrecht, 1986.
P. Burt, “Smart sensing within a Pyramid Vision
Machine,” Proc. IEEE, Vol. 76, No. 8,
Aug. 1988.
L. Sirovich and M. Kirby, “Low-dimensional
procedure for the characterization of human
faces,” J . Opt. Soc. Am. A, Vol. 4, No. 3, March
1987, 519-524.
[ll] M. Turk and A. Pentland, “Eigenfaces for
We are currently extending the system to deal with a range of Recognition”, Journal of Cognitive Neuroscience,
aspects (other than full frontal views) by defining a small
number of face classes for each known person corresponding
to characteristic views. Because of the speed of the
recognition, the system has many chances within a few
seconds to attempt to recognize many slightly different
views, at least one of which is likely to fall close to one of the
characteristic views. An intelligent system should also have
an ability to adapt over time. Reasoning about images in face
space provides a means to learn and subsequently recognize
new faces in an unsupervised manner. When an image is
sufficiently close to face space (i.e., it is face-like) but is not
classified as one of the familiar faces, it is initially labelled as
“unknown”. The computer stores the pattern vector and the
corresponding unknown image. If a collection of “unknown”
pattern vectors cluster in the pattern space, the presence of a
new but unidentified
face is postulated. A noisy image or partially occluded face
should cause recognition performance to degrade gracefully.
since the system essentially implements an auto associative
memory for the known faces.This is evidenced by the
projection of the occluded face image.
References
Davies, Ellis, and Shepherd (eds.), Perceiving
and Remembering Faces, Academic Press, London,
W. W. Bledsoe, “The model method in facial
recognition,” Panoramic Research Inc., Palo
Alto, CA, Rep. PRI:15, Aug. 1966.
T. Kanade, “Picture processing system by computer
complex and recognition of human faces,”
Dept. of Information Science, Kyoto University,
Nov. 1973.
A. L. Yuille, D. S. Cohen, and P. W. Hallinan,
“Feature extraction from faces using deformable
templates,” Proc. CVPR, San Diego,
CA, June 1989.
S. Carey and R. Diamond, “From piecemeal
to configurational representation of faces,” Science,
Vol. 195, Jan. 21, 1977, 312-13.
M. Fleming and G. Cottrell, “Categorization
of faces using unsupervised feature extraction,”
Proc. IJCNN-90, Vol. 2.
T. Kohonen and P. Lehtio, “Storage and processing
of information in distributed associative
memory systems,” in G. E. Hinton and
J. A. Anderson, Parallel Models of Associative
Memory, Hillsdale, NJ: Lawrence Erlbaum Associates,
1981, pp. 105-143.
T. 3. Stonham, “Practical face recognition and