Académique Documents
Professionnel Documents
Culture Documents
Definition
Face detection is concerned with finding whether or not
there are any faces in a given image (usually in gray scale)
and, if present, return the image location and content of
each face.
This is the first step of any fully automatic system that
analyzes the information contained in faces (e.g., identity,
gender, expression, age, race and pose).
Face Recognition
Face Recognition
Face Detection
Skin color
Face structure
Eye
Lip
`
`
`
`
`
`
`
`
`
`
Eyes
Lips
Geometrical relations
Skin Detection
Skin detection is the process of finding skin-colored pixels
and regions in an image or a video.
This process is typically used as a preprocessing step to
find regions that potentially have human faces and limbs in
images
A skin detector typically transforms a given pixel into an
appropriate color space and then use a skin classifier to
label the pixel whether it is a skin or a non-skin pixel.
pixel. A skin classifier defines a decision boundary of the
skin color class in the color space based on a training
database of skin-colored pixels.
`
`
10
11
Pixel-Based Methods
`
`
12
`
`
`
`
`
`
13
`
`
14
`
`
`
`
15
Gaussian Model
`
`
`
`
Fleck HSV
TSL
YcrCb
Perceptually uniform colors
`
`
`
`
CIELAB, CIELUV
Others
`
`
16
YES,YUV,YIQ, CIE-xyz
17
b=1gr
18
19
Y Cr Cb
`
20
`
`
21
`
`
`
The skin colors form a separate cluster in the RGB color space. Hence
skin color can be used as a cue for skin detection in images and videos.
The performance of different color space may be dependent on the
method used to model the color for skin pixel.
For the common methods Look up table, bayes classifier, gaussian the
results are
` Look up table HS performs the best followed by normalized RGB
` Bayes is not largely affected by the the color space
` Gaussian No general result can be derived from the papers under
consideration
Removing the illumination component does increase the overlap
between skin and non skin pixels but a generalization of training data is
obtained
22
23
Eyes detection
`
`
`
24
Brightness factor
Darkest area
Histogram equalization
Color Space
25
Color Space
26
Color Space
27
28
Luminance
Regulation
Contour
Extraction
Color
Segmentation
Geometric
Correction
Face
Information
Input Image
29
Computes
Mean Faces
Dimension
Reduction
Face vectors
Feature
vectors
30
31
32
33
Original Image
34
Cb
Cr
Cb and C r
R G B Variance
(255,255,82) = 6782.33
pseudo skin-color
35
R G B Variance
(255,223,247) = 506.66
skin-color
Department of Electrical Engineering
MMLab
2000
1800
1000
1600
1400
Pixel Number
Pixel Number
800
600
400
1200
1000
800
600
400
200
200
0
0
0
500
1000
1500
2000
2500
3000
500
1000
RGB Variance
2000
2500
3000
2500
1200
1000
2000
Pixel Number
800
Pixel Number
1500
RGB Variance
600
1500
1000
400
500
200
0
0
500
1000
1500
RGB Variance
36
2000
2500
3000
500
1000
1500
2000
2500
3000
RGB Variance
37
Original image
Cb and Cr
Cr
(a)
(b)
(a) Original image
(b) Result of [14]
(c) Result of [11]
(d) Result of proposal
(c)
(d)
Video Demo
Face Detection
Skin Color
Extraction
Input
Image
Face Localization
Color
Segmentation
Frame Diff.
Enhancement
Face Verification
Eye
Detection
Eye Pair
Validation
Motion Region
Segmentation
Output
Face Image
42
Two defects
`
`
43
Feedback loop
44
45
Mean filter
`
`
Dilation
`
`
`
46
Structure element
of dilation operator
Enhanced frame
difference
47
Dilation(O2)
48
1.
2.
3.
4.
49
Horizontal scan
`
Left-to-right scan
Right-to-left scan
50
If the pixel does not meet the criterion, the value of the
pixel in O3(x,y) will not be changed.
Noise Elimination
`
51
Salesman # 8
Horizontal Scan
52
Vertical Scan
Eliminate Noise
Department of Electrical Engineering
MMLab
Face Candidate
Skin Color Image
53
Eye Detection
`
(a) Salesman
54
(b) Claire
(c) Suzie
Eye detection
`
Peak detector
`
P(x,y)={[Cb2(x,y)\g(x,y)]g(x,y)}Cb2(x,y)
`
g(x,y)
`
`
55
: Structural element
: Dilation operator
: Erosion operator
Example
Cb2 image
Erosion
Dilation
Eye Candidate
56
Density
Luminance
intensity
57
`
`
`
`
58
Diff =
`
mask
19
80
x=0 y=0
x=14 y=0
120
60
Eye Candidates
Face Rectangle
Result
Department of Electrical Engineering
MMLab
E : Edge score
`
S : Symmetry score
`
61
Face Score
`
Winner
`
Edge Pixels E
FaceScore =
=
Symmetry
S
62
Results
(a) Suzie
(b) Claire
(c) Carphone
(d) Salesman
(e) Test 1
(f) Test 2
63
64
100 frames
DR
FR
Suzie
Claire
Carphone
Salesman
Test 1
Test 2
Average
91.0%
86.0%
91.0%
86.0%
93.0%
80.0%
87.8%
4.2%
9.5%
5.2%
1.1%
5.1%
14.0%
6.6%
Department of Electrical Engineering
MMLab
65
(a)
(b)
(c)
(d)
(e)
(f)
(g)
(h)
(i)
(j)
(k)
(l)
Department of Electrical Engineering
MMLab
(a)
(b)
(c)
(d)
(e)
(f)
Average DR
Average FR
66
DR
97.2%
98.4%
90.4%
99.2%
96.8%
97.2%
FR
1.2%
0.4%
6.2%
0.8%
2.0%
1.2%
(g)
(h)
(i)
(j)
(k)
(l)
95.0%
1.9%
DR
91.6%
94.4%
95.6%
88.0%
94.0%
96.6%
FR
5.0%
1.3%
2.0%
3.9%
1.1%
0.2%
(a)
(e)
DR
FR
67
(b)
(a)
90.4%
11.4%
(b)
93.9%
3.9%
(c)
(c)
94.4%
0.8%
(d)
(d)
96.8%
3.6%
(e)
96.0%
2.4%
Average
94.3%
4.6%
Face region
68
A Close-up picture
Suzie
Salesman
Rotation
Speak
Hand
Hand
Skin Color
Background
69
Raise up
Rotation
Tilt
Expression
Speak
Hand
70
Expression
Tilt
Rotation
Glasses
Backward
71
Face Detection
Face Region?
Foreground
Low-Pass Filter
Background
Combined Image
Video Codec
72
PSNR
PSNR of whole
frame (dB)
of ROI (dB)
Skipped
frame
w/o ROI
29.99
29.68
3722
14
WA
32.92
31.23
3604
11
TF
33.35
30.46
3603
11
PR
33.91
30.16
3605
11
73
PSNRROI by WR:
32.25 dB
74
PSNRROI by WA:
34.05 dB
PSNRROI by TF:
34.52 dB
PSNRROI by PR:
35.77 dB
Without ROI
With ROI
Without ROI
Fixed ROI
Face ROI
Carphone.qcif@64Kbps
76
Multiple ROI
Without ROI
77
Multiple ROI
Without ROI
Carphone.qcif@64Kbps
78