Age & Gender Prediction with DeepFace in Python

Поделиться
HTML-код
  • Опубликовано: 25 окт 2024

Комментарии • 45

  • @sefiks
    @sefiks Год назад +49

    Hey 👋 I'm the creator of DeepFace. Thank you for sharing this to the community 🙏

  • @marcelberzeki6369
    @marcelberzeki6369 11 месяцев назад +1

    Hello, where did you get the models ? As the ones I found are empty. Thanks in advance.

  • @harshplayz31882
    @harshplayz31882 Год назад +5

    I checked out my age.
    It is very accurate

    • @srivathsatantry8535
      @srivathsatantry8535 Год назад

      Bro how did you tested it

    • @srivathsatantry8535
      @srivathsatantry8535 Год назад

      Could you please guide me in the program execution

    • @ScxveVe
      @ScxveVe 11 месяцев назад

      @@srivathsatantry8535 what is your problem?

    • @joemcdermott1213
      @joemcdermott1213 11 месяцев назад

      I'd disagree, it probably got yours correct by partly random chance. Try testing a couple of selfies of yourself that are from a few days/weeks/minutes apart. This helps control the variables of facial structure and unique characteristics, and should also control for lighting and photo quality if you take pics consistently. When I tried that, it varied by 8 years. Unless my biological age rapidly goes up or down by years in the span of days, it's safe to conclude this tool is not reliable.

  • @rennisdodman8739
    @rennisdodman8739 Год назад +4

    They just recently arrested a high school student for saying theres only 2 genders🤣🤣

  • @BOHICAMAN1
    @BOHICAMAN1 3 месяца назад

    Ok, followed all the directions exactly and have re-checked all coding. All the installed files said they were successful installed. However, when program runs, I get a bunch of errors. one of which is, "ValueError: Face could not be detected in numpy array.Please confirm that the picture is a face photo or consider to set enforce_detection param to False." All four faces I put in the "faces" folder are valid faces in .jpg format.

  • @mmsegura
    @mmsegura Год назад

    Hey man i'm kind of curious on how you make your videos, do you know what you're typing out before you make the video and during the video you provide clarity and reasoning for the code? Or do you just raw-dog it like a straight G

  • @DJPapzin
    @DJPapzin 11 месяцев назад

    Great tutorial, learnt alot

  • @KaitoKuroyuki
    @KaitoKuroyuki Год назад

    help i allways get this kind of problem cv::findDecoder imread_('foto/ai.jpg'): can't open/read file: check file path/integrity
    Traceback (most recent call last):
    how to make deep face can read image from my folder?, i tried differnt ways to do it but result allways same, please help me

  • @minhajhossain337
    @minhajhossain337 Год назад

    Awesome bro...Thanks 👍👍

  • @ushamathima7903
    @ushamathima7903 Год назад

    Which software are u using

  • @maikelkat1726
    @maikelkat1726 10 месяцев назад

    He, how can we see the probabilities of man or woman?

  • @tigerbojiteol
    @tigerbojiteol Год назад +13

    Does this identify genders like non-binary, two-sprited, or whatever gibberish kind too? 😂

  • @killkostll2455
    @killkostll2455 Год назад

    i have a problem
    i tried your first code but i had a problem
    raise JSONDecodeError("Expecting value", s, err.value) from None
    json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
    help please

  • @aipoweraipower949
    @aipoweraipower949 Год назад +1

    Vielleicht kannst du ein Video darüber machen, wie du deinen code planst? Von der Idee bis zum code. Grüß!

  • @freepythoncode
    @freepythoncode Год назад

    Thank you so much 😍

  • @srivathsatantry8535
    @srivathsatantry8535 Год назад

    Sir after trying the steps you told in this video I'm getting 5 errors.

  • @gdevaprasad2591
    @gdevaprasad2591 8 месяцев назад

    Does deepface require graphics card

  • @JK-jt3lr
    @JK-jt3lr Год назад +2

    Nice video. I tried to test the algorithm a bit by making it analyze people from Uzbekistan. That gave some rather hilarious results.

  • @baudysdev
    @baudysdev Год назад

    Love this content

  • @srivathsatantry8535
    @srivathsatantry8535 Год назад

    So could you please tell me how to fix those errors. If you could plzz send me the source code then it would be very good sir please

  • @powerhead
    @powerhead Год назад

    Great tutorial. Seems those models works horrible on children photo

  • @khandoor7228
    @khandoor7228 Год назад

    awesome channel!

  • @MattDvc
    @MattDvc Год назад +3

    DeepFace thinks Ariana Grande is a Man 🤣

  • @joemcdermott1213
    @joemcdermott1213 11 месяцев назад

    Pretty sure DeepFace is awfully unreliable. I gave this a shot for fun and for an objective test I used the same person taken at relatively the same time. Selfie from myself separated by a few months varies by 8 years, two selfies taken within seconds of each other at relatively same angle and light varies by 6 years. For men it tended to guess an age lower than reality, but for women, about 10 years above over 70% of the time. Also seemed to be less certain if a girl was a girl or not, sometimes making surprising errors, whereas for men it was gave 99.9% certainty of the correct answer. FWIW, just tried it in default settings instead of playing with models. I'm curious what the reasons for this variation would be - is this likely due to insufficient training in the DeepFace model? My guess is it trained well with a set of images that were balanced in being more easy to distinguish than reality, and if given a huge sample size to test it probably does relatively well, yet still is strikingly far off from normal human classification ability. Though perhaps it does better on some certain face pictures that humans are poor at, IDK.

  • @philtoa334
    @philtoa334 Год назад

    Thx_.

  • @betapacket
    @betapacket Год назад

    7th

  • @HandyAndyG
    @HandyAndyG Год назад +7

    This video will get reported for calling Emma a man instead of her preferred pronoun of "they/them".

    • @RomaRapoport
      @RomaRapoport Год назад

      the algorithm tries to predict a gender, which has only 2 options, its not preference, its not pronounce, and its not feelings, or any other psychiatric disorder, its biological gender

    • @joemcdermott1213
      @joemcdermott1213 11 месяцев назад

      I think that's the reason they removed microsoft's face age website. It seemed more accurate than this for age and sex, which for some people is unwelcome.

  • @ZerothAmendment
    @ZerothAmendment Год назад

    Poor Emma being listed as a man 😝