2.0

2.0 | 11 ratings Rate this file 41 Downloads (last 30 days) File Size: 111.31 KB File ID: #10500

Face Detection In RGB Model

by Amiruddin Jemaat

 

23 Mar 2006 (Updated 23 Mar 2006)

To detect human face in color image

| Watch this File

File Information
Description

This program will try to detect a face in image color.

Required Products Image Processing Toolbox
MATLAB release MATLAB 7 (R14)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (14)
18 Apr 2006 face detector

too simple to work

08 May 2006 Va Bianchi

It's very simple and poor of results.

25 Aug 2006 sujittar prongjit  
23 Jan 2007 Anonymous Voter

Weak! At least it should detect the skin regions.

27 Apr 2007 Pahan Poliakoff

Shit!

17 Jul 2007 Akrm Almangosh

Thank you very much

23 May 2008 M. Fatih Talu  
10 Jun 2008 Rui Zhang

ok

20 Sep 2008 hema g

i need this file

01 Nov 2008 Fake Ghost

WORST

01 Nov 2008 John D'Errico

Poor. This has no help. Only a script that loads a fixed file, but the path to that file will not be correct, so this code does not even run as it is.

The code itself is simplistic, almost trivial. Double loops to do something that requires no explicit loops at all. The author thinks they have chosen a simple hyper-rectangle in the RGB space to define the face. It is too bad they don't actually understand how to do a test in matlab.

The following is NOT the way to do such a test.

105<Chrom(i,j,1)<117

Read the manual. Matlab will first compare 105 and Chrom(i,j,1). The result will be either a zero (false) or a 1 (true). Then it will compare that result to see if it is less than 117. See that the result of that will always be true!

Learn how to use MATLAB. Sorry, but this code is poor in every respect.

01 Nov 2008 John D'Errico

By the way, in case the author does not appreciate (or understand) my previous comments, try this in MATLAB:

1 < 100 < 2
ans =
     1

Yes, MATLAB says this is TRUE! The reason is that this is not the right way to test for this pair of inequalities.

For any users, avoid this code as it is. Even were the tests to be repaired, the code would still be poor.

03 May 2009 Daniel N

it is great!

19 May 2009 Daniel N

so easy

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
color Amiruddin Jemaat 22 Oct 2008 08:19:49
face detection Amiruddin Jemaat 22 Oct 2008 08:19:49
rgb Amiruddin Jemaat 22 Oct 2008 08:19:49
detect Amiruddin Jemaat 22 Oct 2008 08:19:49
image processing Amiruddin Jemaat 22 Oct 2008 08:19:49
color image Amiruddin Jemaat 22 Oct 2008 08:19:49
human face Amiruddin Jemaat 22 Oct 2008 08:19:49
face detection sabri turgay 15 Jun 2010 13:38:25
face detection mahmudul hasan prince 27 May 2011 15:27:49

Contact us at files@mathworks.com