SlideShare a Scribd company logo
1 of 30
Face Detection
EE368 Final Project
Spring 2003
- Group 6 -
Anthony Guetta
Michael Pare
Sriram Rajagopal
Overview
Problem Identification
Methods Adopted
 Color Segmentation
 Morphological Processing
 Template Matching
 EigenFaces
 Gender Classification
Color Segmentation
Use the color information
Two approaches:
 Global threshold in HSV and YCbCr space using set
of linear equations. Lot of overlap exists
(a) (b)
Clustering in (a) YCbCr and (b) V vs. H space. Red is non-face and
blue is face data
Result of color segmentation using Global
thresholding
Second approach involves RGB vector
quantization (Linde, Buzo, Gray)
 Use RGB as a 3-D vector and quantize the RGB
space for the face and non-face regions
Overlap exists in RGB space also
Sample Blue vs Green plot for face (blue)
and non-face (red) data.
Results from initial quantization
 Common problems identified
Better Code book developed
 Problem areas broken up
 Initial step of open and close performed to fill
holes in faces
 Elongated objects removed by check on aspect
ratio and small areas discarded
Morphological Processing
Segmented and processed Image
consists of all skin regions (face, arms
and fists)
Need to identify centers of all objects,
including individual faces among
connected faces
Repeated EROSION is done with
specific structuring element
 Previous state stored to identify new
regions when split occurs
Superimposed mask image with eroded
regions for estimate of centroids
Template Matching
Data set has 145 male and 19 female faces
Need to identify region around estimated
centroids as face or non-face
Multi-resolution was attempted. But distortion
from neighboring faces gives false values
Smaller template has better result for all face
shapes
Template used is the mean face of 50x50
pixels
Mean Face used for
template matching
Illumination problem identified
 Top has low lighting, lower part is brighter
 Left and right edges of images do not have people
 2-D weighting function for correlation values
applied
2-D weighting function Sample correlation result
Result from template matching and thresholding.
Rejected - Red ‘x’. Detected Faces – Green ‘x’
EigenFace based detection
Decompose faces into set of basis images
Different methods of candidate face
extraction from image
EigenFaces
(a) (b)
Candidate face extraction (a) Conservative (b) multi-
resolution with side distortion
Sample result of eigenface. Red ‘+’ is from
morphological processing and green ‘O’ is from
eigenfaces
Minimum Distance between vector of
coefficients to that of the face dataset
was the metric.
It depends very much on spatial
similarity to trained dataset
Slight changes give incorrect results
Hence, only template matching was
used
Gender classification
Eigenfaces and template matching for specific face features do
not yield good results
Other features for specific females were used – the headband
Template matching was performed for it
Conservative estimate was done to prevent falsely identifying
males as a female
The headband template
Training
Image
Final
Score
Detect
Score
Number
Hits
Num
Repeat
Num
False
Positives
Distance Runtime Bonus
1 22 21 21 0 0 15.9311 71.91 1
2 22 21 23 0 2 13.6109 82.96 1
3 25 25 25 0 0 9.8625 80.48 0
4 22 22 24 0 2 11.3667 81.15 0
5 24 24 24 0 0 9.5960 69.59 0
6 23 23 23 0 0 11.5512 80.25 0
7 22 21 21 0 0 14.1537 71.52 1
Table of results for training images
Approx. 95% accuracy with about 75 seconds runtime
Training 1
Training 2
Training 3
Training 4
Training 5
Training 6
Training 7
Conclusion
RGB Vector Quantization gave excellent
segmentation
Morphological processing gave good
estimate of centroids
Template matching with illumination
correction gave near perfect results
Specific female was identified with
headband
Future Considerations
Edge detection to better separate the
connected faces
Preprocess the image in HSV space
before codebook comparison to improve
runtime
Improve rejection of highly correlated
non-face objects
Thank You
Questions ?
17
16
15
14
13
12
11
10
9
8
7
2 (0)
5 (17)
6
2 (0)
6 (13)
5
2 (0)
3 (18)
4
2 (0)
3 (18)
3
2 (0)
1 (20)
2
1 (1)
2 (19)
1
Gender Recognition
Face Detection
17
16
15
14
13
12
11
10
9
8
7
2 (0)
5 (17)
6
2 (0)
6 (13)
5
2 (0)
3 (18)
4
2 (0)
3 (18)
3
2 (0)
1 (20)
2
1 (1)
2 (19)
1
Gender Recognition
Face Detection

More Related Content

Similar to ee368group06.ppt

Skin colour information and Haar feature based Face Detection
Skin colour information and Haar feature based Face DetectionSkin colour information and Haar feature based Face Detection
Skin colour information and Haar feature based Face DetectionIJERA Editor
 
Learning a multi-center convolutional network for unconstrained face alignment
Learning a multi-center convolutional network for unconstrained face alignmentLearning a multi-center convolutional network for unconstrained face alignment
Learning a multi-center convolutional network for unconstrained face alignmentZhiwen Shao
 
face recognition system
face recognition systemface recognition system
face recognition systemAnil Kumar
 
Model Based Emotion Detection using Point Clouds
Model Based Emotion Detection using Point CloudsModel Based Emotion Detection using Point Clouds
Model Based Emotion Detection using Point CloudsLakshmi Sarvani Videla
 
Facial_recognition_Siva vadapalli1.pptx.ppt
Facial_recognition_Siva vadapalli1.pptx.pptFacial_recognition_Siva vadapalli1.pptx.ppt
Facial_recognition_Siva vadapalli1.pptx.pptvijaynaidu51
 
A Novel Mathematical Based Method for Generating Virtual Samples from a Front...
A Novel Mathematical Based Method for Generating Virtual Samples from a Front...A Novel Mathematical Based Method for Generating Virtual Samples from a Front...
A Novel Mathematical Based Method for Generating Virtual Samples from a Front...CSCJournals
 
Fully Automatic Facial Feature Point Detection Using Gabor Feature Based Boos...
Fully Automatic Facial Feature Point Detection Using Gabor Feature Based Boos...Fully Automatic Facial Feature Point Detection Using Gabor Feature Based Boos...
Fully Automatic Facial Feature Point Detection Using Gabor Feature Based Boos...Yen Ho
 
Histogram Gabor Phase Pattern and Adaptive Binning Technique in Feature Selec...
Histogram Gabor Phase Pattern and Adaptive Binning Technique in Feature Selec...Histogram Gabor Phase Pattern and Adaptive Binning Technique in Feature Selec...
Histogram Gabor Phase Pattern and Adaptive Binning Technique in Feature Selec...CSCJournals
 
Establishment of an Efficient Color Model from Existing Models for Better Gam...
Establishment of an Efficient Color Model from Existing Models for Better Gam...Establishment of an Efficient Color Model from Existing Models for Better Gam...
Establishment of an Efficient Color Model from Existing Models for Better Gam...CSCJournals
 
De duplication of entities with-in a cluster using image matching
De duplication of entities with-in a cluster using image matchingDe duplication of entities with-in a cluster using image matching
De duplication of entities with-in a cluster using image matchingSaurabh Singh
 
Face Hallucination using Eigen Transformation in Transform Domain
Face Hallucination using Eigen Transformation in Transform DomainFace Hallucination using Eigen Transformation in Transform Domain
Face Hallucination using Eigen Transformation in Transform DomainCSCJournals
 
Learning deep representation from coarse to fine for face alignment
Learning deep representation from coarse to fine for face alignmentLearning deep representation from coarse to fine for face alignment
Learning deep representation from coarse to fine for face alignmentZhiwen Shao
 
Face Recognition using Improved FFT Based Radon by PSO and PCA Techniques
Face Recognition using Improved FFT Based Radon by PSO and PCA TechniquesFace Recognition using Improved FFT Based Radon by PSO and PCA Techniques
Face Recognition using Improved FFT Based Radon by PSO and PCA TechniquesCSCJournals
 
Face Alignment Using Active Shape Model And Support Vector Machine
Face Alignment Using Active Shape Model And Support Vector MachineFace Alignment Using Active Shape Model And Support Vector Machine
Face Alignment Using Active Shape Model And Support Vector MachineCSCJournals
 
V.KARTHIKEYAN PUBLISHED ARTICLE
V.KARTHIKEYAN PUBLISHED ARTICLEV.KARTHIKEYAN PUBLISHED ARTICLE
V.KARTHIKEYAN PUBLISHED ARTICLEKARTHIKEYAN V
 
A Literature review on Facial Expression Recognition Techniques
A Literature review on Facial Expression Recognition TechniquesA Literature review on Facial Expression Recognition Techniques
A Literature review on Facial Expression Recognition TechniquesIOSR Journals
 
AN ILLUMINATION INVARIANT FACE RECOGNITION USING 2D DISCRETE COSINE TRANSFORM...
AN ILLUMINATION INVARIANT FACE RECOGNITION USING 2D DISCRETE COSINE TRANSFORM...AN ILLUMINATION INVARIANT FACE RECOGNITION USING 2D DISCRETE COSINE TRANSFORM...
AN ILLUMINATION INVARIANT FACE RECOGNITION USING 2D DISCRETE COSINE TRANSFORM...ijcsit
 

Similar to ee368group06.ppt (20)

Skin colour information and Haar feature based Face Detection
Skin colour information and Haar feature based Face DetectionSkin colour information and Haar feature based Face Detection
Skin colour information and Haar feature based Face Detection
 
Learning a multi-center convolutional network for unconstrained face alignment
Learning a multi-center convolutional network for unconstrained face alignmentLearning a multi-center convolutional network for unconstrained face alignment
Learning a multi-center convolutional network for unconstrained face alignment
 
face recognition system
face recognition systemface recognition system
face recognition system
 
Model Based Emotion Detection using Point Clouds
Model Based Emotion Detection using Point CloudsModel Based Emotion Detection using Point Clouds
Model Based Emotion Detection using Point Clouds
 
Facial_recognition_Siva vadapalli1.pptx.ppt
Facial_recognition_Siva vadapalli1.pptx.pptFacial_recognition_Siva vadapalli1.pptx.ppt
Facial_recognition_Siva vadapalli1.pptx.ppt
 
Aa4102207210
Aa4102207210Aa4102207210
Aa4102207210
 
A Novel Mathematical Based Method for Generating Virtual Samples from a Front...
A Novel Mathematical Based Method for Generating Virtual Samples from a Front...A Novel Mathematical Based Method for Generating Virtual Samples from a Front...
A Novel Mathematical Based Method for Generating Virtual Samples from a Front...
 
Fully Automatic Facial Feature Point Detection Using Gabor Feature Based Boos...
Fully Automatic Facial Feature Point Detection Using Gabor Feature Based Boos...Fully Automatic Facial Feature Point Detection Using Gabor Feature Based Boos...
Fully Automatic Facial Feature Point Detection Using Gabor Feature Based Boos...
 
Histogram Gabor Phase Pattern and Adaptive Binning Technique in Feature Selec...
Histogram Gabor Phase Pattern and Adaptive Binning Technique in Feature Selec...Histogram Gabor Phase Pattern and Adaptive Binning Technique in Feature Selec...
Histogram Gabor Phase Pattern and Adaptive Binning Technique in Feature Selec...
 
Establishment of an Efficient Color Model from Existing Models for Better Gam...
Establishment of an Efficient Color Model from Existing Models for Better Gam...Establishment of an Efficient Color Model from Existing Models for Better Gam...
Establishment of an Efficient Color Model from Existing Models for Better Gam...
 
De duplication of entities with-in a cluster using image matching
De duplication of entities with-in a cluster using image matchingDe duplication of entities with-in a cluster using image matching
De duplication of entities with-in a cluster using image matching
 
S0450598102
S0450598102S0450598102
S0450598102
 
Face Hallucination using Eigen Transformation in Transform Domain
Face Hallucination using Eigen Transformation in Transform DomainFace Hallucination using Eigen Transformation in Transform Domain
Face Hallucination using Eigen Transformation in Transform Domain
 
Learning deep representation from coarse to fine for face alignment
Learning deep representation from coarse to fine for face alignmentLearning deep representation from coarse to fine for face alignment
Learning deep representation from coarse to fine for face alignment
 
Face Recognition using Improved FFT Based Radon by PSO and PCA Techniques
Face Recognition using Improved FFT Based Radon by PSO and PCA TechniquesFace Recognition using Improved FFT Based Radon by PSO and PCA Techniques
Face Recognition using Improved FFT Based Radon by PSO and PCA Techniques
 
Face Alignment Using Active Shape Model And Support Vector Machine
Face Alignment Using Active Shape Model And Support Vector MachineFace Alignment Using Active Shape Model And Support Vector Machine
Face Alignment Using Active Shape Model And Support Vector Machine
 
V.KARTHIKEYAN PUBLISHED ARTICLE
V.KARTHIKEYAN PUBLISHED ARTICLEV.KARTHIKEYAN PUBLISHED ARTICLE
V.KARTHIKEYAN PUBLISHED ARTICLE
 
A Literature review on Facial Expression Recognition Techniques
A Literature review on Facial Expression Recognition TechniquesA Literature review on Facial Expression Recognition Techniques
A Literature review on Facial Expression Recognition Techniques
 
J01116164
J01116164J01116164
J01116164
 
AN ILLUMINATION INVARIANT FACE RECOGNITION USING 2D DISCRETE COSINE TRANSFORM...
AN ILLUMINATION INVARIANT FACE RECOGNITION USING 2D DISCRETE COSINE TRANSFORM...AN ILLUMINATION INVARIANT FACE RECOGNITION USING 2D DISCRETE COSINE TRANSFORM...
AN ILLUMINATION INVARIANT FACE RECOGNITION USING 2D DISCRETE COSINE TRANSFORM...
 

Recently uploaded

Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptxAnalyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptxLimon Prince
 
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaPersonalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaEADTU
 
Book Review of Run For Your Life Powerpoint
Book Review of Run For Your Life PowerpointBook Review of Run For Your Life Powerpoint
Book Review of Run For Your Life Powerpoint23600690
 
SPLICE Working Group: Reusable Code Examples
SPLICE Working Group:Reusable Code ExamplesSPLICE Working Group:Reusable Code Examples
SPLICE Working Group: Reusable Code ExamplesPeter Brusilovsky
 
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...Nguyen Thanh Tu Collection
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...Nguyen Thanh Tu Collection
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽中 央社
 
PSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptxPSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptxMarlene Maheu
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...EADTU
 
How to Manage Website in Odoo 17 Studio App.pptx
How to Manage Website in Odoo 17 Studio App.pptxHow to Manage Website in Odoo 17 Studio App.pptx
How to Manage Website in Odoo 17 Studio App.pptxCeline George
 
Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...EduSkills OECD
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptNishitharanjan Rout
 
UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024Borja Sotomayor
 
Basic Civil Engineering notes on Transportation Engineering & Modes of Transport
Basic Civil Engineering notes on Transportation Engineering & Modes of TransportBasic Civil Engineering notes on Transportation Engineering & Modes of Transport
Basic Civil Engineering notes on Transportation Engineering & Modes of TransportDenish Jangid
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfPondicherry University
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...Nguyen Thanh Tu Collection
 
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文中 央社
 
diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....Ritu480198
 

Recently uploaded (20)

Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptxAnalyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
 
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaPersonalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
 
Book Review of Run For Your Life Powerpoint
Book Review of Run For Your Life PowerpointBook Review of Run For Your Life Powerpoint
Book Review of Run For Your Life Powerpoint
 
SPLICE Working Group: Reusable Code Examples
SPLICE Working Group:Reusable Code ExamplesSPLICE Working Group:Reusable Code Examples
SPLICE Working Group: Reusable Code Examples
 
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
 
Including Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdfIncluding Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdf
 
PSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptxPSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptx
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
 
How to Manage Website in Odoo 17 Studio App.pptx
How to Manage Website in Odoo 17 Studio App.pptxHow to Manage Website in Odoo 17 Studio App.pptx
How to Manage Website in Odoo 17 Studio App.pptx
 
Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 
UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024
 
Basic Civil Engineering notes on Transportation Engineering & Modes of Transport
Basic Civil Engineering notes on Transportation Engineering & Modes of TransportBasic Civil Engineering notes on Transportation Engineering & Modes of Transport
Basic Civil Engineering notes on Transportation Engineering & Modes of Transport
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
 
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
 
OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...
 
diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....
 

ee368group06.ppt

  • 1. Face Detection EE368 Final Project Spring 2003 - Group 6 - Anthony Guetta Michael Pare Sriram Rajagopal
  • 2. Overview Problem Identification Methods Adopted  Color Segmentation  Morphological Processing  Template Matching  EigenFaces  Gender Classification
  • 3. Color Segmentation Use the color information Two approaches:  Global threshold in HSV and YCbCr space using set of linear equations. Lot of overlap exists (a) (b) Clustering in (a) YCbCr and (b) V vs. H space. Red is non-face and blue is face data
  • 4. Result of color segmentation using Global thresholding
  • 5. Second approach involves RGB vector quantization (Linde, Buzo, Gray)  Use RGB as a 3-D vector and quantize the RGB space for the face and non-face regions Overlap exists in RGB space also Sample Blue vs Green plot for face (blue) and non-face (red) data.
  • 6. Results from initial quantization  Common problems identified
  • 7. Better Code book developed  Problem areas broken up
  • 8.  Initial step of open and close performed to fill holes in faces  Elongated objects removed by check on aspect ratio and small areas discarded
  • 9. Morphological Processing Segmented and processed Image consists of all skin regions (face, arms and fists) Need to identify centers of all objects, including individual faces among connected faces Repeated EROSION is done with specific structuring element
  • 10.  Previous state stored to identify new regions when split occurs Superimposed mask image with eroded regions for estimate of centroids
  • 11. Template Matching Data set has 145 male and 19 female faces Need to identify region around estimated centroids as face or non-face Multi-resolution was attempted. But distortion from neighboring faces gives false values Smaller template has better result for all face shapes Template used is the mean face of 50x50 pixels Mean Face used for template matching
  • 12. Illumination problem identified  Top has low lighting, lower part is brighter  Left and right edges of images do not have people  2-D weighting function for correlation values applied 2-D weighting function Sample correlation result
  • 13. Result from template matching and thresholding. Rejected - Red ‘x’. Detected Faces – Green ‘x’
  • 14. EigenFace based detection Decompose faces into set of basis images Different methods of candidate face extraction from image EigenFaces (a) (b) Candidate face extraction (a) Conservative (b) multi- resolution with side distortion
  • 15. Sample result of eigenface. Red ‘+’ is from morphological processing and green ‘O’ is from eigenfaces
  • 16. Minimum Distance between vector of coefficients to that of the face dataset was the metric. It depends very much on spatial similarity to trained dataset Slight changes give incorrect results Hence, only template matching was used
  • 17. Gender classification Eigenfaces and template matching for specific face features do not yield good results Other features for specific females were used – the headband Template matching was performed for it Conservative estimate was done to prevent falsely identifying males as a female The headband template
  • 18. Training Image Final Score Detect Score Number Hits Num Repeat Num False Positives Distance Runtime Bonus 1 22 21 21 0 0 15.9311 71.91 1 2 22 21 23 0 2 13.6109 82.96 1 3 25 25 25 0 0 9.8625 80.48 0 4 22 22 24 0 2 11.3667 81.15 0 5 24 24 24 0 0 9.5960 69.59 0 6 23 23 23 0 0 11.5512 80.25 0 7 22 21 21 0 0 14.1537 71.52 1 Table of results for training images Approx. 95% accuracy with about 75 seconds runtime
  • 26. Conclusion RGB Vector Quantization gave excellent segmentation Morphological processing gave good estimate of centroids Template matching with illumination correction gave near perfect results Specific female was identified with headband
  • 27. Future Considerations Edge detection to better separate the connected faces Preprocess the image in HSV space before codebook comparison to improve runtime Improve rejection of highly correlated non-face objects
  • 29.
  • 30. 17 16 15 14 13 12 11 10 9 8 7 2 (0) 5 (17) 6 2 (0) 6 (13) 5 2 (0) 3 (18) 4 2 (0) 3 (18) 3 2 (0) 1 (20) 2 1 (1) 2 (19) 1 Gender Recognition Face Detection 17 16 15 14 13 12 11 10 9 8 7 2 (0) 5 (17) 6 2 (0) 6 (13) 5 2 (0) 3 (18) 4 2 (0) 3 (18) 3 2 (0) 1 (20) 2 1 (1) 2 (19) 1 Gender Recognition Face Detection