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) |