You are on page 1of 57

Face Detection

THIS IS TO CERTIFY THAT THE PROJECT ENTILLED


“ Face Detction”

Major Project
Submitted in partial of the requirements for the

award of the degree of ‘B.tech’

STUDY CENTER

AKS UNIVERSITY, SATNA (M.P)

Submitted By: Sonu varman (4 B.tech) B2055R10106103

Raj Dehariya (4 B.tech) B2055R10106076

Guided By HOD

Dr. Shubhadra shaw Dr. Akhilesh Waoo

Submitted To
DEPARTMENT OF COMPUTER SCIENCE & INFORMATION TECHNOLOGY

AKS UNIVERSITY,SATNA(M.P.)

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


1
Face Detection

CERTIFICATE

This ia certify that the dissertation/ project report entitle “Face Detection”
submitted in partial Fulfillment of the B.tech(CSE) to ‘AKS University Satna
(M.P.) done by “Raj Dehariya & Sonu Verman “ Student code: B2055R10106076
&B2055R10106103 is an authentic work carried out by his under my guidance.
Requirement for his award of the degree of B.tech (cse) embodies under the
guidance of Dr. Shubhadra shaw The matter in this project work has not been
submitted earlier for award of the any degree to the best of my knowledge and
belief .

Signature of
Guide

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


2
Face Detection

SELF DECLARATION

I hereby declare that the work presented in this project entitled “Face Detection
“ toward the partial fulfillment of the award of the degree of Bachelor of
Technology (B.tech) in Department of computer Science ,AKS University Satna
(M.P) is an authentic record of my own work.

I have not submitted the matter embodied in the project of the award of
any degree or diploma to any other institute or University.

Date:

Place: Satna

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


3
Face Detection

ACKNOWLEDGEMENT

It is a great for me in taking this opportunity to express my sincere thanks and

ineptness to Dr. Akhilesh A.Waoo, Head of the Department of Computer

Science, Aks University, Satna (M.P.)

I consider myself Sonu verman & my patner Raj dehariya as enough to have

such a great project. This project would add as an asset to my profile.

At this moment of accomplishment , first of all I pay homage to my guide,

computer Dr. Shubhadra shaw from Aks University Satna. This work would

not have been possible without his guidance, support and encouragement.

Under his guidance I successfully overcame many difficulties and learned a lot.

I would like to thanks all my friends who helped for the completion of this

project.

I am deeply and forever indebted to my parents for their love, support and
encouragement throughout my entire life.

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


4
Face Detection

ABSTRACT

The main purpose of this project is to build a face recognition-


based attendance

Monitoring system for educational institution to enhance and


upgrade the current attendance

System into more efficient and effective as compared to


before. The current old system has a

Lot of ambiguity that caused inaccurate and inefficient of


attendance taking. Many problems

Arise when the authority is unable to enforce the regulation


that exist in the old system. Thus,

By means of technology, this project will resolve the flaws


existed in the current system while

bringing attendance taking to a whole new level by


automating most of the tasks.

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


5
Face Detection

The technology working behind will be the face recognition


system. The human face is

one of the natural traits that can uniquely identify an


individual. Therefore, it is used to trace

identity as the possibilities for a face to deviate or being


duplicated is low. In this project, face

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


6
Face Detection

Index

1. Introduction
1. Project Overview
1.1. Objective
1.2. Major objectives
1.3. Motivation
1.4. Problem Statement
1.5. Technologies used
1.6. Future work
2. Technical Overview
2.1 Front End
2.2 Designing(Python)
3. Platform Specification
3.1 Hardware Specification
3.2 Software Specification

2. Design and Framework


a. Software Process Model
b. Block diagram/ control Flow Diagram
c. DFD, ER-Diagram
d. Few logics
3. System Analysis
1. Objective of the Project

2. Project Organization

3. Preliminary Investigation

4. how it will work ?

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


7
Face Detection

4. Testing

5. Output Screen/Snapshots

6. Application

7. Limitation and Future Enhancement

8. Conclusion

9. References

10. Annexure:

a. Plagiarism Report

b. PPT Handouts (6 PPT in One Page)

11. CD with Documents, Tools, Report and PPT

INTRODUCTION
1. Project Overview
2. Technical Overview
2.1 Designing (Python)

3. Platform Specification
3.1 Hardware Specification

3.2 Software Specification

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


8
Face Detection

1. PROJECT OVERVIEW

Face Detection Systems are one of the Artificial Intelligences most commonly
uses.

Meanwhile, security and robotics implement it in an inconspicuous way, we


use Face Detection every time we take a photo or upload content to social
media.

It has become part of our lives and mostly of the people don’t even notice
what’s behind it.

Face Detection can seem simple, but it’s not. Is a technology capable to
identify and verify people from images 20or video frames. Is similar somehow
to fingerprint or eye iris recognition systems.

Python Face Detection


So, what we want to say with all of this? Face Detection is possible for
everyone that know how to code. Developers and programmer can reach it.

They will only going to need a library, from example Open CV.

They also will need a programming language, from example Python.

And, they have to be a little patient if they didn’t do it before.

You can’t skip the all steps and go to action without some errors

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


9
Face Detection

When a face-detection algorithm finds a face in an image or in a still from a

video capture, the relative size of that face compared with the enrolled image

size affects how well the face will be recognized. An already small image size,

coupled with a target distant from the camera, means that the detected face is

only 100 to 200 pixels on a side. Further, having to scan an image for varying

face sizes is a processor-intensive activity. Most algorithms allow specification

of a face-size range to help eliminate false positives on detection and speed

up image processing.

Uses of face detection


Although all facial recognition systems use face detection, not all face detection
systems are used for facial recognition. Face detection can also be applied for
facial motion capture, or the process of electronically converting a human's facial
movements into a digital database using cameras or laser scanners. This database

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


10
Face Detection

can be used to produce realistic computer animation for movies, games or


avatars.

Face detection can also be used to auto-focus cameras or to count how many
people have entered an area. The technology also has marketing applications --
for example, displaying specific advertisements when a particular face is
recognized.

Why Open CV?

Open CV means Open Source Computer Vision and is a library originally


written in C++ and later written for Python, that’s the programming language
we are going to use.

This library has a design for computational efficiency and a strong focus on
real-time applications.

That can sound accurate to Face Detection and it is. Open CV can search for
faces within a picture using machine learning algorithms.

But the process is tricky because faces are complicated. There’s thousands
and thousands of small patterns and features that must match.

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


11
Face Detection

Steps to implement human face recognition with Python & OpenCV:


 Imports: import cv2. import os. import cv2 import os. ...
 Initialize the classifier: cascPath=os. path. ...
 Apply faceCascade on webcam frames: video_capture = cv2. VideoCapture(0) ...
 Release the capture frames: video_capture. release() ...
 Now, run the project file using:

Advantages of OpenCV:

OpenCV is an open-source library and is free of cost.


As compared to other libraries, it is fast since it is written in C/C++.
It works better on System with lesser RAM
T supports most of the Operating Systems such as Windows, Linux and MacOS.

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


12
Face Detection

Installation:

Here we will be focusing on installing OpenCV for python only. We can install OpenCV
using pip or conda(for anaconda environment).

Using pip:
Using pip, the installation process of openCV can be done by using the following
command in the command prompt.

$ pip install opencv-python

Cascades

Open CV uses cascades to solve the problem of detecting faces into multiple
stages.

Cascades do a very rough and quick test for each block. If that block passes,
does a more detailed test and so on.

The algorithm can have 30 to 50 cascades and detect a face if all stages
pass.

This makes possible face recognition to be done in real time.

Cascades are XML files that contain Open CV data, used to detect objects.

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


13
Face Detection

Numpy :- NumPy, which stands for Numerical Python, is a library


consisting of multidimensional array objects and a collection of routines for
processing those arrays. Using NumPy, mathematical and logical
operations on arrays can be performed. NumPy is a Python package. It
stands for 'Numerical Python'.

$pip install numpy

1.1 Objective :- The objective of this project to solve the attendance


problem which is taken by teachers was time consuming so we
want to make this system automatically so that it can be taken by
entering in the classroom automatically by camera and it will also
save the time which is during the taking attendance manually.

1.2 Major objectivse:-

 Save image in database

 Detect faces

 Match detected faces to database

 Recognize Faces

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


14
Face Detection

 Provides accurate information about them

1.3 Motivation:- to do work on this project we have motivated


from coming new technologies in the various field, all things
is going to be automated and also this era is going to all
about in computer based. So we have decided to make the
attendance system and entering system inside any
organizations, universities, colleges and many more fields to
be automatically and also it will be time saving.

1.4 Problem statement :- When we were in the classroom then


we have seen that sometimes attendance got missing due to
deficiency of time so we have decided that we will solve this
problem by making a software.

1.5 Technologies Used:- Face detection is AI-Based computer


technology that is used to extract and identify human faces
from digital images. When integrated with biometric security

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


15
Face Detection

systems(particularly. Facial recognition ones), this kind of


technology is makes it possible to monitor and track people
in real time.

1.6 Future work

* Integrate the face application with database.

* Match the detect face to the stored face .

* Point out the major face features.

* Gives an accurate result .

* Apply some more element regarding recognition

* improve the interface

* Testing and deployment.

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


16
Face Detection

2. TECHNICAL OVERVIEW

2.1Designing

2.1.1 PYTHON-

Python is an interpreter, object-oriented, high-level programming


language with dynamic semantics. Its high-level built in data structures,
combined with dynamic typing and dynamic binding, make it very
attractive for Rapid Application Development, as well as for use as a
scripting or glue language to connect existing components together .
This versatility, along with its beginner-friendliness, has made it one of
the most-used programming languages today. Python's simple, easy to
learn syntax emphasizes readability and therefore reduces the cost of
program maintenance. Python supports modules and packages, which
encourages program modularity and code reuse. The Python
interpreter and the extensive standard library are available in source or
binary form without charge for all major platforms, and can be freely
distributed.

Python is commonly used for developing websites and software,


task automation, data analysis, and data visualization. Since it's

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


17
Face Detection

relatively easy to learn, Python has been adopted by many non-


programmers such as accountants and scientists, for a variety of
everyday tasks, like organizing finances.

3. PLATFORM SPECIFICATION

3.1 SOFTWARE REQUIREMENT

Operating System  : Windows

Language / Front-end : Python

Browser : Any

IDE : VS Code by Microsoft

3.2 HARDWARE REQUIREMENT


Processor : Intel(R) Pentium (R) CPU N3710

Hard Disk : Minimum 2 GB Require

Ram : Minimum 512 MB Require

Display : VGA

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


18
Face Detection

2. Design and Framework


a. Software Process Model
b. Block diagram/ control Flow Diagram
c. DFD, ER-Diagram
d. Few logics

2. Design and Framework

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


19
Face Detection

a. Software Process Model:- The set of activities done to


develop a software is called software process model.
Software process models rang from analyzing the
requirement of a software product to designing (the
process of writing algorithm and charts ), programming
and testing (the process of finding faults present in the
software). And installation ia all devided into different well
defined steps , so that the task of software creation
becomes very easy.

Phases Of Software Process Model

1. Specification:- In this part a team of System Analyst analyzes


the requirements of the customer and defines what tasks
should be performed by the software system.

2. Designing and implementation:- In this phase the software is


designed like algorithm , flowchart etc. After that the source
code of the program is written.

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


20
Face Detection

3. Verification and validation:- Under this phase , the errors


present in the software are corrected and its security
capabilities etc. are checked. After that it is also ensured
whether the system is capable of fulfillment of the customer or
not.

b. Block diagram/ control Flow Diagram:-

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


21
Face Detection

start

No
img.Pat
h
error
Yes
Convert img into gray

Draw rectangle

END

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


22
Face Detection

Block diagram(2)
Start

No
Video.path

error
Yes
Convert video into
gray

Draw

END

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


23
Face Detection

c. Few logics :-

Firstly we have to install some pre-defined libraries in our


id so that we can use them, like

If we want to install open CV then we have to run


following command on terminals or command prompt,
these are :-

<cmd> pip install openCV-python

This command is used to use some pre-defined


libraries or classes, which helps to make possible face detection.
To use these libraries we have to import openCV in our program.

And the other logics are used in this is haar cascading


techniques, this is the techniques used for object detection in an
image. This technique looks like :-

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


24
Face Detection

b
. c
a

These boxes a, b, c are use to identifying an object in an image


by moving these object in whole image. These boxes are have to
parts black and white when these boxes moves in whole image
then where the difference of black and white is specified size then
it will draw a rectangle in that particular area .

3. System Analysis
1. Objective of the Project

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


25
Face Detection

2. Project Organization
3. Preliminary Investigation

System Analysis
1. Objectives of the project :-

~Our primary goal is to help the lecturers, improve and


organize the process of track and manage student
attendance and absenteeism. Additionally, we seek to:

Provides a valuable attendance service for both teachers


and students.

~Reduce manual process errors by provide automated


and a reliable attendance system uses face recognition
technology.

~ Increase privacy and security which student cannot


presenting himself or his friend while they are not.

~ Produce monthly reports for lecturers.

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


26
Face Detection

~Flexibility, Lectures capability of editing attendance records.

~Calculate absenteeism percentage and send reminder


messages to students

2. Project Organization:-
2.1 Advantages of face detection
As a key element in facial imaging applications, such as facial recognition and
face analysis, face detection creates various advantages for users, including:

Improved security. Face detection improves surveillance efforts and helps


track down criminals and terrorists. Personal security is also enhanced since
there is nothing for hackers to steal or change, such as passwords.

Easy to integrate. Face detection and facial recognition technology is easy to


integrate, and most solutions are compatible with the majority of security
software.

Automated identification. In the past, identification was manually performed by


a person; this was inefficient and frequently inaccurate. Face detection allows
the identification process to be automated, thus saving time and increasing
accuracy.

2.2 Disadvantages of face detection

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


27
Face Detection

While face detection provides several large benefits to users, it also holds
various disadvantages, including:

Massive data storage burden. The ML technology used in face detection


requires powerful data storage that may not be available to all users.

Detection is vulnerable. While face detection provides more accurate results


than manual identification processes, it can also be more easily thrown off by
changes in appearance or camera angles.

A potential breach of privacy. Face detection's ability to help the government


track down criminals creates huge benefits; however, the same surveillance
can allow the government to observe private citizens. Strict regulations must
be set to ensure the technology is used fairly and in compliance with human
privacy rights.

3. Preliminary Investigation:- If you are not an ASABE


member or if your employer has not arranged for access to the full-
text, Click here for options.

A Preliminary Investigation on Face Recognition as a Biometric


Identifier of Sheep

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


28
Face Detection

Published by the American Society of Agricultural and Biological


Engineers, St. Joseph, Michigan www.asabe.org

Citation: Transactions of the ASABE. 50(1): 313-320. (doi:


10.13031/2013.22395) @2007

Authors: G. P. Corkery, U. A. Gonzales-Barron, F. Butler, K. Mc


Donnell, S. Ward
Keywords: Biometrics, Face recognition, Identification, Sheep,
Traceability

The suitability of face recognition was investigated as a biometric-


based identifier for sheep using a holistic analysis of face images by
the independent components technique. Algorithm training was
performed independently on several normalized face images from
50 sheep (sets of two, three, and four training images per sheep).
The performance of this technique was assessed on a separate set of
images (three normalized face images per sheep) using the cosine
distance classifier. When 180 to 200 components were extracted,
the recognition rate was as high as 95.3% to 96%. As expected,
fewer independent components reduced the recognition rate, while
a higher number of training images per sheep improved it. Although
our results have demonstrated the potential of face recognition as a

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


29
Face Detection

non-invasive, inexpensive, and accurate novel biometric identifier of


sheep, further work should aim at improving recognition rates on a
larger set of sheep faces.

3. How it will work ?

This project is used some pre-defind libraries that


helps to make an face in an image correctly and
It will work on haar-cascade libraries which is
already designed by some experts.

How face detection works

Face detection applications use algorithms and ML


to find human faces within larger images, which
often incorporate other non-face objects such as
landscapes, buildings and other human body parts
like feet or hands. Face detection algorithms

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


30
Face Detection

typically start by searching for human eyes -- one of


the easiest features to detect. The algorithm might
then attempt to detect eyebrows, the mouth, nose,
nostrils and the iris. Once the algorithm concludes
that it has found a facial region, it applies additional
tests to confirm that it has, in fact, detected a face.

To help ensure accuracy, the algorithms need to be


trained on large data sets incorporating hundreds
of thousands of positive and negative images. The
training improves the algorithms' ability to
determine whether there are faces in an image and
where they are.

The methods used in face detection can be


knowledge-based, feature-based, template

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


31
Face Detection

matching or appearance-based. Each has


advantages and disadvantages:

Knowledge-based, or rule-based methods, describe


a face based on rules. The challenge of this
approach is the difficulty of coming up with well-
defined rules.

Feature invariant methods -- which use features


such as a person's eyes or nose to detect a face – can
be negatively affected by noise and light.

Template-matching methods are based on


comparing images with standard face patterns or
features that have been stored previously and
correlating the two to detect a face. Unfortunately
these methods do not address variations in pose,
scale and shape.

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


32
Face Detection

Appearance-based methods employ statistical


analysis and machine learning to find the relevant
characteristics of face images. This method, also
used in feature extraction for face recognition, is
divided into sub-methods.

Some of the more specific techniques used in face


detection include:

Removing the background. For example, if an image


has a plain, mono-color background or a pre-
defined, static background, then removing the
background can help reveal the face boundaries.

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


33
Face Detection

In color images, sometimes skin color can be used


to find faces; however, this may not work with all
complexions.

Using motion to find faces is another option. In real-


time video, a face is almost always moving, so users
of this method must calculate the moving area. One
drawback of this method is the risk of confusion
with other objects moving in the background.

A combination of the strategies listed above can


provide a comprehensive face detection method.

Detecting faces in pictures can be complicated due


to the variability of factors such as pose, expression,
position and orientation, skin color and pixel values,
the presence of glasses or facial hair, and
differences in camera gain, lighting conditions and
image resolution. Recent years have brought
advances in face detection using deep learning,
which presents the advantage of significantly

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


34
Face Detection

outperforming traditional computer vision


methods.

Major improvements to face detection methodology


came in 2001, when computer vision researchers
Paul Viola and Michael Jones proposed a framework
to detect faces in real time with high accuracy. The
Viola-Jones framework is based on training a model
to understand what is and is not a face. Once
trained, the model extracts specific features, which
are then stored in a file so that features from new
images can be compared with the previously stored
features at various stages. If the image under study
passes through each stage of the feature
comparison, then a face has been detected and
operations can proceed.

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


35
Face Detection

3.Testing :-

When we run the program then the following


statement gives some result which are as follows:-

Cv2.imshow(“output window”,img)

This statement will show the image in out put


windows or terminal windows after giving the correct
path of an image then it will access that particular
image of beforly giving path and just show in output
As a result like :-

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


36
Face Detection

And in case of capturing an image by webcam then


it will open the camera of laptop and it will find the
face in front of camera and it will draw the rectangle
Around the face by following statement :

for (x, y, w, h) in faces:

            cv2.rectangle(img, (x, y), (x+w, y+h), (255, 0, 0), 2)

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


37
Face Detection

        # Display
        cv2.imshow('img', img)

and it will generate the following result as output

So this kind of result, it gives by running the program


And it is able to scan and draw a rectangle at right
place.

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


38
Face Detection

4.Output Screen / Snapshot

This is a input screen……

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


39
Face Detection

This is a output screen ……

Press enter 1

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


40
Face Detection

In open a camera …

Again want to terminal and enter a comond

$ python Detectwithme.py

And enter again open a output screen and enter a press


2

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


41
Face Detection

Pressing 2 to enter detects the face of the one


aatached to it ……..
And after that you will see his screen.

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


42
Face Detection

And again open a terminal and enter a same


commond or click a run botton both are same
Will get the same output from both the nodes.

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


43
Face Detection

First , there will be an image in the output Screen, then


after cutting it , the camera will open again and will
detect the face And the picture turned gray.

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


44
Face Detection

first, this image is open ..

And then open is his image ..

To my result is completed.

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


45
Face Detection

6.APPLICATION :-

Face recognition is also useful in human computer


interaction, virtual reality, database recovery, multimedia,
computer entertainment, information security e.g. operating
system, medical records, online banking., Biometric e.g.
Personal Identification - Passports, driver licenses ,
Automated identity verification - border controls , Law
enforcement e.g. video surveillances , investigation ,
Personal Security - driver monitoring system, home video
surveillance system.

Applications & examples:

Face Identification: Face recognition systems identify people

by their face images. Face recognition systems establish the

presence of an authorized person rather than just checking

whether a valid identification (ID) or key is being used or

whether the user knows the secret personal identification

numbers (Pins) or passwords. The following are example.

To eliminate duplicates in a nationwide voter registration

system because there are cases where the same person


was

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


46
Face Detection

assigned more than one identification number. The face

recognition system directly compares the face images of the

voters and does not use ID numbers to differentiate one from

the others. When the top two matched faces are highly
similar

to the query face image, manual review is required to make

sure they are indeed different persons so as to eliminate

duplicates.

Access Control: In many of the access control applications,

such as office access or computer logon, the size of the


group

of people that need to be recognized is relatively small. The

face pictures are also caught under natural conditions, such


as.

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


47
Face Detection

7. Limitation and Future Enhancement

4 Limitations of Facial Recognition Technology

1 :How Facial Recognition Algorithms Work. ...

2 :The Benefits of Facial Recognition Technology. ...

3:Poor Image Quality Limits Facial Recognition's Effectiveness:-

Image quality affects how well facial-recognition algorithms work.


The image quality of scanning video is quite low compared with
that of a digital camera. Even high-definition video is, at best,
1080p (progressive scan); usually, it is 720p. These values are
equivalent to about 2MP and 0.9MP, respectively, while an
inexpensive digital camera attains 15MP. The difference is quite
noticeable.

4:Small Image Sizes Make Facial Recognition More Difficult :-

When a face-detection algorithm finds a face in an image or in a


still from a video capture, the relative size of that face compared

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


48
Face Detection

with the enrolled image size affects how well the face will be
recognized. An already small image size, coupled with a target

distant from the camera, means that the detected face is only 100
to 200 pixels on a side. Further, having to scan an image for
varying face sizes is a processor-intensive activity. Most
algorithms allow specification of a face-size range to help
eliminate false positives on detection and speed up image
processing.

5:Different Face Angles Can Throw Off Facial Recognition's


Reliability:- The relative angle of the target’s face influences the
recognition score profoundly. When a face is enrolled in the
recognition software, usually multiple angles are used (profile,
frontal and 45-degree are common). Anything less than a frontal
view affects the algorithm’s capability to generate a template for
the face. The more direct the image (both enrolled and probe
image) and the higher its resolution, the higher the score of any
resulting matches.

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


49
Face Detection

8. CONCLUSION :-
Face recognition is an emerging technology that can provide
many benefits. Face recognition can save resources and time,
and even generate new income streams, for companies that
implement it right.

What lies ahead for this technology?

It’s difficult to be certain. Some experts predict that our faces will
replace IDs, passports and credit card pin numbers. Given the
fact how convenient and cost-effective this technology is, this
prediction is not far-fetched.

If this prediction becomes a reality, any company that


implemented the technology today might gain a competitive
advantage in the future.

In this system we have implemented an attendance system for a


lecture, section or laboratory by which lecturer or teaching

assistant can record students’

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


50
Face Detection

attendance. It saves time and effort, especially if it is a lecture


with huge number of students. Automated Attendance System
has been envisioned for the purpose of reducing the drawbacks in
the traditional (manual) system. This attendance system
demonstrates the use of image processing techniques in
classroom. This system can not only merely help in the
attendance system, but also improve the goodwill of an institution.

 Factor such as environment changes and mild changes in


apperance impact the technology to a greater degree than
many expact

 For implementation where the biometric system must verify


and identify users railably over time ,facial scan can be a
very difficult , but not impossible , technology to implement
successfully.

9. REFERENCE :-
We recognize an unknown face using an external Reference Face
Graph (RFG). A RFG is generated and recognition of a given face
is achieved by comparing it to the faces in the constructed RFG.
Centrality measures are utilized to identify distinctive faces in the
reference face graph.

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


51
Face Detection

M. Turk and A. Pentland. Eigenfaces for recognition. Journal of


Cognitive Neuroscience, 3(1):71-86, 1991.

[ZKC+98] W. Zhao, A. Krishnaswamy, R. Chellappa, D. Swets


and J. Weng. Discriminant analysis of principal components for
face recognition, pages 73-85. Springer Verlag Berlin, 1998.

[GHW12] M. Günther, D. Haufe and R.P. Würtz. Face recognition


with disparity corrected Gabor phase differences. In Artificial
neural networks and machine learning, volume 7552 of Lecture
Notes in Computer Science, pages 411-418. 9/2012.

[ZSG+05] W. Zhang, S. Shan, W. Gao, X. Chen and H. Zhang.


Local Gabor binary pattern histogram sequence (LGBPHS): a
novel non-statistical model for face representation and
recognition. Computer Vision, IEEE International Conference on,
1:786-791, 2005.

[MM09] C. McCool, S. Marcel. Parts-based face verification


using local frequency bands. In Advances in biometrics, volume
5558 of Lecture Notes in Computer Science. 2009. [12:26,
4/29/2022] : M. Turk and A. Pentland. Eigenfaces for recognition.
Journal of Cognitive Neuroscience, 3(1):71-86, 1991.

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


52
Face Detection

[ZKC+98] W. Zhao, A. Krishnaswamy, R. Chellappa, D. Swets


and J. Weng. Discriminant analysis of principal components for
face recognition, pages 73-85. Springer Verlag Berlin, 1998.

[GHW12] M. Günther, D. Haufe and R.P. Würtz. Face recognition


with disparity corrected Gabor phase differences. In Artificial
neural networks and machine learning, volume 7552 of Lecture
Notes in Computer Science, pages 411-418. 9/2012.

[ZSG+05] W. Zhang, S. Shan, W. Gao, X. Chen and H. Zhang.


Local Gabor binary pattern histogram sequence (LGBPHS): a
novel non-statistical model for face representation and
recognition. Computer Vision, IEEE International Conference on,
1:786-791, 2005.

[MM09] C. McCool, S. Marcel. Parts-based face verification


using local frequency bands. In Advances in biometrics, volume
5558 of Lecture Notes in Computer Science. 2009.

1. https://ibug.doc.ic.ac.uk/resources/300-W/

2. 300 Faces In-The-Wild Challenge: database and results,


Christos Sagonas a, *,

Epameinondas Antonakosa, Georgios Tzimiropoulosb, Stefanos


Zafeirioua, Maja

Pantic a, c aImperial College London, Department of Computing,


London, UK

bUniversity of Nottingham, School of Computer Science,


Nottingham, UK cFaculty

of Electrical Engineering, Mathematics, and Computer Science,


University of Twente,

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


53
Face Detection

The Netherlands

3. 300 Faces in-the-Wild Challenge: The first facial landmark


localization Challenge

Christos Sagonas1 , Georgios Tzimiropoulos1,2 , Stefanos


Zafeiriou1 and Maja

Pantic1,3 1 Comp. Dept., Imperial College London, UK 2 School


of Computer

Science, University of Lincoln,U.K. 3 EEMCS, University of


Twente, The

Netherlands

4. A semi-automatic methodology for facial landmark annotation


Christos Sagonas1 ,

Georgios Tzimiropoulos1,2 , Stefanos Zafeiriou1 and Maja


Pantic1,3 1 Comp. Dept.,

Imperial College London, UK 2 School of Computer Science,


University of

Lincoln,U.K. 3 EEMCS, University of Twente, The Netherlands

5. http://dlib.net/webcam_face_pose_ex.cpp.html

6. http://dlib.net/files/shape_predictor_68_face_landmarks.dat.bz2

7. Stanford University. Convolutional neural network - cs231n,


stanford univeristy.

http://cs231n.stanford.edu/, 2017.

8. Paul Viola and Michael Jones. Rapid object detection using a


boosted cascade of

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


54
Face Detection

simple features, 2001.

9. Wikipedia contributors. Viola jones object detection framework -


wikipedia

the free encyclopedia. https://en.wikipedia.org/wiki/Viola-

Jones_object_detection_framework. [Online; accessed 3-July-


2019].

10. Reinforcement learning lecture. https://cs.uwaterloo.ca/


ppoupart/teaching/cs885-

spring18/slides/cs885-lecture4a.pdf.

11. https://www.learnopencv.com/image-classification-using-
convolutional-neural-

networks-in-keras/

12. https://en.wikipedia.org/wiki/Convolutional_neural_network

13.
https://www.cv-foundation.org/openaccess/content_cvpr_2015/ap
p/1A_089.pdf

14. H. Wu, K. Zhang and G. Tian, "Simultaneous Face Detection


and Pose Estimation

Using Convolutional Neural Network Cascade," in IEEE Access,


vol. 6, pp. 49563-

49575, 2018

15. V. Kazemi and J. Sullivan, "One millisecond face alignment


with an ensemble of

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


55
Face Detection

regression trees," 2014 IEEE Conference on Computer Vision


and Pattern

Recognition, Columbus, OH, 2014, pp. 1867-1874.

16. R. Ranjan, V. M. Patel and R. Chellappa, "HyperFace: A


Deep Multi-Task Learning

Framework for Face Detection, Landmark Localization, Pose


Estimation, and Gender

Recognition," in IEEE Transactions on Pattern Analysis and


Machine Intelligence,

vol. 41, no. 1, pp. 121-135, 1 Jan. 2019

17.
https://www.analyticsvidhya.com/blog/2018/06/comprehensive-
guide-for-ensemble-

www.biometricgroup.com/wiley

 History – www.biometric.gov.

10. Annexure:

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


56
Face Detection

a. Plagiarism Report

b. PPT Handouts (6 PPT in One Page)

a. Plagiarism Report:-

Raj Dehariya (B2055R10106076) Sonu Varman(B2055R10106103)


57

You might also like