Hello can anyone solve this face detection question?

1 view (last 30 days)
helllo every one please tell me why we use Y=255.0*(Y-minY)./(maxY-minY); and why we convert the image in to ycbcr model in the code given over this
and in the result we didn't get the number of face
  1 Comment
Geoff Hayes
Geoff Hayes on 13 Jun 2014
You may want to re-read the header comments in that file and check out the paper that it references ("A simple and accurate face detection algorithm in complex background").
Stepping through the code at these particular lines may also reveal why these actions are happening and their effects on the image.

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 13 Jun 2014
A key clue is the author's comment in his code:
% Notes: This algorithm is very primitive and doesn't work in real life.
The code basically depends on hard coded thresholds that probably worked okay for the images that the author had on hand, but might not work well for your image(s).
  2 Comments
Image Analyst
Image Analyst on 14 Jun 2014
Sorry, I don't have any face detection code to turn over to you.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!