Hello can anyone solve this face detection question?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentar
Geoff Hayes
am 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.
Antworten (1)
Image Analyst
am 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 Kommentare
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!