1

I need to make an app that tells if the only face in a certain picture is that of a man or a woman It would be better if it was done using python. Any suggestions are welcome

Sushruth Siv
  • 45
  • 1
  • 8
  • 2
    That's almost impossible because sometimes even human can't perfectly determine whether there's a man or a woman in front of him! – Eddy_Em Aug 29 '13 at 10:15
  • Have a look at Defcon 18 - Facial Recognition: Facts, Fiction, and Fsck-ups https://www.youtube.com/watch?v=q4CrD_zfP08 for facial detection/tracking/recognition issue – Édouard Lopez Aug 29 '13 at 10:20

1 Answers1

3

I think this will solve your problem. Gender detection is what you need to do. Recently I have done gender detection using the below link and got a decent accuracy. Follow the link step by step.

http://docs.opencv.org/trunk/modules/contrib/doc/facerec/tutorial/facerec_gender_classification.html

And there is a C++ code in the above link for Face-recognizer which does this. You can get the equivalent python API's in opencv documentation.

This SO Answer has few more links and information.

Community
  • 1
  • 1
user2727765
  • 616
  • 1
  • 12
  • 28