File Exchange

image thumbnail

Simple Face Detection

version 1.0 (2.99 KB) by

Implementation of A SIMPLE AND ACCURATE COLOR FACE DETECTION ALGORITHM IN COMPLEX BACKGROUND

3.90909
12 Ratings

33 Downloads

Updated

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)

Comments and Ratings (16)

G Behery

Akram Murad

haem

haem (view profile)

betül

betül (view profile)

Zhaohui

Hi Birdal, Thanks for sharing, It is very interesting piece of work, But I have one question on the mouth detection, it seems that your mouth detection is over constraint so that some face can not be detected because of your new constraint. But the problem is that it seems I can not repeat the algorithm you cited in your code: there are two many M in the Histogram so I think I may code it wrongly.

Could you please explain why you made the changes to the mouth detection threshold, and, could you please provide me the code to reproduce the mouth detect algorithm that described in your cited paper?

nur

nur (view profile)

Thanks for sharing.

Ali OZMERCAN

Thnx, it is fine to begin my project

infant

infant (view profile)

use image acqisition toolbox.. there s a gui tool to acquire images from camera..

Vinil Pillai

i want to capture image from a wireless camera and feed it to Matlab and process it for face recognition.Can any1 help me with the source code??

Raymond Cheng

Thanks for your sharing.

Tolga Birdal

Tolga Birdal (view profile)

I do. Please download the code and you will find it at the very top of the comments.

ANDRU BALL

do you have paper of your work face deteccion.

chen QQ

a very useful tool.
i give 5 star.
it identify one human face, and show the region.

but i have one question.
in the paper, can identify multi-face.
but this tool can't find multi-face?
is it my fault?
thank you!

chen QQ

MATLAB Release
MATLAB 7.7 (R2008b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video