SlideShare a Scribd company logo
1
Hi all !!
Real Time Face Detection
Systems Using Viola Johns
Algorithm
-Sreerag Sreenath
Sec A
Final Year B.Tech ECE
January 24 , 2017
Face Detection
3
Basic idea: slide a window across image and evaluate a face model at every
location of a given image
Overview
• Robust – very high Detection Rate (True-Positive Rate) & very low False-
Positive Rate… always.
• Real Time – For practical applications at least 2 frames per second must be
processed.
• Face Detection – not recognition. The goal is to distinguish faces from non-
faces (face detection is the first step in the identification process)
4
So how does the algo work?
5
Problems…..?
• How to define a feature?
-- Edge Detection to Haar features
• How to calculate area fast?
-- Integral Image
6
Steps in Voila Jones Face Detection
Algorithm
Haars
Features
Integral
Image
Adaboost Cascading
7
Basic Introduction to edge detection
Output image(right) has high intensity at pixels where the convolution kernel
pixel pattern matched perfectly with the input image
8
Haar Features
9
• Haar features are similar to these convolution kernels which are used to
detect the presence of that feature in the given image.
• Each feature results in a single value which is calculated by subtracting the
sum of pixels under white rectangle from the sum of pixels under black
Haar Features
10
• Viola Jones algorithm uses a 24x24 window as the base window size to
start evaluating these features in any given image.
• If we consider all the possible parameters of the haars features like position,
scale and type we will end up calculating about 160,000+ features in this
window.
Integral Window
11
• In an integral image the value at pixel(x,y) is the sum of pixels above and to
the left of (x,y)
• Integral image allows for the calculation of sum of all pixels inside any given
rectangle using only four values at the Conner of the rectangle.
Adaboost
12
• As stated previously there can be 160,000+ feature values within a detector
at 24x24 base resolution which needs to be calculated. But it is to be
understood that only few set of features will be useful among all these
features to identify a face .
Adaboost
13
• As Adaboost is a machine learning algorithm which helps in finding the best
among all these 160,000+ features. After these features are found, a
weighted combination of all these features in used in evaluating and
deciding any given window or not. Their accuracy can also be low more than
50 percent (better than random guessing)
• These best features are called as weak classifiers. Adaboost constructs a
strong classifier as a linear combination of these weak classifiers
Cascading
14
• The basic principle of the Viola-Jones face detection algorithm is to scan the
detector many times through the same image – each time with a new size.
• Even if an image should contain one or more faces it is obvious that an
excessive large amount of the evaluated sub-window would still be
negatives (non-faces).
• So the algorithm should concentrate on discarding non-faces quickly and
spend more time on the probable face regions
• Hence a single strong classifier formed out of linear combination of all best
features is not a good to evaluate on each window because of
computational cost
Cascading
15
• Therefore a cascade classifiers is used which is composed of stages each
containing a strong classifiers. So all the features are grouped into several
stages where each stage has certain number of features.
• The job of each stage is used to determine wheatear a given sub-window is
defiantly not a face or may be a face. A given sub window is immediately
discarded as not a face if it fails in any of the stage
Image Classification Process Video
16
Now the training to an XML file
17
Haars Cascade File
18
Face Detection Test
19
Sample detected Images
20
Further Improved Algorithms
21
• There have been a lot of research and development in object detection
algorithms since then. Feature Point detection, Bag-of-Words
models, Histogram-of-oriented gradients (HOG), Deformable Parts
Models, Exemplar models, etc. are some modern techniques that have been
used to great success. Deep learning (convolutional neural networks) is the
absolute state-of-the-art technique for object detection and has produced
great strides in the field.
• There are a lot of great papers and cutting-edge research. For example,
consider Facebook's DeepFace face recognition algorithm, DeepFace had
produced a face recognition accuracy of 97.35% on the Labelled Faces in
the Wild dataset, which is quite near human-level performance (97.53%)! So
yes, modern and state-of-the-art algorithms hold a lot of promise.
Thank You
22

More Related Content

What's hot

Unsupervised representation learning for gaze estimation
Unsupervised representation learning for gaze estimationUnsupervised representation learning for gaze estimation
Unsupervised representation learning for gaze estimation
Jaey Jeong
 
A Re-evaluation of Pedestrian Detection on Riemannian Manifolds
A Re-evaluation of Pedestrian Detection on Riemannian ManifoldsA Re-evaluation of Pedestrian Detection on Riemannian Manifolds
A Re-evaluation of Pedestrian Detection on Riemannian Manifolds
Diego Tosato
 
Visualizing the model selection process
Visualizing the model selection processVisualizing the model selection process
Visualizing the model selection process
Rebecca Bilbro
 
Improving accuracy of binary neural networks using unbalanced activation dist...
Improving accuracy of binary neural networks using unbalanced activation dist...Improving accuracy of binary neural networks using unbalanced activation dist...
Improving accuracy of binary neural networks using unbalanced activation dist...
Jaey Jeong
 
Yellowbrick: Steering machine learning with visual transformers
Yellowbrick: Steering machine learning with visual transformersYellowbrick: Steering machine learning with visual transformers
Yellowbrick: Steering machine learning with visual transformers
Rebecca Bilbro
 
Tablet gaze unconstrained appearance based gaze estimation in mobile tablets
Tablet gaze unconstrained appearance based gaze estimation in mobile tabletsTablet gaze unconstrained appearance based gaze estimation in mobile tablets
Tablet gaze unconstrained appearance based gaze estimation in mobile tablets
Jaey Jeong
 
Object Tracking By Online Discriminative Feature Selection Algorithm
Object Tracking By Online Discriminative Feature Selection AlgorithmObject Tracking By Online Discriminative Feature Selection Algorithm
Object Tracking By Online Discriminative Feature Selection Algorithm
IRJET Journal
 
Py conie 2014
Py conie 2014Py conie 2014
Py conie 2014
Gloria Lovera
 
Road signs detection using voila jone's algorithm with the help of opencv
Road signs detection using voila jone's algorithm with the help of opencvRoad signs detection using voila jone's algorithm with the help of opencv
Road signs detection using voila jone's algorithm with the help of opencv
MohdSalim34
 
xldb-2015
xldb-2015xldb-2015
xldb-2015
Mohitdeep Singh
 
Video Object Extraction Using Feature Matching Based on Nonlocal Matting
Video Object Extraction Using Feature Matching Based on Nonlocal MattingVideo Object Extraction Using Feature Matching Based on Nonlocal Matting
Video Object Extraction Using Feature Matching Based on Nonlocal Matting
Meidya Koeshardianto
 
Automated Testing of Hybrid Simulink/Stateflow Controllers
Automated Testing of Hybrid Simulink/Stateflow ControllersAutomated Testing of Hybrid Simulink/Stateflow Controllers
Automated Testing of Hybrid Simulink/Stateflow Controllers
Lionel Briand
 

What's hot (12)

Unsupervised representation learning for gaze estimation
Unsupervised representation learning for gaze estimationUnsupervised representation learning for gaze estimation
Unsupervised representation learning for gaze estimation
 
A Re-evaluation of Pedestrian Detection on Riemannian Manifolds
A Re-evaluation of Pedestrian Detection on Riemannian ManifoldsA Re-evaluation of Pedestrian Detection on Riemannian Manifolds
A Re-evaluation of Pedestrian Detection on Riemannian Manifolds
 
Visualizing the model selection process
Visualizing the model selection processVisualizing the model selection process
Visualizing the model selection process
 
Improving accuracy of binary neural networks using unbalanced activation dist...
Improving accuracy of binary neural networks using unbalanced activation dist...Improving accuracy of binary neural networks using unbalanced activation dist...
Improving accuracy of binary neural networks using unbalanced activation dist...
 
Yellowbrick: Steering machine learning with visual transformers
Yellowbrick: Steering machine learning with visual transformersYellowbrick: Steering machine learning with visual transformers
Yellowbrick: Steering machine learning with visual transformers
 
Tablet gaze unconstrained appearance based gaze estimation in mobile tablets
Tablet gaze unconstrained appearance based gaze estimation in mobile tabletsTablet gaze unconstrained appearance based gaze estimation in mobile tablets
Tablet gaze unconstrained appearance based gaze estimation in mobile tablets
 
Object Tracking By Online Discriminative Feature Selection Algorithm
Object Tracking By Online Discriminative Feature Selection AlgorithmObject Tracking By Online Discriminative Feature Selection Algorithm
Object Tracking By Online Discriminative Feature Selection Algorithm
 
Py conie 2014
Py conie 2014Py conie 2014
Py conie 2014
 
Road signs detection using voila jone's algorithm with the help of opencv
Road signs detection using voila jone's algorithm with the help of opencvRoad signs detection using voila jone's algorithm with the help of opencv
Road signs detection using voila jone's algorithm with the help of opencv
 
xldb-2015
xldb-2015xldb-2015
xldb-2015
 
Video Object Extraction Using Feature Matching Based on Nonlocal Matting
Video Object Extraction Using Feature Matching Based on Nonlocal MattingVideo Object Extraction Using Feature Matching Based on Nonlocal Matting
Video Object Extraction Using Feature Matching Based on Nonlocal Matting
 
Automated Testing of Hybrid Simulink/Stateflow Controllers
Automated Testing of Hybrid Simulink/Stateflow ControllersAutomated Testing of Hybrid Simulink/Stateflow Controllers
Automated Testing of Hybrid Simulink/Stateflow Controllers
 

Viewers also liked

FACE RECOGNITION TECHNOLOGY
FACE RECOGNITION TECHNOLOGYFACE RECOGNITION TECHNOLOGY
FACE RECOGNITION TECHNOLOGY
JASHU JASWANTH
 
Face recognition technology - BEST PPT
Face recognition technology - BEST PPTFace recognition technology - BEST PPT
Face recognition technology - BEST PPT
Siddharth Modi
 
Face recognition ppt
Face recognition pptFace recognition ppt
Face recognition ppt
Santosh Kumar
 
Shots
ShotsShots
Pie chart
Pie chartPie chart
Pie chart
Maria Sheikh
 
Вега севастополь
Вега севастопольВега севастополь
Вега севастополь
Maxim Soldatkin
 
System user updates mar 2017
System  user updates mar 2017System  user updates mar 2017
System user updates mar 2017
Vitaliy shevchenko
 
Beverage
BeverageBeverage
Beverage
Giorgio Giunta
 
System user advanced updates mar 2017
System  user advanced updates mar 2017System  user advanced updates mar 2017
System user advanced updates mar 2017
Vitaliy shevchenko
 
Arkatay about Certificates for project managers
Arkatay about Certificates for project managersArkatay about Certificates for project managers
Arkatay about Certificates for project managers
Jan Raaschou
 
Біотех-реабілітація поранених
Біотех-реабілітація пораненихБіотех-реабілітація поранених
Біотех-реабілітація поранених
People's Project
 
Jan fernández: disney
Jan fernández: disneyJan fernández: disney
Jan fernández: disney
ESO1
 
بازاریابی محتوایی چیست؟
بازاریابی محتوایی چیست؟بازاریابی محتوایی چیست؟
بازاریابی محتوایی چیست؟
Payam Khaninejad
 
Air arabia webinar
Air arabia webinar Air arabia webinar
Air arabia webinar
Vitaliy shevchenko
 
Production industrielle
Production industrielleProduction industrielle
Production industrielle
Société Tripalio
 
Tekanan Perasaan
Tekanan PerasaanTekanan Perasaan
Tekanan Perasaan
Ahmad Hanis Nurul Shahida
 
Региональные соорганизаторы 14.03.17
Региональные соорганизаторы 14.03.17Региональные соорганизаторы 14.03.17
Региональные соорганизаторы 14.03.17
relikvija22
 
Κατοχή-Αντίσταση-Απελευθέρωση: Εναλλακτικές προσεγγίσεις μιας δύσκολης εποχής
Κατοχή-Αντίσταση-Απελευθέρωση: Εναλλακτικές προσεγγίσεις μιας δύσκολης εποχήςΚατοχή-Αντίσταση-Απελευθέρωση: Εναλλακτικές προσεγγίσεις μιας δύσκολης εποχής
Κατοχή-Αντίσταση-Απελευθέρωση: Εναλλακτικές προσεγγίσεις μιας δύσκολης εποχής
vasilikiarvan
 

Viewers also liked (18)

FACE RECOGNITION TECHNOLOGY
FACE RECOGNITION TECHNOLOGYFACE RECOGNITION TECHNOLOGY
FACE RECOGNITION TECHNOLOGY
 
Face recognition technology - BEST PPT
Face recognition technology - BEST PPTFace recognition technology - BEST PPT
Face recognition technology - BEST PPT
 
Face recognition ppt
Face recognition pptFace recognition ppt
Face recognition ppt
 
Shots
ShotsShots
Shots
 
Pie chart
Pie chartPie chart
Pie chart
 
Вега севастополь
Вега севастопольВега севастополь
Вега севастополь
 
System user updates mar 2017
System  user updates mar 2017System  user updates mar 2017
System user updates mar 2017
 
Beverage
BeverageBeverage
Beverage
 
System user advanced updates mar 2017
System  user advanced updates mar 2017System  user advanced updates mar 2017
System user advanced updates mar 2017
 
Arkatay about Certificates for project managers
Arkatay about Certificates for project managersArkatay about Certificates for project managers
Arkatay about Certificates for project managers
 
Біотех-реабілітація поранених
Біотех-реабілітація пораненихБіотех-реабілітація поранених
Біотех-реабілітація поранених
 
Jan fernández: disney
Jan fernández: disneyJan fernández: disney
Jan fernández: disney
 
بازاریابی محتوایی چیست؟
بازاریابی محتوایی چیست؟بازاریابی محتوایی چیست؟
بازاریابی محتوایی چیست؟
 
Air arabia webinar
Air arabia webinar Air arabia webinar
Air arabia webinar
 
Production industrielle
Production industrielleProduction industrielle
Production industrielle
 
Tekanan Perasaan
Tekanan PerasaanTekanan Perasaan
Tekanan Perasaan
 
Региональные соорганизаторы 14.03.17
Региональные соорганизаторы 14.03.17Региональные соорганизаторы 14.03.17
Региональные соорганизаторы 14.03.17
 
Κατοχή-Αντίσταση-Απελευθέρωση: Εναλλακτικές προσεγγίσεις μιας δύσκολης εποχής
Κατοχή-Αντίσταση-Απελευθέρωση: Εναλλακτικές προσεγγίσεις μιας δύσκολης εποχήςΚατοχή-Αντίσταση-Απελευθέρωση: Εναλλακτικές προσεγγίσεις μιας δύσκολης εποχής
Κατοχή-Αντίσταση-Απελευθέρωση: Εναλλακτικές προσεγγίσεις μιας δύσκολης εποχής
 

Similar to Face detection system design seminar

Viola-Jones Object Detection
Viola-Jones Object DetectionViola-Jones Object Detection
Viola-Jones Object Detection
Venugopal Boddu
 
face detection
face detectionface detection
face detection
Smriti Tikoo
 
Road signs detection using voila jone's algorithm with the help of opencv
Road signs detection using voila jone's algorithm with the help of opencvRoad signs detection using voila jone's algorithm with the help of opencv
Road signs detection using voila jone's algorithm with the help of opencv
MohdSalim34
 
Final year ppt
Final year pptFinal year ppt
Final year ppt
Shruti Chandra
 
Face Detection techniques
Face Detection techniquesFace Detection techniques
Face Detection techniques
Abhineet Bhamra
 
Detection and recognition of face using neural network
Detection and recognition of face using neural networkDetection and recognition of face using neural network
Detection and recognition of face using neural network
Smriti Tikoo
 
Fast Parallel Similarity Calculations with FPGA Hardware
Fast Parallel Similarity Calculations with FPGA HardwareFast Parallel Similarity Calculations with FPGA Hardware
Fast Parallel Similarity Calculations with FPGA Hardware
TigerGraph
 
IMAGE PROCESSING
IMAGE PROCESSINGIMAGE PROCESSING
IMAGE PROCESSING
ABHISHEK MAURYA
 
An Introduction to Face Detection
An Introduction to Face DetectionAn Introduction to Face Detection
An Introduction to Face Detection
Livares Technologies Pvt Ltd
 
Automated Face Detection System
Automated Face Detection SystemAutomated Face Detection System
Automated Face Detection System
Abhiroop Ghatak
 
Computer Vision - Real Time Face Recognition using Open CV and Python
Computer Vision - Real Time Face Recognition using Open CV and PythonComputer Vision - Real Time Face Recognition using Open CV and Python
Computer Vision - Real Time Face Recognition using Open CV and Python
Akash Satamkar
 
ppt 20BET1024.pptx
ppt 20BET1024.pptxppt 20BET1024.pptx
ppt 20BET1024.pptx
ManeetBali
 
cvpresentation-190812154654 (1).pptx
cvpresentation-190812154654 (1).pptxcvpresentation-190812154654 (1).pptx
cvpresentation-190812154654 (1).pptx
PyariMohanJena
 
IRJET- Face Detection and Tracking Algorithm using Open CV with Raspberry Pi
IRJET- Face Detection and Tracking Algorithm using Open CV with Raspberry PiIRJET- Face Detection and Tracking Algorithm using Open CV with Raspberry Pi
IRJET- Face Detection and Tracking Algorithm using Open CV with Raspberry Pi
IRJET Journal
 
AI driven classification framework for advanced Test Automation
AI driven classification framework for advanced Test AutomationAI driven classification framework for advanced Test Automation
AI driven classification framework for advanced Test Automation
STePINForum
 
Traffic Automation System
Traffic Automation SystemTraffic Automation System
Traffic Automation System
Prabal Chauhan
 
Face Detection System on Ada boost Algorithm Using Haar Classifiers
Face Detection System on Ada boost Algorithm Using Haar ClassifiersFace Detection System on Ada boost Algorithm Using Haar Classifiers
Face Detection System on Ada boost Algorithm Using Haar Classifiers
IJMER
 
pxc3888681
pxc3888681pxc3888681
pxc3888681
AMR ELMAGHARAY
 
Andrii Belas "Overview of object detection approaches: cases, algorithms and...
Andrii Belas  "Overview of object detection approaches: cases, algorithms and...Andrii Belas  "Overview of object detection approaches: cases, algorithms and...
Andrii Belas "Overview of object detection approaches: cases, algorithms and...
Lviv Startup Club
 
物件偵測與辨識技術
物件偵測與辨識技術物件偵測與辨識技術
物件偵測與辨識技術
CHENHuiMei
 

Similar to Face detection system design seminar (20)

Viola-Jones Object Detection
Viola-Jones Object DetectionViola-Jones Object Detection
Viola-Jones Object Detection
 
face detection
face detectionface detection
face detection
 
Road signs detection using voila jone's algorithm with the help of opencv
Road signs detection using voila jone's algorithm with the help of opencvRoad signs detection using voila jone's algorithm with the help of opencv
Road signs detection using voila jone's algorithm with the help of opencv
 
Final year ppt
Final year pptFinal year ppt
Final year ppt
 
Face Detection techniques
Face Detection techniquesFace Detection techniques
Face Detection techniques
 
Detection and recognition of face using neural network
Detection and recognition of face using neural networkDetection and recognition of face using neural network
Detection and recognition of face using neural network
 
Fast Parallel Similarity Calculations with FPGA Hardware
Fast Parallel Similarity Calculations with FPGA HardwareFast Parallel Similarity Calculations with FPGA Hardware
Fast Parallel Similarity Calculations with FPGA Hardware
 
IMAGE PROCESSING
IMAGE PROCESSINGIMAGE PROCESSING
IMAGE PROCESSING
 
An Introduction to Face Detection
An Introduction to Face DetectionAn Introduction to Face Detection
An Introduction to Face Detection
 
Automated Face Detection System
Automated Face Detection SystemAutomated Face Detection System
Automated Face Detection System
 
Computer Vision - Real Time Face Recognition using Open CV and Python
Computer Vision - Real Time Face Recognition using Open CV and PythonComputer Vision - Real Time Face Recognition using Open CV and Python
Computer Vision - Real Time Face Recognition using Open CV and Python
 
ppt 20BET1024.pptx
ppt 20BET1024.pptxppt 20BET1024.pptx
ppt 20BET1024.pptx
 
cvpresentation-190812154654 (1).pptx
cvpresentation-190812154654 (1).pptxcvpresentation-190812154654 (1).pptx
cvpresentation-190812154654 (1).pptx
 
IRJET- Face Detection and Tracking Algorithm using Open CV with Raspberry Pi
IRJET- Face Detection and Tracking Algorithm using Open CV with Raspberry PiIRJET- Face Detection and Tracking Algorithm using Open CV with Raspberry Pi
IRJET- Face Detection and Tracking Algorithm using Open CV with Raspberry Pi
 
AI driven classification framework for advanced Test Automation
AI driven classification framework for advanced Test AutomationAI driven classification framework for advanced Test Automation
AI driven classification framework for advanced Test Automation
 
Traffic Automation System
Traffic Automation SystemTraffic Automation System
Traffic Automation System
 
Face Detection System on Ada boost Algorithm Using Haar Classifiers
Face Detection System on Ada boost Algorithm Using Haar ClassifiersFace Detection System on Ada boost Algorithm Using Haar Classifiers
Face Detection System on Ada boost Algorithm Using Haar Classifiers
 
pxc3888681
pxc3888681pxc3888681
pxc3888681
 
Andrii Belas "Overview of object detection approaches: cases, algorithms and...
Andrii Belas  "Overview of object detection approaches: cases, algorithms and...Andrii Belas  "Overview of object detection approaches: cases, algorithms and...
Andrii Belas "Overview of object detection approaches: cases, algorithms and...
 
物件偵測與辨識技術
物件偵測與辨識技術物件偵測與辨識技術
物件偵測與辨識技術
 

Recently uploaded

Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47
MysoreMuleSoftMeetup
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
Katrina Pritchard
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
Jyoti Chand
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
iammrhaywood
 
math operations ued in python and all used
math operations ued in python and all usedmath operations ued in python and all used
math operations ued in python and all used
ssuser13ffe4
 
Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...
PsychoTech Services
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxBeyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
EduSkills OECD
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
IGCSE Biology Chapter 14- Reproduction in Plants.pdf
IGCSE Biology Chapter 14- Reproduction in Plants.pdfIGCSE Biology Chapter 14- Reproduction in Plants.pdf
IGCSE Biology Chapter 14- Reproduction in Plants.pdf
Amin Marwan
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
Leena Ghag-Sakpal
 
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Denish Jangid
 
ZK on Polkadot zero knowledge proofs - sub0.pptx
ZK on Polkadot zero knowledge proofs - sub0.pptxZK on Polkadot zero knowledge proofs - sub0.pptx
ZK on Polkadot zero knowledge proofs - sub0.pptx
dot55audits
 
How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience
Wahiba Chair Training & Consulting
 
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem studentsRHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
Himanshu Rai
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
siemaillard
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 

Recently uploaded (20)

Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
 
math operations ued in python and all used
math operations ued in python and all usedmath operations ued in python and all used
math operations ued in python and all used
 
Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxBeyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
IGCSE Biology Chapter 14- Reproduction in Plants.pdf
IGCSE Biology Chapter 14- Reproduction in Plants.pdfIGCSE Biology Chapter 14- Reproduction in Plants.pdf
IGCSE Biology Chapter 14- Reproduction in Plants.pdf
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
 
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
 
ZK on Polkadot zero knowledge proofs - sub0.pptx
ZK on Polkadot zero knowledge proofs - sub0.pptxZK on Polkadot zero knowledge proofs - sub0.pptx
ZK on Polkadot zero knowledge proofs - sub0.pptx
 
How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience
 
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem studentsRHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 

Face detection system design seminar

  • 2. Real Time Face Detection Systems Using Viola Johns Algorithm -Sreerag Sreenath Sec A Final Year B.Tech ECE January 24 , 2017
  • 3. Face Detection 3 Basic idea: slide a window across image and evaluate a face model at every location of a given image
  • 4. Overview • Robust – very high Detection Rate (True-Positive Rate) & very low False- Positive Rate… always. • Real Time – For practical applications at least 2 frames per second must be processed. • Face Detection – not recognition. The goal is to distinguish faces from non- faces (face detection is the first step in the identification process) 4
  • 5. So how does the algo work? 5
  • 6. Problems…..? • How to define a feature? -- Edge Detection to Haar features • How to calculate area fast? -- Integral Image 6
  • 7. Steps in Voila Jones Face Detection Algorithm Haars Features Integral Image Adaboost Cascading 7
  • 8. Basic Introduction to edge detection Output image(right) has high intensity at pixels where the convolution kernel pixel pattern matched perfectly with the input image 8
  • 9. Haar Features 9 • Haar features are similar to these convolution kernels which are used to detect the presence of that feature in the given image. • Each feature results in a single value which is calculated by subtracting the sum of pixels under white rectangle from the sum of pixels under black
  • 10. Haar Features 10 • Viola Jones algorithm uses a 24x24 window as the base window size to start evaluating these features in any given image. • If we consider all the possible parameters of the haars features like position, scale and type we will end up calculating about 160,000+ features in this window.
  • 11. Integral Window 11 • In an integral image the value at pixel(x,y) is the sum of pixels above and to the left of (x,y) • Integral image allows for the calculation of sum of all pixels inside any given rectangle using only four values at the Conner of the rectangle.
  • 12. Adaboost 12 • As stated previously there can be 160,000+ feature values within a detector at 24x24 base resolution which needs to be calculated. But it is to be understood that only few set of features will be useful among all these features to identify a face .
  • 13. Adaboost 13 • As Adaboost is a machine learning algorithm which helps in finding the best among all these 160,000+ features. After these features are found, a weighted combination of all these features in used in evaluating and deciding any given window or not. Their accuracy can also be low more than 50 percent (better than random guessing) • These best features are called as weak classifiers. Adaboost constructs a strong classifier as a linear combination of these weak classifiers
  • 14. Cascading 14 • The basic principle of the Viola-Jones face detection algorithm is to scan the detector many times through the same image – each time with a new size. • Even if an image should contain one or more faces it is obvious that an excessive large amount of the evaluated sub-window would still be negatives (non-faces). • So the algorithm should concentrate on discarding non-faces quickly and spend more time on the probable face regions • Hence a single strong classifier formed out of linear combination of all best features is not a good to evaluate on each window because of computational cost
  • 15. Cascading 15 • Therefore a cascade classifiers is used which is composed of stages each containing a strong classifiers. So all the features are grouped into several stages where each stage has certain number of features. • The job of each stage is used to determine wheatear a given sub-window is defiantly not a face or may be a face. A given sub window is immediately discarded as not a face if it fails in any of the stage
  • 17. Now the training to an XML file 17
  • 21. Further Improved Algorithms 21 • There have been a lot of research and development in object detection algorithms since then. Feature Point detection, Bag-of-Words models, Histogram-of-oriented gradients (HOG), Deformable Parts Models, Exemplar models, etc. are some modern techniques that have been used to great success. Deep learning (convolutional neural networks) is the absolute state-of-the-art technique for object detection and has produced great strides in the field. • There are a lot of great papers and cutting-edge research. For example, consider Facebook's DeepFace face recognition algorithm, DeepFace had produced a face recognition accuracy of 97.35% on the Labelled Faces in the Wild dataset, which is quite near human-level performance (97.53%)! So yes, modern and state-of-the-art algorithms hold a lot of promise.

Editor's Notes

  1. Have you guys every used any of these image filters before? Maybe snapchat, maybe facebook messenger? And many more But have you ever wondered how they work that too so fast and efficient?
  2. Good evening Sir and my dear friends Today I will be taking the seminar of the topic Real time Face detection systems, My name is Sreerag Sreenath, Final year Btech bearing the roll number 134153 So first lets get to the basics.
  3. Tell how is it different from face recognition