Code covered by the BSD License  

Highlights from
face detection using skin color

2.66667
2.7 | 3 ratings Rate this file 49 Downloads (last 30 days) File Size: 1.37 KB File ID: #26849
image thumbnail

face detection using skin color

by

Faizan (view profile)

 

this program detect the face in the image on the basis of skin color

| Watch this File

File Information
Description

In this program RGB image is converted to L*a*b color space.Green & purple mode of this color space are chosen & then convert them into binary.AND operation is performed on the images so a matrix is obtained having 1 & 0.One(1) indicate the presence of face.

MATLAB release MATLAB 7.9 (R2009b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (11)
01 May 2014 mohd

mohd (view profile)

 
22 May 2012 selim

selim (view profile)

i'm getting the error 'Undefined function or method 'skin' for input arguments of type 'char'.'

how can i solve this problem? thanks in advance.

Comment only
24 Feb 2012 nausheen

i want to detect hand how can i modify this code?? please tell

Comment only
03 Sep 2011 Suree yatho

an image return to RGB after face detect ??

Comment only
31 Jan 2011 Faisal

Faisal (view profile)

Hi,
First i would really appreciate the hard work that you made. But this approach fails for african ethnic people. I tried to extract skin for african people with different skin values. But unfortunately it fails.

09 Jan 2011 raza raza

i want to detect human body how? with skin color how

Comment only
09 Nov 2010 adad

adad (view profile)

Hi,

what does this portion doing. Why for k=3:4:s2-1?

[s1 s2]=size(BB2);
mx=0;
for k=3:4:s2-1
p=BB2(1,k)*BB2(1,k+1);
if p>mx & (BB2(1,k)/BB2(1,k+1))<1.8
mx=p;
j=k;
end
end

Thanks in advance.

Comment only
26 Jun 2010 carrisa putri

could you please tell me step by step about this???

Comment only
03 May 2010 Alireza Saberi

on a new test I have bald person, top of square appeared above the eyebrow

Comment only
03 May 2010 Alireza Saberi

I have some fail result when the background color is close to face color and in the case that chest of person is in the image and then it will be in the final frame

Comment only
03 May 2010 Alireza Saberi

simple and almost fast. :)

Contact us