Simple Face Detection

Implementation of A SIMPLE AND ACCURATE COLOR FACE DETECTION ALGORITHM IN COMPLEX BACKGROUND
13.7K Downloads
Updated 20 Mar 2009

View License

by Tolga Birdal
Implementation of the paper:
A SIMPLE AND ACCURATE COLOR FACE DETECTION ALGORITHM IN COMPLEX BACKGROUND
Yu-Ting Pai, Shanq-Jang Ruan , Mon-Chau Shie, Yi-Chi Liu
Low Power Systems Lab, Department of Electronic Engineering
National Taiwan University of Science and Technology
No.43, Sec.4, Keelung Rd., Taipei, 106, Taiwan, R.O.C.
E-mail: sjruan@mail.ntust.edu.tw

Additions by me:
Minumum face size constraint
Adaptive theta thresholding (Theta is thresholded by mean2(theata)/4
Parameters are modified by to detect better. Please check the paper for parameters they propose.
Check the paper for more details.

usage:
I=double(imread('c:\Data\girl1.jpg'));
detect_face(I);
The function will display the bounding box if a face is found.

Notes: This algorithm is very primitive and doesn't work in real life. The resaon why I implement is that I believe for low cost platforms people need such kind of algorithms. However this one doesn't perform so well in my opinion (if I implemented correctly)

Cite As

Tolga Birdal (2026). Simple Face Detection (https://uk.mathworks.com/matlabcentral/fileexchange/23382-simple-face-detection), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0.0