Rapid Facial Feature Detection in iOS
Instructor - Simon Lucey
16-423 - Designing Computer Vision Apps
Rapid Facial Feature Detection in iOS Instructor - Simon Lucey - - PowerPoint PPT Presentation
Rapid Facial Feature Detection in iOS Instructor - Simon Lucey 16-423 - Designing Computer Vision Apps Today Facial Feature Detection in iOS. Active Appearance Models. Face Detection Face Detection in iOS In iOS face detection
Instructor - Simon Lucey
16-423 - Designing Computer Vision Apps
https://github.com/slucey-cs-cmu-edu/CIFaceFeature_Lena
https://github.com/slucey-cs-cmu-edu/Smerk_Example
translation rotation aspect affine perspective cylindrical
18
19
(Szeliski and Fleet)
19
(Szeliski and Fleet)
20
(Matthews and Gross)
Appearance Shape
AAM
21
(Matthews and Gross)
Appearance Shape 0.12
6.78
0.01
Parameters
AAM
21
(Matthews and Gross)
Appearance Shape 0.12
6.78
0.01
Parameters Image
AAM
21
(Matthews and Gross)
Modeling
Appearance Shape 0.12
6.78
0.01
Parameters Image
AAM
21
(Matthews and Gross)
Fitting Modeling
Appearance Shape 0.12
6.78
0.01
Parameters Image
AAM
21
(Matthews and Gross)
22
(Matthews and Gross)
22
(Matthews and Gross)
23
(Matthews and Gross)
24
(Matthews and Gross)
24
(Matthews and Gross)
Manually label lots and lots of data
25
(Matthews and Gross)
26
(Matthews and Gross)
Don’t Care!
26
(Matthews and Gross)
27
(Matthews and Gross)
27
(Matthews and Gross)
27
(Matthews and Gross)
Input Shape Basis Parameters =
28
(Matthews and Gross)
Principal Component Analysis
Input Shape Basis Parameters =
28
(Matthews and Gross)
29
(Matthews and Gross)
29
(Matthews and Gross)
29
(Matthews and Gross)
29
(Matthews and Gross)
30
(Matthews and Gross)
30
(Matthews and Gross)
s0 Mean Face First 3 Shape Modes s1 s2 s3
Shape Model Shape Parameters
31
(Matthews and Gross)
W(z; p) = s0 +
K
pksk
Warp to mean shape
PCA on Appearance
32
(Matthews and Gross)
33
(Matthews and Gross)
33
(Matthews and Gross)
A0(u) Mean Face First 3 Appearance Modes A1(u) A2(u) A3(u)
m
Appearance Model Appearance Parameters
34
(Matthews and Gross)
A0(z)
A1(z)
A2(z)
A3(z)
M
Procrustes Procrustes
PCA PCA Shape Modes
s0 s1 s2
Appearance Modes
A0 A1 A2
35
Procrustes Procrustes
PCA PCA Shape Modes
s0 s1 s2
Appearance Modes
A0 A1 A2
35
36
(Matthews and Gross)
W(z; p)
T(z)
A0(z) 3559A1(z)
351A2(z) 256A3(z)
36
(Matthews and Gross)
W(z; p)
T(z)
A0(z) 3559A1(z)
351A2(z) 256A3(z)
z
W(z; p) = s0 +
K
pksk
Warp
37
(Matthews and Gross)
T(z) = A0(z) +
M
λiAm(z)
W(z; p) = s0 +
K
pksk
Warp
Source Image
2D Similarity Transform
37
(Matthews and Gross)
T(z) = A0(z) +
M
λiAm(z)
38
(Matthews and Gross)
38
(Matthews and Gross)
39
(Matthews and Gross)
40
(Matthews and Gross)
40
(Matthews and Gross)
41
(Matthews and Gross)
Appearance Shape
AAM
Determine the best model parameters to reconstruct the image
42
(Matthews and Gross)
Appearance Shape 0.12
6.78
0.01
Parameters
AAM
Determine the best model parameters to reconstruct the image
42
(Matthews and Gross)
Appearance Shape 0.12
6.78
0.01
Parameters Image
AAM
Determine the best model parameters to reconstruct the image
42
(Matthews and Gross)
Modeling
Appearance Shape 0.12
6.78
0.01
Parameters Image
AAM
Determine the best model parameters to reconstruct the image
42
(Matthews and Gross)
Fitting Modeling
Appearance Shape 0.12
6.78
0.01
Parameters Image
AAM
Determine the best model parameters to reconstruct the image
42
(Matthews and Gross)
∆λ,∆p ||T(z) + A∆λ − I(W(z; p)) − J∆p||2
T
43
T ∂W(z; p)
T
∆p ||T(z) + Jic∆p − I(W(z; p))||2
44
T ∂W(z; 0)
T
T
Input Shape Overlaid Rendered Model Instance Overlaid Model Instance
45
(Matthews and Gross)
Input Shape Overlaid Rendered Model Instance Overlaid Model Instance
45
(Matthews and Gross)
Re-initialize model multiple times if tracking fails and still track in real time
46
(Matthews and Gross)
Re-initialize model multiple times if tracking fails and still track in real time
46
(Matthews and Gross)
Original model does not handle occlusion well
47
(Matthews and Gross)
Original model does not handle occlusion well
47
(Matthews and Gross)
T
48
T ∂W(z; p)
T
∆λ,∆p η(T(z) + A∆λ − I(W(z; p)) − J∆p)
49
(Matthews and Gross)
49
(Matthews and Gross)
50
(Matthews and Gross)
51
(Matthews and Gross)
51
(Matthews and Gross)
Driver Camera Exterior View Camera
52
(Matthews and Gross)
Driver Camera Exterior View Camera
52
(Matthews and Gross)
53
(Matthews and Gross)
53
(Matthews and Gross)
54
(Matthews and Gross)
54
(Matthews and Gross)
Jingle Bells, Jingle Bells, Jingle All the Way, ...
55
(Matthews and Gross)
Jingle Bells, Jingle Bells, Jingle All the Way, ...
55
(Matthews and Gross)