Hello can anyone solve this face detection question?
1 view (last 30 days)
Show older comments
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
link http://www.mathworks.in/matlabcentral/fileexchange/23382-simple-face-detection/content/detect_face.m
and in the result we didn't get the number of face
1 Comment
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.
Answers (1)
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
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!