Simple Face Detection
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 (2024). Simple Face Detection (https://www.mathworks.com/matlabcentral/fileexchange/23382-simple-face-detection), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Computer Vision Toolbox > Recognition, Object Detection, and Semantic Segmentation > Object Detection Using Features > Face Detection >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |