Python Face Recognition Tutorial

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

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

  • @ravikirun6783
    @ravikirun6783 5 лет назад +707

    I got a job because of you brad thanks a ton, also completed many of your udemy courses love from india

    • @TyrellJoanna
      @TyrellJoanna 5 лет назад +7

      best from germany

    • @unchart_d
      @unchart_d 5 лет назад +7

      Great to know that u lend job through online coding bro!

    • @cleancodez
      @cleancodez 5 лет назад +5

      Brad is the best .....

    • @isrj01
      @isrj01 5 лет назад +3

      Same here

    • @sounakbiswas2239
      @sounakbiswas2239 5 лет назад +1

      What job did you get, web developement?

  • @EchoVids2u
    @EchoVids2u 5 лет назад +5

    I teach students how to code at work. You have no idea how much this video helped me with showing cool coding projects for my students. Thank you

  • @qkcb
    @qkcb 5 лет назад +2

    18:38,I suggest use a counter to name the faces,because some faces may have the same top value,so only one of the faces with the the same top value will be stored.
    Hope this helps.
    Great videos, thanks!

  • @ericbashir7275
    @ericbashir7275 5 лет назад +29

    Thank you for this. You're my favorite teacher ever!

  • @chauldinlipenga2524
    @chauldinlipenga2524 4 года назад +4

    Thanks Brad! I believe in your tutorials a lot, they never contain errors for us, I think you put in a lot of effort because it even works for Africa, unlike most tutorials here on RUclips.

  • @infantajay9538
    @infantajay9538 5 лет назад +4

    It's amusing to see how much effort you take to transcend the community that looks up to you!!!!!!!! You're simply amazing

  • @sureshothwarang
    @sureshothwarang 5 лет назад +206

    Do more of this!!! OpenCV please!!! Guys like and comment here for more let's go!!

  • @mhdyousuf3392
    @mhdyousuf3392 5 лет назад

    thanks brad, almost 1 and half years i have been studying from your channel. as a Third year Engineering student , i would say it is the best channel.

  • @RealToughCandy
    @RealToughCandy 5 лет назад +13

    Yes!! Python ROCKS! Nice vid Brad.

  • @mwubahimanaboaz3855
    @mwubahimanaboaz3855 3 года назад

    The Best teacher that i have ever seen! thanks a lot from Rwanda

  • @ts3798
    @ts3798 5 лет назад +3

    Really enjoying the Python tutorials you're putting out. Thank you! Please keep it up!

  • @reddaking7511
    @reddaking7511 5 лет назад +38

    Brad please make a video on live face-recognition using Python.

  • @CD10ANIL
    @CD10ANIL 5 лет назад +2

    I love this tutorial and no doubt the trainer has no match.

  • @jorkhachatryan317
    @jorkhachatryan317 5 лет назад +1

    Great, Brad Thank you, your channel is the best for programming tutorials (for me).Because besides my development path, here I can find other interesting and cool stuff.Thank you one more time.

  • @azeem6665
    @azeem6665 5 лет назад +3

    Great video I'm 11 years and think your tutorials on AI are amazing.I really wanted to make this type of project on python

  • @greenie62
    @greenie62 5 лет назад +24

    "shitload of images" is the reason your our guy! Lol

  • @suisse38
    @suisse38 5 лет назад +6

    Wow, this is AWESOME Brad! Hope you'd consider making a machine learning course in udemy and incorporate this. Simply AWESOME!

  • @maximzhorzh1212
    @maximzhorzh1212 5 лет назад +2

    Great project, Brad! Please publish more real world projects tutorials

  • @danieltiger7856
    @danieltiger7856 4 года назад +1

    Absolutely perfect video for newbie image recognition like me. Thanks a lot

  • @13shiift
    @13shiift 2 года назад +1

    Thank you for the brilliant tutorial. I will definitely be making use of this!

  • @realchrishawkes
    @realchrishawkes 5 лет назад +62

    Ah damn, you did it! lol.

    • @TyraTyra-bz8np
      @TyraTyra-bz8np 5 лет назад

      whahahaha

    • @TraversyMedia
      @TraversyMedia  5 лет назад +9

      Yeah, were you going to do it? Still can. There is plenty I did not cover like all the webcam stuff. Actually I wouldn't mind watching that :)

    • @_ifly
      @_ifly 4 года назад

      @@TraversyMedia we appreciate your effort and looking further.

  • @abhishekchatterjee1328
    @abhishekchatterjee1328 5 лет назад +4

    Thank you Brad sir for the awesome tutorial. Keep them coming. :)

  • @AmmarTaicho
    @AmmarTaicho 5 лет назад +2

    Wow, you do Machine Learning also? You are my hero!!!

    • @AmmarTaicho
      @AmmarTaicho 5 лет назад +1

      @UCjyNiVY4zBwajElRy6Dj-UQ Hmmm, still if there is a part in this processe is ML. It means Traversy used ML. Still my hero!

  • @aneriemmanuel7243
    @aneriemmanuel7243 5 лет назад +1

    Much love Brad... You've really helped my learning phase and I just landed a full-time job as a full-stack JS developer and much thanks go to this channel. Please replicate tutorial in Node.JS. Love you man keep of the great work.

  • @_i.a.m_3664
    @_i.a.m_3664 4 года назад +5

    This is amazing. Thank you so much for the tutorial! :)

  • @setha9818
    @setha9818 4 года назад +5

    Great tutorial and well-paced !
    Question: is it possible to recognise faces with a single image? Shouldn't there be a training process with multiple images of the same person?

  • @Daviejones096
    @Daviejones096 4 года назад +1

    Very nice, informative and well explained tutorial, thank you!

  • @ahgrigor2453
    @ahgrigor2453 4 года назад +12

    I tried to pipenv install face_recognition
    and it gave me an error message

    • @SamirSaifOmer
      @SamirSaifOmer 4 года назад +1

      make sure cmake is installed

    • @code_pilot
      @code_pilot 4 года назад

      @@SamirSaifOmer does this work on windows?

    • @code_pilot
      @code_pilot 4 года назад

      @@SamirSaifOmer when I write pipenv install face_recognition , this error appears ERROR: ERROR: Package installation failed...

    • @SamirSaifOmer
      @SamirSaifOmer 4 года назад

      @@code_pilot look at the end of the error message it will typically says if there is any dependency error

    • @saumyabhandary5590
      @saumyabhandary5590 4 года назад

      same happened to me. usually on windows, you first have to install visual studio for c++.. read the error message carefully.. you will see it. After installing visual studio for c++, then you can proceed to installing cmake by the command "pip install cmake" after cmake is installed.. then finally do "pipenv install face_recognition".. this may work.. it worked on my case ,try that on yours too and please tell me if it works on yours or not.

  • @wickedstrawberry2684
    @wickedstrawberry2684 5 лет назад

    Great to see that you also do stuff like this!

  • @vincent_hall
    @vincent_hall 3 года назад

    This is pretty sweet!
    Thanks, Traversy Media.

  • @agyapongderrick3881
    @agyapongderrick3881 5 лет назад

    Brand thanks for making such crash course...I really like your toturials

  • @regUser123
    @regUser123 5 лет назад +1

    Long awaited. Thanks Brad

  • @katakamkamalakar5710
    @katakamkamalakar5710 5 лет назад

    return [np.array(face_encoder.compute_face_descriptor(face_image, raw_landmark_set, num_jitters)) for raw_landmark_set in raw_landmarks]
    RuntimeError: The full_object_detection must use the iBUG 300W 68 point face landmark style.
    >>> erre for face matching

  • @rocketpie3300
    @rocketpie3300 5 лет назад +4

    Can we integrate a nueral network to recognize elon, bill, steve, etc. Instead of using the labels?

  • @damnfarooq
    @damnfarooq 4 года назад

    The best tutorial explained brilliantly

  • @g.s.3389
    @g.s.3389 5 лет назад +1

    nice, i did the same, but it would be nice if you could add emotion recognition to that simple code, keeping it simple.

  • @jakait59
    @jakait59 5 лет назад

    Your videos are game changers,,,,thanks am learning alot

  • @duyduy5595
    @duyduy5595 7 месяцев назад

    Wish another libraries having such kind of this video tutorial

  • @aayush_karna
    @aayush_karna 5 лет назад +28

    humm what about embedding machine learning into web development course in udemy.....this would be so awesome....By the way love you and may God Bless You and your family.

    • @ariclenesferreira5116
      @ariclenesferreira5116 5 лет назад +2

      there's no god

    • @vincentcastillo1246
      @vincentcastillo1246 5 лет назад

      Aayush Karna you’re crazy

    • @aayush_karna
      @aayush_karna 4 года назад

      @xOr thank you very much i will definitely take a look.....lol my comment got 28 like 😂 and yes god don't exist and I am crazy.

  • @Parth-psp
    @Parth-psp 5 лет назад

    Thank u so much for making this video.
    I was exactly looking for this.

  • @TheAremoh
    @TheAremoh 5 лет назад

    Thank you Brad. A desktop app with python eel or electron with python backend will be awesome.

  • @ritikjaiswal7523
    @ritikjaiswal7523 5 лет назад

    Keep it up sir. Want more videos on these kind of topics.

  • @MrKrishnalovesyou
    @MrKrishnalovesyou 5 лет назад +1

    Great job sir many many thanks ...from India.

  • @dthewave9466
    @dthewave9466 5 лет назад +8

    But... Does it work with puppies?

  • @pratikkumar939
    @pratikkumar939 5 лет назад

    Who the hell disliked this man's video?

  • @drushtant
    @drushtant 4 года назад

    Thanks a lot. It was very helpful and it worked successfully.

  • @HeraldOfTheChange
    @HeraldOfTheChange 5 лет назад +1

    Does the face_recognition module have liveness detection capability? Icant seem to find it in the documentation.

  • @Ramziddin_Rustamovv
    @Ramziddin_Rustamovv 3 года назад +3

    Hi, bro, How can i connect with comera, i am working university system to find studsnts face. Thanks for answer!!

  • @pwlegolas3
    @pwlegolas3 5 лет назад

    Thank you Brad.. I'm definitely gonna try it out myself..

  • @sauravchoudhary2723
    @sauravchoudhary2723 4 года назад

    Thanks bro. It was a good tutorial for face recognition.

  • @Ahmed56580
    @Ahmed56580 2 года назад

    Amazing projects dude!!

  • @kantyDarius
    @kantyDarius 5 лет назад +1

    😱😱Awesome as always!! Can we do the same with JS? TensorflowJS or BrainJS maybe?

  • @MrHamsterbacke756
    @MrHamsterbacke756 5 лет назад +1

    Please make an video about Python GUI development. It's not really covered in RUclips.

  • @killuazoldyck2054
    @killuazoldyck2054 5 лет назад +4

    Can you do emotion recognition?
    thumbs up guys!

    • @flashplayz4551
      @flashplayz4551 4 года назад

      There already is one search on Google.

  • @sikaili99
    @sikaili99 5 лет назад

    Thanks man, such a greater teacher

  • @sandeshtayde1516
    @sandeshtayde1516 4 года назад +1

    I am not able to install the face_recognition library

  • @Nicholas-XXXXXXXX
    @Nicholas-XXXXXXXX 5 лет назад +54

    can i use this to find my dad

    • @vanguardfalcon
      @vanguardfalcon 5 лет назад +5

      oof

    • @abubakarbakhtiar874
      @abubakarbakhtiar874 4 года назад

      If You did find then please update us... It will be a kind of motivation for us. ☺☺☺

    • @abubakarbakhtiar874
      @abubakarbakhtiar874 4 года назад

      @@looiweiheng9301 what does that mean. @Looi Wei Heng

    • @44marek21
      @44marek21 2 года назад

      @@abubakarbakhtiar874 joke eewwe

    • @0verhappy
      @0verhappy 2 года назад

      I don’t think so cause it found a white pic

  • @MystixHalo
    @MystixHalo 5 лет назад +1

    hello? i have a question... what software do you use and how do you install everything

  • @junior_official_ke
    @junior_official_ke 3 года назад

    hello Brad. I'd like to find out how we could store binary images and refer to them for recognition or if at all we need to store images on the same device we're running our facial recognition program so as to conduct verification.

  • @bestmixesonline7744
    @bestmixesonline7744 3 года назад

    great tuturial.
    how can you use this with web scrapping to find picture you have and search facerecognition for photos on the web?

  • @JonWood
    @JonWood 5 лет назад

    Brad, if you had a course on how you make videos, I'd pay hundreds for it!

  • @spacecowboy1482
    @spacecowboy1482 2 года назад

    Brad just called the basketball GOAT unknown 😭😭

  • @ruvienceyfelicia
    @ruvienceyfelicia 4 года назад +1

    Thank you so Much....
    Is this also applied/applicable to videos instead of pictures?

  • @Sirfrigth
    @Sirfrigth 4 года назад

    Hello! This is really helpful! Thank you! Im not very good at programming and the teacher had us to make a face recognition program as the last assignment so I'm clueless on many things! I would like to use this tutorial to start my assignment but we are not allowed to use any machine learning package/module and we cannot use any built-in/ready to use linear regression functions. So I more lost than ever of how to start. Do you have any advice? We have to use an algorithm and not sure how to implement it on python.

  • @Co1dry
    @Co1dry 5 лет назад

    WOW!!! AMAZING COURSE ! THANK YOU

  • @m.junior4726
    @m.junior4726 5 лет назад

    This is awesome! Thank you Brad!

  • @seanbenhur
    @seanbenhur 4 года назад +1

    hello please..I am working on face matching project..in this I have to compare a single image with many other images in database..will this work for it!?

  • @techtechtuts
    @techtechtuts 5 лет назад +2

    Your picture should also be in Known folder :)

  • @JNET_Reloaded
    @JNET_Reloaded 5 лет назад +1

    Beautiful, thanks :d whats the best way to use video and make image from an mp4 video to comapre to a known image / face?

    • @priyahariharan7420
      @priyahariharan7420 4 года назад

      Did you find anything for retrieving images from video and comparing?

    • @JNET_Reloaded
      @JNET_Reloaded 4 года назад

      @maryam i ended up using linux bash script to record 6 secnds of video then extract stills from the 6s video then use python to compare image and then loop till it finds a recognized allowed user to then fire off another script that opens a door . try ffmpeg.

    • @JNET_Reloaded
      @JNET_Reloaded 4 года назад

      @maryam come talk on my site jnet.sytes.net il be waiting in the chat bottom right hand corner.

  • @pxelguyplays
    @pxelguyplays 5 лет назад +1

    This was amazing! Thank you.

  • @zarrougahmed1949
    @zarrougahmed1949 5 лет назад +1

    How do I get the bash terminal I m using Window ? my second question is if I m using mac would I be able to get bash terminal in Vs code.

    • @zarrougahmed1949
      @zarrougahmed1949 5 лет назад

      @Semitex ??

    • @tsohgsshell707
      @tsohgsshell707 4 года назад

      bash is a unix shell and command language. the bash terminal is found on linux and mac operating systems. if you're using a mac, you wouldn't need visual studio to run the bash terminal since it's native to the OS. you also don't need visual studio to code. i don't know much about visual studio and what the differences are between community and paid versions.. but it appears that he's running a bash terminal through visual studio... which is kinda neat, but not necessary. you'd be able to get away with writing this with atom.io and executing in your mac terminal. i was able to follow, step by step, on linux, anyway.

  • @taylorlangley900
    @taylorlangley900 5 лет назад +1

    How can I put this on a Neural Compute stick 2 and use my face to unlock a deadbolt via raspberry pi through a realtime stream camera.

  • @Chiru12343
    @Chiru12343 5 лет назад

    Thank u sir....
    For teaching such a great knowledge..

  • @imretuvi6829
    @imretuvi6829 4 года назад

    Really awesome tutorial! Thanks!

  • @cyb3rhacks636
    @cyb3rhacks636 5 лет назад

    Is it possible to use the internet as the 'database' for the current unknown folder you are using, therefore, running face matches of pictures you have of people that are also seen on the internet. Thus, creating a search engine for for unknown people you have a picture of?

  • @henrylj2660
    @henrylj2660 5 лет назад +1

    Is it possible to make an object orientated recongnition software??

  • @tsedenbaljirerdenetsogt3079
    @tsedenbaljirerdenetsogt3079 5 лет назад +1

    so thx need more detector videos and can u make deep learning videos done ?

  • @Vardhhan
    @Vardhhan 5 лет назад

    Cool... You're an gaint... 😁. Am at intermediate level now ... I will reach you soon 😊

  • @ericnguyen6517
    @ericnguyen6517 4 года назад

    What is the editor/IDE that you use,and is there one for Windows? Thanks for great video series and Udemy courses too.

    • @_ifly
      @_ifly 4 года назад

      bro he already told VSCode it's one of the famous IDE you can download it's free

  • @thecrazyinventor6909
    @thecrazyinventor6909 4 года назад +2

    i kept getting an error trying to download the face_recognition what should i do now ?

    • @_ifly
      @_ifly 4 года назад

      same here did you find any solution?

    • @thecrazyinventor6909
      @thecrazyinventor6909 4 года назад

      @@_ifly download c++ and if that dont work see what error msg pops up then see if you can correct anything you missed

  • @VidyaSagar-hc9nu
    @VidyaSagar-hc9nu 5 лет назад

    thanks a lot 😍😍😍
    u saved my time

  • @vic_dpewang9079
    @vic_dpewang9079 5 лет назад +1

    how to setup the dlib in the virtual shell? the installation of face_recognition always failed

    • @10fersen
      @10fersen 5 лет назад

      I have the same problem..

    • @_ifly
      @_ifly 4 года назад

      same problem here did you solve it.

  • @taranpreet4374
    @taranpreet4374 3 года назад

    In 17:39 it loads Only one image... Please help 🙏🙏

  • @osamaakhtar6525
    @osamaakhtar6525 5 лет назад +1

    guys im extremely new to visual studio and python i have never loaded an image im getting an error loading image file it says no file or directory

  • @igormarcosvs
    @igormarcosvs 5 лет назад

    Awesome, please do the same kind of video with javascript. IA in javascript is increasing and there are a bunch of new libs in that field

  • @hongyouwong7964
    @hongyouwong7964 5 лет назад +2

    Hi, may I have the source code for this? And every related file? Thanks. I want to make a facial recognition project for my own uses.

  • @nilaventhiranvespanathan5637
    @nilaventhiranvespanathan5637 5 лет назад +2

    my installation failed on pipenv install face_recognition pls help

    • @_ifly
      @_ifly 4 года назад

      did you had to solve your problem?

  • @user-or7ji5hv8y
    @user-or7ji5hv8y 4 года назад

    Is img directory and its contents something we create ourselves and is not automatic when install facial_recognition?

  • @tsohgsshell707
    @tsohgsshell707 4 года назад

    This worked great! I'd watched a few other videos but couldn't get them to work ... presuming that cv2 was the problem; I got segmentation faults after running their code:
    QObject::moveToThread: Current thread (0x9663790) is not the object's thread (0x8fc73d0).
    Cannot move to target thread (0x9663790)
    Segmentation fault (core dumped)
    The difference between your code and theirs is that you use pillow instead of cv2. Can you do another face_recognition video on detecting faces in videos and via webcam? There are a few out there but I couldn't find one that uses pillow instead of cv2; I'd tried the code from these videos, regardless... but as I predicted, still ended up with pretty much the same segmentation faults.

  • @anirudhrodda8268
    @anirudhrodda8268 4 года назад

    sir i am working face detection project , in that how do i save only one image of a person when it gives us multiple images of same person as in your dataset

  • @Unknown-qd5jn
    @Unknown-qd5jn 2 года назад

    Would you make an updated version of this video please?

  • @charbelsarkis3567
    @charbelsarkis3567 5 лет назад +1

    Are you using the FiraCode font.

  • @codito7388
    @codito7388 5 лет назад

    Traversy media has to loves:Python and Javascript!I would like to make a tu of how to show automatically the current location of o place and of course the weather.I saw your weather api tut but how we can make it sow automatically the current place and generally current data.I hope that you understand what i mean.

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

    Hi @Travis Media,
    I was following along your tutorial, it was great, but I encountered an error. `textsize` has been depreciated, I have been looking to solve this problem with `textlenght` but another error comes up. Any advice?
    Many Thanks!

  • @MaulikPadamani
    @MaulikPadamani 5 лет назад

    Great effort brad

  • @williammoses2964
    @williammoses2964 5 лет назад

    will this code works for beard images ?if the data set is trained without the beard and if the test image is given as with beard

  • @daksh_sagar
    @daksh_sagar 5 лет назад

    When is the update to the MERN Stack course coming out ?

  • @seyed_mahdi
    @seyed_mahdi 4 года назад

    you use vs code?
    so how you install dlib and face_reconition modules?
    please help me ...

  • @SahaParikshit
    @SahaParikshit 3 года назад

    how can i advance this library to detect live faces only? People present in front of the camera will be detected but not images of the same people.

  • @calidacharles6199
    @calidacharles6199 5 лет назад

    Hi, when I enter face_recognition ./known_people ./unknown_pictures command, it gives a syntax error. Is there any way that I can fix this?