Professional Documents
Culture Documents
Project Synopsis
<Version 1.0>
<Guideline: Change the Version No. inside document in Header also>
Month, YYYY
Table of Contents
1 Project Title.........................................................................................................................................3
2 Domain................................................................................................................................................3
3 Problem Statement.............................................................................................................................3
4 Project Description..............................................................................................................................3
4.1 Scope of the Work.......................................................................................................................3
4.2 Project Modules...........................................................................................................................3
5 Implementation Methodology............................................................................................................3
6 Technologies to be used......................................................................................................................4
6.1 Software Platform........................................................................................................................4
6.2 Hardware Platform......................................................................................................................4
6.3 Tools............................................................................................................................................4
7 Advantages of this Project...................................................................................................................4
8 Future Scope and further enhancement of the Project.......................................................................4
9 Team Details........................................................................................................................................4
10 Conclusion.......................................................................................................................................5
11 References.......................................................................................................................................5
1 Project Title
Face Recognition and location is an innovation that is utilized to recognize a human face in
advanced pictures. In 1960s face acknowledgment was proposed by Woodrow Wilson Bledsoe.
Face Recognition is the strategy where in the distinguish of a people. The Concept of Python
and OpenCV has an enormous number of capacities, it helps in perceiving the front facing face
of the individual and furthermore makes extensible markup language records for quite a long
time like the opening pieces of the body adjacent to this OpenCV utilizes a face finder
calculation called a Haarscascade classifier. OpenCV, We learned AUTOMATIC VISION
OBJECT TRACKING. Now we will use our PiCam to Recognize Faces in real-time, as you can see
below:
This Project was done with this Fantastic “Open Source Computer Vision(CV) Library” , then
OpenCV. We will Focusing on Raspberry Pi (so, Rasbian as OS) and Python, but I also tested the
code on my windows and it also works fine.
2 Domain
I’m Using a Raspberry Pi V3 updated to the last version of Raspbian (Stretch), so the best way to
have OpenCV installed. You Should have an OpenCV Virtual Environment ready to return to run
our experiments on your Pi. Let’s go to our Virtual Environment and confirm that OpenCV is
correctly Installed. Python Virtual Environment is entirely independent and sequestered from
the default Python Version Included in the download of Raspbian Stretch. So, any Python-
Packages in the global site-packages directory will not be available to the cv virtual
environment. Similarly, any Python Packages installed in site-packages of cv will not be
available to the global install of Python.
import cv2
OpenCV is an open-source computer vision library available written in C and C++ which runs
under Linux, Windows, Mac OS X, iOS, and Android. Interfaces are available for Python, Java,
Ruby, Matlab, and other languages. A very simple program used just to show an image can be
written as follows:
import numpy as np
import cv2
img = cv2.imread(’lena-color.jpg’)
cv2.imshow(’image’,img)
cv2.waitKey(0)
cv2.destroyAllWindows()
2. Use Image. open () method and pass the path to image file as argument. Image.
open () returns an Image object. You can store this image object and apply
image operations on it.
3 Problem Statement
A general statement of face recognition problem can be formulated as follows: Given still or
video images of a scene, identify or verify one or more persons in the scene using a stored
database of faces. Facial Recognition is a category of biometric software that maps an
individual’s facial features and stores the data as a face print. They can be taken even without
the user’s knowledge and further can be used for security-based applications like criminal
detection, face tracking, airport security, and forensic surveillance systems. Face recognition
involves capturing face images from a video or a surveillance camera. They are compared with
the stored database. Face recognition involves training known images, classify them with
known classes, and then they are stored in the database.
4 Project Description
The Local Binary Pattern Histogram (LBPH) Algorithm is a simple solution on Face
Recognition Problem, which can recognize both front face and side Face. In this
Project, we will use the pre-trained model store in the form of .yml file. OpenCV
(Open-Source Computer Vision Library) development is a significant breakthrough
since it can be easily used to implement commonly used facial recognition
algorithms such as LBPH (Local Binary Pattern Histogram). The algorithm for facial
recognition analyzes the characteristics of a face from the input image. OpenCV is
widely used to implement algorithms for facial recognition. The haar like cascade
algorithm is used for face detection. There are various algorithms for face
recognition, but LBPH (Local Binary Pattern Histogram) is easy and popular
algorithm among them.
The meaning of the term 'facial recognition' is quite intuitive. The technology uses
computer vision algorithms to map, analyze, and confirm the identity of a face on
a photo or a video. Although every facial recognition solution (which often rely on
proprietary algorithms) operates differently, we can distill the facial recognition
process down to the following three steps:
Detection refers to the process of locating a face in an input image.
So, each face is placed into a bounding box. To complete this stage,
the facial recognition algorithms are first trained to learn what a face
looks like on various data entries.
Analysis refers to mapping out the features for each face. This is done
by measuring the distance between the eyes, the nose, and the
mouse, as well as identifying the shape of the chin. Those distances
are then combined and converted into a unique set of numbers — the
so-called faceprint.
Recognition refers to actually determining a person's identity in the
input photo. In some applications, this stage is replaced with
categorization. In such cases, the algorithms do not confirm a person's
identity but label the person as belonging to one of the distinct
groups, for example, by gender or age.
Face Detection
The Most basic task on Face Recognition is of Course “Face Detecting”. Before anything, you
must “capture” a face to recognize it, when compared with a new face captured on future. The
Most Common way to detect a face (or any objects), is using the “Haar Cascade Classifier”.
Object Detection using Haar Feature-based cascade classifiers is an effective object detection.
Here we will work with Face Detection. Initially, the algorithm needs a lot of positive images
(images of faces) and negative images (images without faces) to train the classifier. Then we
need to extract features from it. The Good News is that OpenCV comes with a trainer as well as
a detector. If You Want to train your own classifier for any object like car, planes etc. You can
use OpenCV to create one.
Face Detection
Face Detection is also Called Facial Detection . Face Detection is an Artificial Intelligence (AI)
Based Technology used to find and identify Human Faces in Digital Images. Face Detection
Technology can be applied to Various Fields – Including Security, Biometrics, Law Enforcement
and Personal Safety to Provide Surveillance and Tracking of People in Real Time. In Face
Analysis, Face Detection helps identify which parts of an image or Video Should be Focused on
to determine age, Gender and Emotions using Facial Expression.
Face Recognition
Face Recognition Vendor Tests (FRVT) provide independent government evaluations of
commercially available and prototype face recognition technologies. Face recognition has
recently received a blooming attention and interest from the scientific community as well as
from the general public. A more consistent approach to do facial recognition was done by
Fischler et al (1973) and later by Yuille et al (1992). This approach measured the facial features
using templates of single facial features and mapped these onto a global template. Facial
recognition is a visual pattern recognition task. The Three-dimensional human face, which is
subject to varying illumination, pose, expression etc. must be recognized.
Face Detection
The aim of face detection is localization of the face in a image. In the case of video input, it can
be an advantage to track the face in between multiple frames, to reduce computational time
and preserve the identity of a face (person) between frames.Easy to Integrate Face Detection
and Face Recognition Technology is easy to Integrate, and Most Solutions are Compatible with
the Majority of Security Software. Face Detection improves surveillance efforts and helps track
and down criminals and Terrorists. Personal Security is also enhanced since there is nothing for
hackers to steal or change, such as passwords. Face Detection allows the identification process
to be automated, thus saving time and increasing Accuracy.
5 Implementation Methodology
Ø Although the term face detection and face recognition are often used
together, facial recognition is only one application for face detection. Facial
Project Title: Page 8 of 20
TMU-FOE&CS Version 5.0 T001A-Project Synopsis
Recognition is used for unlocking phones and mobiles apps as well as for
biometrics verification. The Banking, Retail and transformation-security
industries employ facial recognition to reduce crime and prevent Violence.
§ User interface captures the analog or digital image of the person's face.
This analyzed data is stored in the dataset for the purpose of future
comparison.
• Data acquisition
• Input processing
6 Technologies to be used
RAM :- 4 0r 8 GB
Hard Disk :- 1TB
OS :- Windows 11
Edito :- Pycharm.
Browser :- Google Chrome and Firefox.
6.3 Tools
<Guidelines: Mention if any tool is planned to be used in any phases of the life cycle of the
project and purpose of using the tool. Mention tool Name, Vendor Name, version no. etc. >
The Advantages of this project are Face Recognition and Face Detection are :-
The future of facial recognition technology is bright. Security and surveillances are
the major segments which will be deeply influenced. In the long run, robots using
facial recognition technology may also come to foray. They can be helpful in
Project Title: Page 13 of 20
TMU-FOE&CS Version 5.0 T001A-Project Synopsis
completing the tasks that are impractical or difficult for human beings to
complete. There are numerous applications of facial recognition.
A facial recognition system is used to identify and verify a person from an image
or video source. It uses biometric software’s along with AI enabled devices for
mapping facial features and brings out the recognition step. A facial recognition
software differentiates a face from rest of the background in the image. The
software first recognizes the face then measures different facial features. Face
detection is the first step of process wherein face is detected from an image or a
video. Once a face is detected, the system identifies its size and position. Face
Recognition is one of the most popular applications of image analysis software and no
more considered as a subject of science fiction. Earlier, this technology was only used
for security and surveillance purposes, but it has safely transitioned to the real world in
recent times. Facial recognition system works by comparing facial features from an
already existing images.
9 Team Details
10 Conclusion
Face recognition technologies have been associated generally with very costly top
secure applications. Today the core technologies have evolved and the cost of
equipment's is going down dramatically due to the integration and the increasing
processing power. Certain applications of face recognition technology are now
cost effective, reliable and highly accurate. Face recognition technology has come
a long way in the last twenty years. Today, machines are able to automatically
verify identity information for secure transactions, for surveillance and security
tasks, and for access control to buildings etc. These applications usually work in
controlled environments and recognition algorithms can take advantage of the
environmental constraints to obtain high recognition accuracy. However, next
generation face recognition systems are going to have widespread application in
smart environments -- where computers and machines are more like helpful
assistants.
To achieve this goal computers must be able to reliably identify nearby people in
a manner that fits naturally within the pattern of normal human interactions.
They must not require special interactions and must conform to human intuitions
about when recognition is likely. This implies that future smart environments
should use the same modalities as humans, and have approximately the same
limitations. These goals now appear in reach -- however, substantial research
remains to be done in making person recognition technology work reliably, in
widely varying conditions using information from single or multiple modalities.
11 References
[1]. Learning OpenCV 4 Computer Vision with Python 3: Get to Grips with Tools, Techniques, and
Algorithms for Computer Vision and Machine Learning, 3rd Edition.
[3]. Face Detection and Tracking using OpenCV. S.V.Viraktamath, Mukund Katti, Aditya
Khatawkar, Pavan Kulkarni. 3,
[4]. Face Detection and Recognition, Theory and Practice, CRC Press.
[6]. http://python-pillow.org/.
Results