Face Detection Using Color Thresholding and Eigenimage Template Matching Diederik Marius Sumita...

12
Face Detection Using Color Thresholding and Eigenimage Template Matching Diederik Marius Sumita Pennathur Klint Rose

description

Skin Segmentation Used distribution of Cr and Cb values for faces vs. background to threshold Skin region: 105

Transcript of Face Detection Using Color Thresholding and Eigenimage Template Matching Diederik Marius Sumita...

Page 1: Face Detection Using Color Thresholding and Eigenimage Template Matching Diederik Marius Sumita Pennathur Klint Rose.

Face Detection Using Color Thresholding and

Eigenimage Template Matching

Diederik MariusSumita Pennathur

Klint Rose

Page 2: Face Detection Using Color Thresholding and Eigenimage Template Matching Diederik Marius Sumita Pennathur Klint Rose.

Approach

Input Image

YCbCrThresholding

Binary ImageProcessing

Separationof “Blobs”

SizeThreshold

Homogeneity/Aspect Ratio

ThresholdCross-covariancewith Eigenimage

DuplicateDetectionRemoval

Rejection

Match Face Location to Input Image

Indi

vidu

al b

lobs

x10

Page 3: Face Detection Using Color Thresholding and Eigenimage Template Matching Diederik Marius Sumita Pennathur Klint Rose.

Skin Segmentation Used distribution of Cr and Cb

values for faces vs. background to thresholdSkin region: 105<Cr<135

140<Cb<165

Page 4: Face Detection Using Color Thresholding and Eigenimage Template Matching Diederik Marius Sumita Pennathur Klint Rose.

Binary Image Processing Erosion and dilation with face-shaped

segmentation element Removes small foreground and

background objects Delineates between larger regions

Page 5: Face Detection Using Color Thresholding and Eigenimage Template Matching Diederik Marius Sumita Pennathur Klint Rose.

Separation and Rejection Larger regions labeled and

separated Series of Rejection Thresholding:

Size of regions (>3000 total pixels) Aspect Ratio (0.5 <AR< 1.8 ) St. Dev. of image values (60<<100)

Size based thresholding

Coupled AR and St. Dev. based thresholdin

g

Page 6: Face Detection Using Color Thresholding and Eigenimage Template Matching Diederik Marius Sumita Pennathur Klint Rose.

Eigenimages Computed from set of “good” faces Employed Sirovich-Kirby method to calculate first 10 eigenimages Eigenimage #2: most accurate location of center of face Used eigenimage #2 exclusively

1 2 3 4 5 6 7 8 9 10

Page 7: Face Detection Using Color Thresholding and Eigenimage Template Matching Diederik Marius Sumita Pennathur Klint Rose.

Template Matching Found cross-covariance peak and

marked as potential center Removed face sized area from

image Found new highest peak - repeated

10x

Page 8: Face Detection Using Color Thresholding and Eigenimage Template Matching Diederik Marius Sumita Pennathur Klint Rose.

False Detection Removal Thresholded detected peaks

to obtain potential faces only Determined whether

multiple peaks belong to the same person (neck, etc)

Rejection criteria: Near the same y-axis and within a predetermined vertical distance of a previous point

Rejectedpoints

Page 9: Face Detection Using Color Thresholding and Eigenimage Template Matching Diederik Marius Sumita Pennathur Klint Rose.

Typical Detection Result Detection problems: rotated faces,

small faces, hands, faces in lower 1/3

Page 10: Face Detection Using Color Thresholding and Eigenimage Template Matching Diederik Marius Sumita Pennathur Klint Rose.

Results Average run time: 100 seconds 95% of faces found 4.4% false positives

# Faces # Correct False Pos False Neg % Correct % FalseTraining Image 1 21 21 1 0 100 4.8Training Image 2 23 21 5 2 91 21.7Training Image 3 23 22 0 1 96 0.0Training Image 4 24 22 0 2 92 0.0Training Image 5 24 23 0 1 96 0.0Training Image 6 24 23 0 1 96 0.0Training Image 7 22 19 1 3 86 4.5Total 161 151 7 10 95 4.4

Page 11: Face Detection Using Color Thresholding and Eigenimage Template Matching Diederik Marius Sumita Pennathur Klint Rose.
Page 12: Face Detection Using Color Thresholding and Eigenimage Template Matching Diederik Marius Sumita Pennathur Klint Rose.

17

16

5 (0)4 (19)15

5 (0)4 (19)14

5 (0)4 (19)13

5 (0)4 (19)12

5 (0)15 (08)11

2 (1)2 (20)10

2 (1)1 (22)9

1 (2)13 (14)8

5 (0)12 (16)7

5 (0)11 (17)6

5 (0)14 (13)5

5 (0)9 (18)4

5 (0)9 (18)3

5 (0)2 (20)2

2 (1)4 (19)1

Gender RecognitionFace Detection

17

16

5 (0)4 (19)15

5 (0)4 (19)14

5 (0)4 (19)13

5 (0)4 (19)12

5 (0)15 (08)11

2 (1)2 (20)10

2 (1)1 (22)9

1 (2)13 (14)8

5 (0)12 (16)7

5 (0)11 (17)6

5 (0)14 (13)5

5 (0)9 (18)4

5 (0)9 (18)3

5 (0)2 (20)2

2 (1)4 (19)1

Gender RecognitionFace Detection