Hello can anyone solve this face detection question?

1 次查看(过去 30 天)
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 个评论
Geoff Hayes
Geoff Hayes 2014-6-13
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.

请先登录,再进行评论。

回答(1 个)

Image Analyst
Image Analyst 2014-6-13
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 个评论
asthana
asthana 2014-6-14
then please give me a simple code for face detection that i can understand and can run successfully
Image Analyst
Image Analyst 2014-6-14
Sorry, I don't have any face detection code to turn over to you.

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by