Hello can anyone solve this face detection question?

4 visualizzazioni (ultimi 30 giorni)
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 Commento
Geoff Hayes
Geoff Hayes il 13 Giu 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.

Accedi per commentare.

Risposte (1)

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

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by