how to apply vision function

1 view (last 30 days)
reema
reema on 1 Jun 2014
Commented: reema on 6 Jun 2014
i have a problem me want when face detect on the bases of skin color only face is in frame mee want to use vision function(Viola-Jones Algorithm). but am unable to do this i want to use vision function behaind the detetion buttion and only face is detected. see the image i hope understand my problem well
see in this image on detection part in 6th axes frame is on neck also ..me want only frame on face just using vision function ..can any one help me??? mee using matlab r2013a

Accepted Answer

Image Analyst
Image Analyst on 1 Jun 2014
Try using imclose() to join small gaps. Then take the largest blob. If the neck is separated from the face, the face will be larger and you will extract only the face. bwconvhull() may also be of interest to you. See my attached demo for taking the N largest or smallest blobs.
  9 Comments
Image Analyst
Image Analyst on 5 Jun 2014
OK, let's end this thread . I don't want to keep answering the same thing in two different threads.
reema
reema on 6 Jun 2014
okay sir me remove this one

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!