Face Detection and Gender Recognition EE368 Project Report Michael
27 Slides2.73 MB
Face Detection and Gender Recognition EE368 Project Report Michael Bax Chunlei Liu Ping Li 28 May 2003
Colour Spaces
RGB Colour-Space Histograms
HSV Colour-Space Histograms
Empirical PDF Approximation
Pixel Classification Error (RGB)
Pixel Classification Error (HSV)
Input Image
Pixel Segmentation Using the RGB Pixel PDF
Non-Face Object Removal
Size-based Non-Face Object Removal
Location-based Non-Face Object Removal
Object Size Threshold Correction
PCA-based Non-Face Object Removal
Connected Component Analysis Preprocessing Connected faces identification Face separation Low pass filtering, hole filling and background rejection Identification of connected faces based on statistical analysis Iterative separation of connected regions
Connected Components
Component Separation
Separated Components
Component Identification Template matching and peak thresholding to remove remaining non-face objects Removal of repeated faces segments using a distance constraint
Face Position Refinement The face centre is located at the bridge of the nose The centroid of the segmented face is somewhat inaccurate in finding face centres Multi-scale, high threshold template matching finds centres more accurately Use centroid for remaining faces
Image Pyramid-based Template Matching Training face preprocessing – Training faces were rotation compensated, registered, and resampled in greyscale – Resampled faces were averaged and masked Greyscale input image pyramid composition – 20% scale increments Normalized cross-correlation with nose bridge-centred average face template
Finding Faces with Template Matching High threshold for accurate centre location Moderate threshold for robust backup face location – if morphological subsystem gives unexpected results
Gender Detection Mean intensity Template matching using average of each female face Biased towards missing female faces to avoid false-positive penalty (9:1)
Face Detection Results
Results Statistics Image Hits Repeated False Hits Distance Time (s) Bonus 1 21 0 0 11.1 91 2 2 24 0 0 15.6 90 2 3 25 0 0 10.5 97 0 4 24 0 0 11.8 97 1 5 24 0 0 10.7 103 0 6 24 0 0 9.6 94 0 7 22 0 0 11.2 88 1 Average 23.4 0 0 11.5 94 0.86
Face Detection Gender Recognition 1 3 (19) 2 (1) 2 2 (20) 4 (0) 3 4 (18) 4 (0) 4 4 (18) 4 (0) 5 9 (13) 4 (0) 6 5 (17) 4 (0) 7 7 (16) 4 (0) 8 8 (14) 1 (2) 9 1 (22) 2 (1) 10 11 12 13 14 15 16 17