Machine Learning for Facial Recognition in Python in 60 Seconds

Поділитися
Вставка
  • Опубліковано 30 вер 2024
  • In this video we use Mediapipe to run a Machine Learning for Facial Recognition in Python.#python
    machinelearning #ai #datascience #python #coding

КОМЕНТАРІ • 120

  • @alext5497
    @alext5497 Рік тому +314

    Lib does all the work. We take all the credit.

    • @robmulla
      @robmulla  Рік тому +34

      True

    • @HB-kl5ik
      @HB-kl5ik Рік тому +1

      I got this video recommended after 10 videos of "How can you earn $5000 per day using chatGPT, chatGPT is craaaziest AI technology and you need to ask it 'How to write a UA-cam Script for..'" I'm not complaining 🙂

    • @JimMaz
      @JimMaz Рік тому +53

      No need to reinvent the wheel.
      As technology evolves, this will only escalate. You can't be an expert on every subject.

    • @HB-kl5ik
      @HB-kl5ik Рік тому +17

      @@JimMaz we live in a world of abstractions for sure

    • @anerdtravels
      @anerdtravels Рік тому +5

      @@JimMaz Whilst I agree, the more external libraries we rely on the more chance we have for another log4j incident

  • @razzakahmad8731
    @razzakahmad8731 Рік тому +62

    So many libraries can do this but honestly I always feel more motivated when it is done from scratch like using transfer learning.

    • @robmulla
      @robmulla  Рік тому +9

      Yea, fine tuning models can be fun, but you need labeled data which is expensive.

    • @JohnWalz97
      @JohnWalz97 Рік тому +2

      Yeah but like that’s not from scratch lol

  • @tophat593
    @tophat593 Рік тому +94

    Using a library like that, you may as well open an app on your phone.

    • @robmulla
      @robmulla  Рік тому +15

      That's why I love python. 😅

    • @LeoAr37
      @LeoAr37 Рік тому +6

      The difference is you can do with this whatever you want next, not just a result

  • @aaryanmohananitv
    @aaryanmohananitv 2 місяці тому +1

    I actually want to this in my final year project. Can i get the code? Please?

  • @sivalingeswaranv9159
    @sivalingeswaranv9159 Рік тому +3

    Can I get Source code 🤔

  • @alexxander6326
    @alexxander6326 Рік тому +6

    Please can you make a full video on this

  • @anatoliypotapchuk8174
    @anatoliypotapchuk8174 Рік тому +21

    Isn't it face detection(find a face on the image), not face recognition?(recognize one face among others)

    • @robmulla
      @robmulla  Рік тому +5

      True! Check out my full UA-cam video on deepface for true face recognition.

  • @hiteshdhawan1
    @hiteshdhawan1 20 днів тому

    Can we map faces to respective categories based on common traits or patterns? Then set a criteria based on which I can filter certain type of faces ?

  • @ismailhosenjames
    @ismailhosenjames Рік тому +2

    I will get face encoding only...
    Am I right?
    But I can't recognize with this.

    • @robmulla
      @robmulla  Рік тому +1

      True. It’s recognizes faces within a camera but not who the face is of.

  • @yehiaibrahim1381
    @yehiaibrahim1381 Рік тому +2

    Hi, i want to build a device that uses image recognition API to help the blind for my school project and idk how to start can you help me ?

    • @robmulla
      @robmulla  Рік тому

      That sounds like an interesting project. Check out some of my other videos on the topic, hopefully they will help you get started.

  • @codex1758
    @codex1758 Рік тому +4

    could i use this for authentication ?

    • @robmulla
      @robmulla  Рік тому

      Probably not good enough for that.

  • @i_zoru
    @i_zoru 2 місяці тому

    3d face track ? does it require GPU to proess ?

  • @Chilunem
    @Chilunem 7 днів тому

    Is they need a full video 😭😭😭

  • @jacakopl
    @jacakopl Рік тому +1

    In frikkin 5 sec bunch of code just magically appeared 😂. Bs click bait

    • @robmulla
      @robmulla  Рік тому

      sorry you feel that way. Just intended to show what's possible. I don't explain everything in 60 seconds!

  • @SQKmedia
    @SQKmedia 10 місяців тому +2

    can you expand on this and also teach us how to get mediapipe to recognize facial expressions realtime?

  • @gabrudude3
    @gabrudude3 Рік тому +2

    Thanks for sharing. Can the same library be used for full-body 3D mesh as well? For example, if I rotate a camera around 6' tall person and take 120 pictures vs using this library to create that mesh easily?
    One more question, what type of camera you used? Do you need LiDAR sensor or just a regular camera to get depth or photogrammetry?

    • @robmulla
      @robmulla  Рік тому

      I think you are asking about pose estimation? There are a few libraries that can do that like openpose and mediapipe. This is just a normal webcam, no LiDAR!

    • @gabrudude3
      @gabrudude3 Рік тому

      Thanks for the response and pointers. I’ll look into those libraries.

  • @pchikopchiko1885
    @pchikopchiko1885 Місяць тому

    Score code please ❤

  • @rishabhtripathi4112
    @rishabhtripathi4112 4 місяці тому

    Source code please

  • @jangrygiel9934
    @jangrygiel9934 2 місяці тому

    What is that IDE?

  • @RealHigherLevel
    @RealHigherLevel Рік тому +2

    Rob what software you using in the video to demonstrate how it works?

    • @robmulla
      @robmulla  Рік тому

      Check out my youtube page for a longer video on deepface.

    • @RealHigherLevel
      @RealHigherLevel Рік тому

      @@robmulla thanks 👍

  • @junkynioy
    @junkynioy Рік тому +1

    I can finally make my own vtubing software 🤡

  • @santhnu
    @santhnu Рік тому

    Wanted to see if I would be able to take up Machine Learning/Python from being a Web Developer all these years....decided not to after reading the code written in this video (no offense to @robmulla)...just not my cup of tea, thank you.

  • @paul1panter2
    @paul1panter2 Рік тому +2

    Hi. Can you make a Video how to train a AI so it can identify a face?

    • @robmulla
      @robmulla  Рік тому

      I have a video about it on my channel! DeepFace

  • @nathansuarez5543
    @nathansuarez5543 Рік тому +1

    How to extract the face that has been detected in real-time?

    • @ahsenkhan3255
      @ahsenkhan3255 Рік тому

      can you find the solution? Because i want to detect persons from video with their names.

  • @theKevatron
    @theKevatron 7 місяців тому

    z

  • @tilakraj3082
    @tilakraj3082 Рік тому +1

    I made a face recognition but it hangs after running for 10-20 seconds.....any ways to make it run faster ?

    • @robmulla
      @robmulla  Рік тому

      Are you using a GPU? If not you might need to invest in one.

    • @abidson690
      @abidson690 8 місяців тому

      ​@@robmullais Kaggle GPU enough to solve his problem

  • @zackadam2598
    @zackadam2598 Рік тому +4

    great short!

  • @atrangi_manav
    @atrangi_manav 7 місяців тому

    CAN YOU PLS SEND ME THE WEBSITE LINK

  • @rqvage4756
    @rqvage4756 11 місяців тому

    I really love the idea, but I would greatly prefer if I myself made the algorithms. Though I feel like this a good starting point for facial recognition ML.

  • @Wineblood
    @Wineblood Рік тому +1

    Please not aliased imports

  • @spll4346
    @spll4346 8 місяців тому

    can this also work on existing footage aswell? instead of webcam footage

  • @adhi_yustisio
    @adhi_yustisio Рік тому +2

    what IDE do you use?

  • @anonymosly
    @anonymosly Рік тому +1

    pls share code

    • @robmulla
      @robmulla  Рік тому

      github.com/googlesamples/mediapipe/blob/main/examples/face_detector/python/face_detector.ipynb

  • @draculadrac9566
    @draculadrac9566 Рік тому +1

    Can you do a realtime shape detection with codes?

    • @robmulla
      @robmulla  Рік тому

      You would just need to train the detector on example images of the shapes, but yes it is possible.

  • @udaykumarrcse2450
    @udaykumarrcse2450 Рік тому +2

    Nice sir

  • @animania4074
    @animania4074 5 місяців тому

    Its no running nor showing any error

  • @MindWhisperer
    @MindWhisperer Рік тому +1

    hey bro whats, IDE you use ?

    • @sfincione2000
      @sfincione2000 Рік тому +1

      He's using a Jupiter Notebook to write the code. It allows you to write code, put some docs in between and then run individual blocks or the whole program if you need to.

    • @MindWhisperer
      @MindWhisperer Рік тому

      Thanks! ​ @sfincione2000. Im gonna try this.

  • @shanksshaki
    @shanksshaki 7 місяців тому

    How start for beginners ?

  • @WWG1-WGA
    @WWG1-WGA Рік тому +1

    Now we can clone you and you wouldn’t know

    • @robmulla
      @robmulla  Рік тому +1

      I would know though…. Or would I?

    • @WWG1-WGA
      @WWG1-WGA Рік тому

      @@robmulla keep in mind birth marks. They don’t copy them .

  • @momsspaghetti21
    @momsspaghetti21 7 місяців тому

    How to use this in game

  • @TauGeneration
    @TauGeneration Рік тому +1

    i wonder if it can be used to identify someone

    • @robmulla
      @robmulla  Рік тому

      Check out my full video on deepface. It's possible but the open source models are pretty bad at it.

    • @TauGeneration
      @TauGeneration Рік тому

      @@robmulla goddamn it. thanks

  • @anyb5020
    @anyb5020 Рік тому +1

    Ban facial recognition!!!!

  • @shafaitahir4728
    @shafaitahir4728 Рік тому

    but how to save the points then train and load?

  • @priyasamanta8805
    @priyasamanta8805 10 місяців тому

    Whats the code?

  • @jiyanshsonofdr.rajesh8516
    @jiyanshsonofdr.rajesh8516 Рік тому +2

    Great work

  • @PhilipDenys
    @PhilipDenys Рік тому +1

    Wow

  • @goktrenks
    @goktrenks 2 роки тому +1

    Interesting

  • @charlessilva5005
    @charlessilva5005 Рік тому

    Pls can I get the source code?

  • @lee7265
    @lee7265 Рік тому +1

    software name

    • @robmulla
      @robmulla  Рік тому

      mediapipe is a python package.

  • @mak2033y
    @mak2033y 2 роки тому +1

    Great

  • @luisramon783
    @luisramon783 Рік тому

    How much you make a year as a ML

  • @jack-bx1xh
    @jack-bx1xh Рік тому

    0:00

  • @udaykumarrcse2450
    @udaykumarrcse2450 Рік тому

    I want face Emotion detection for song recommendation

    • @robmulla
      @robmulla  Рік тому +1

      Check this out. It has a model for emotion but I can't vouch for how well it works: github.com/serengil/deepface

    • @udaykumarrcse2450
      @udaykumarrcse2450 Рік тому

      Tq sir

  • @sfincione2000
    @sfincione2000 Рік тому

    60 seconds eh? Riiiiight

  • @jasonnn12
    @jasonnn12 2 роки тому

    Is that face detection only and not recognition?

    • @robmulla
      @robmulla  2 роки тому +1

      Good point. It’s recognizes a face but doesn’t match with a specific person.

    • @ismailhosenjames
      @ismailhosenjames Рік тому

      I will get face encoding only...
      Am I right?

  • @gustavojuantorena
    @gustavojuantorena 2 роки тому +1

    Great! 😃

    • @robmulla
      @robmulla  2 роки тому +1

      Thanks! 😃

    • @dailymemeez
      @dailymemeez 9 місяців тому +1

      ​@@robmullai am coming to your house.
      Check your front porch:)

  • @curlycap07
    @curlycap07 Рік тому +1

    Sir please can we get source code

  • @otkurbeck4795
    @otkurbeck4795 2 роки тому +2

    Source code plz

    • @robmulla
      @robmulla  2 роки тому

      Try googling mediapipe facemesh that’s where I found the source code.

  • @benjaminbilgehan
    @benjaminbilgehan Рік тому +1

    i thought that you are a doctor 😂

    • @robmulla
      @robmulla  Рік тому

      Haha. Oh yea? Why is that?

    • @CodX710
      @CodX710 Рік тому

      ​@@robmullathe kind of clothes you wear

    • @robmulla
      @robmulla  Рік тому

      @@CodX710 LOL. Ok

  • @Reemo3
    @Reemo3 Рік тому

    This is copying someone else’s code. Lame

    • @robmulla
      @robmulla  Рік тому +2

      That is how software engineering works. Shoulders of giants. Making something interesting is the hard part.