Python Face Recognition Tutorial

  Рет қаралды 623,317

Traversy Media

Traversy Media

5 жыл бұрын

In this video we will be using the Python Face Recognition library to do a few things
Sponsor: DevMountain Bootcamp
goo.gl/6q0dEa
Examples & Docs:
github.com/bradtraversy/face_...
github.com/ageitgey/face_reco...
💖 Become a Patron: Show support & get perks!
/ traversymedia
Website & Udemy Courses
www.traversymedia.com
Follow Traversy Media:
/ traversymedia
/ traversymedia
/ traversymedia

Пікірлер: 392
@ravikirun6783
@ravikirun6783 5 жыл бұрын
I got a job because of you brad thanks a ton, also completed many of your udemy courses love from india
@TyrellJoanna
@TyrellJoanna 5 жыл бұрын
best from germany
@DailyIntern
@DailyIntern 5 жыл бұрын
Great to know that u lend job through online coding bro!
@cleancodez
@cleancodez 5 жыл бұрын
Brad is the best .....
@isrj01
@isrj01 5 жыл бұрын
Same here
@sounakbiswas2239
@sounakbiswas2239 5 жыл бұрын
What job did you get, web developement?
@EchoVids2u
@EchoVids2u 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
@chauldinlipenga2524
@chauldinlipenga2524 3 жыл бұрын
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 KZbin.
@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.
@ericbashir7275
@ericbashir7275 5 жыл бұрын
Thank you for this. You're my favorite teacher ever!
@qkcb
@qkcb 5 жыл бұрын
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!
@jorkhachatryan317
@jorkhachatryan317 5 жыл бұрын
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.
@ts3798
@ts3798 5 жыл бұрын
Really enjoying the Python tutorials you're putting out. Thank you! Please keep it up!
@RealToughCandy
@RealToughCandy 5 жыл бұрын
Yes!! Python ROCKS! Nice vid Brad.
@infantajay9538
@infantajay9538 5 жыл бұрын
It's amusing to see how much effort you take to transcend the community that looks up to you!!!!!!!! You're simply amazing
@suisse38
@suisse38 5 жыл бұрын
Wow, this is AWESOME Brad! Hope you'd consider making a machine learning course in udemy and incorporate this. Simply AWESOME!
@abhishekchatterjee1328
@abhishekchatterjee1328 5 жыл бұрын
Thank you Brad sir for the awesome tutorial. Keep them coming. :)
@CD10ANIL
@CD10ANIL 4 жыл бұрын
I love this tutorial and no doubt the trainer has no match.
@danieltiger7856
@danieltiger7856 3 жыл бұрын
Absolutely perfect video for newbie image recognition like me. Thanks a lot
@mwubahimanaboaz3855
@mwubahimanaboaz3855 3 жыл бұрын
The Best teacher that i have ever seen! thanks a lot from Rwanda
@_i.a.m_3664
@_i.a.m_3664 4 жыл бұрын
This is amazing. Thank you so much for the tutorial! :)
@sureshothwarang
@sureshothwarang 5 жыл бұрын
Do more of this!!! OpenCV please!!! Guys like and comment here for more let's go!!
@oudarjyasensarma4199
@oudarjyasensarma4199 5 жыл бұрын
yes opencv
@bhupendrasinghgurjar6051
@bhupendrasinghgurjar6051 5 жыл бұрын
Yes, More on OpenCV
@danielrojas2083
@danielrojas2083 5 жыл бұрын
Yes :)
@wickedstrawberry2684
@wickedstrawberry2684 5 жыл бұрын
Great to see that you also do stuff like this!
@maximzhorzh1212
@maximzhorzh1212 5 жыл бұрын
Great project, Brad! Please publish more real world projects tutorials
@agyapongderrick3881
@agyapongderrick3881 5 жыл бұрын
Brand thanks for making such crash course...I really like your toturials
@13shiift
@13shiift 2 жыл бұрын
Thank you for the brilliant tutorial. I will definitely be making use of this!
@Daviejones096
@Daviejones096 3 жыл бұрын
Very nice, informative and well explained tutorial, thank you!
@regUser123
@regUser123 5 жыл бұрын
Long awaited. Thanks Brad
@Parth-psp
@Parth-psp 4 жыл бұрын
Thank u so much for making this video. I was exactly looking for this.
@vincent_hall
@vincent_hall 3 жыл бұрын
This is pretty sweet! Thanks, Traversy Media.
@farooqkhan1398
@farooqkhan1398 4 жыл бұрын
The best tutorial explained brilliantly
@Co1dry
@Co1dry 4 жыл бұрын
WOW!!! AMAZING COURSE ! THANK YOU
@ritikjaiswal7523
@ritikjaiswal7523 5 жыл бұрын
Keep it up sir. Want more videos on these kind of topics.
@m.junior4726
@m.junior4726 5 жыл бұрын
This is awesome! Thank you Brad!
@michealjakait59
@michealjakait59 5 жыл бұрын
Your videos are game changers,,,,thanks am learning alot
@pwlegolas3
@pwlegolas3 5 жыл бұрын
Thank you Brad.. I'm definitely gonna try it out myself..
@TheAremoh
@TheAremoh 5 жыл бұрын
Thank you Brad. A desktop app with python eel or electron with python backend will be awesome.
@aneriemmanuel7243
@aneriemmanuel7243 5 жыл бұрын
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.
@MrKrishnalovesyou
@MrKrishnalovesyou 5 жыл бұрын
Great job sir many many thanks ...from India.
@sikaili99
@sikaili99 5 жыл бұрын
Thanks man, such a greater teacher
@pxelguyplays
@pxelguyplays 5 жыл бұрын
This was amazing! Thank you.
@Ahmed56580
@Ahmed56580 Жыл бұрын
Amazing projects dude!!
@imretuvi6829
@imretuvi6829 4 жыл бұрын
Really awesome tutorial! Thanks!
@hnl0304
@hnl0304 5 жыл бұрын
Thank u sir.... For teaching such a great knowledge..
@sauravchoudhary2723
@sauravchoudhary2723 4 жыл бұрын
Thanks bro. It was a good tutorial for face recognition.
@azeem6665
@azeem6665 4 жыл бұрын
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
@user-kj4be3mj3n
@user-kj4be3mj3n 4 жыл бұрын
Nice, I'm too! (Hello from Russia)
@ram1879
@ram1879 3 жыл бұрын
Excellent tutorial!! Thank you
@drushtant
@drushtant 3 жыл бұрын
Thanks a lot. It was very helpful and it worked successfully.
@rocketpie3300
@rocketpie3300 4 жыл бұрын
Can we integrate a nueral network to recognize elon, bill, steve, etc. Instead of using the labels?
@setha9818
@setha9818 3 жыл бұрын
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?
@cristianivanvaldezsolis5160
@cristianivanvaldezsolis5160 2 жыл бұрын
x2
@MaulikPadamani
@MaulikPadamani 5 жыл бұрын
Great effort brad
@reddaking7511
@reddaking7511 5 жыл бұрын
Brad please make a video on live face-recognition using Python.
@jutsuuchiha3858
@jutsuuchiha3858 4 жыл бұрын
Its ec
@TheSk8diego
@TheSk8diego 3 жыл бұрын
got anything like this?
@jutsuuchiha3858
@jutsuuchiha3858 3 жыл бұрын
@@TheSk8diego if we train the model it can detect live time
@jutsuuchiha3858
@jutsuuchiha3858 3 жыл бұрын
@maryam you can do it
@jutsuuchiha3858
@jutsuuchiha3858 3 жыл бұрын
@maryam mazeen1998@outlook.com mail me if u haven't sorted it out yet
@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.
@edwinm.6642
@edwinm.6642 4 жыл бұрын
Does the face_recognition module have liveness detection capability? Icant seem to find it in the documentation.
@a2311585
@a2311585 5 жыл бұрын
oh man! this is amazing!
@AmmarTaicho
@AmmarTaicho 5 жыл бұрын
Wow, you do Machine Learning also? You are my hero!!!
@AmmarTaicho
@AmmarTaicho 5 жыл бұрын
@UCjyNiVY4zBwajElRy6Dj-UQ Hmmm, still if there is a part in this processe is ML. It means Traversy used ML. Still my hero!
@hongyouwong7964
@hongyouwong7964 4 жыл бұрын
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.
@VidyaSagar-hc9nu
@VidyaSagar-hc9nu 4 жыл бұрын
thanks a lot 😍😍😍 u saved my time
@mahmoudadel7600
@mahmoudadel7600 5 жыл бұрын
Thank you Brad u are the best
@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?
@junior_official_ke
@junior_official_ke 2 жыл бұрын
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.
@greenie62
@greenie62 5 жыл бұрын
"shitload of images" is the reason your our guy! Lol
@taylorlangley900
@taylorlangley900 5 жыл бұрын
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.
@MystixHalo
@MystixHalo 4 жыл бұрын
hello? i have a question... what software do you use and how do you install everything
@JonWood
@JonWood 5 жыл бұрын
Brad, if you had a course on how you make videos, I'd pay hundreds for it!
@pratikkumar939
@pratikkumar939 5 жыл бұрын
Who the hell disliked this man's video?
@ramziddinrustamov5221
@ramziddinrustamov5221 3 жыл бұрын
Hi, bro, How can i connect with comera, i am working university system to find studsnts face. Thanks for answer!!
@cyb3rhacks636
@cyb3rhacks636 4 жыл бұрын
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?
@Vardhhan
@Vardhhan 5 жыл бұрын
Cool... You're an gaint... 😁. Am at intermediate level now ... I will reach you soon 😊
@dthewave9466
@dthewave9466 5 жыл бұрын
But... Does it work with puppies?
@g.s.3389
@g.s.3389 5 жыл бұрын
nice, i did the same, but it would be nice if you could add emotion recognition to that simple code, keeping it simple.
@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
@icefiredragon4833
@icefiredragon4833 2 жыл бұрын
SO SO SO SO useful!
@marcelonicastro
@marcelonicastro 5 жыл бұрын
Perfect ! Thank's
@techtechtuts
@techtechtuts 5 жыл бұрын
Your picture should also be in Known folder :)
@kunalr_ai
@kunalr_ai 5 жыл бұрын
Thanks for the episode
@aayush_karna
@aayush_karna 5 жыл бұрын
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 4 жыл бұрын
there's no god
@vincentcastillo1246
@vincentcastillo1246 4 жыл бұрын
Aayush Karna you’re crazy
@aayush_karna
@aayush_karna 3 жыл бұрын
@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.
@dakshsagar2839
@dakshsagar2839 5 жыл бұрын
When is the update to the MERN Stack course coming out ?
@richardsilva5136
@richardsilva5136 5 жыл бұрын
Nice Brad!
@osamaakhtar6525
@osamaakhtar6525 4 жыл бұрын
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
@seanbenhur
@seanbenhur 4 жыл бұрын
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!?
@andreaf6143
@andreaf6143 4 жыл бұрын
awesome! great Job!
@baroiall9968
@baroiall9968 5 жыл бұрын
@Brad Traverse, can you make a tutorial / introduction video on google app script...I'm really eager to learn more about google script... Thanks, love your videos
@walterchen5463
@walterchen5463 3 жыл бұрын
Very helpful thanks
@JNET_Reloaded
@JNET_Reloaded 5 жыл бұрын
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 3 жыл бұрын
@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 3 жыл бұрын
@maryam come talk on my site jnet.sytes.net il be waiting in the chat bottom right hand corner.
@katakamkamalakar5710
@katakamkamalakar5710 4 жыл бұрын
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
@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 3 жыл бұрын
bro he already told VSCode it's one of the famous IDE you can download it's free
@kunalr_ai
@kunalr_ai 5 жыл бұрын
Excellent video
@herohagen3773
@herohagen3773 4 жыл бұрын
I'm currently running into a problem. I can't get the face_recognition.load_image_file('./directory') to select a whole folder full of images. It only accepts one image (which seems obv. with the load_image_file and not _files. But is there a possibility to make it run in a for loop? I've tried a few things, but everytime it get's back to the 1 image I've chosen in the face_recognition.load_image_file('./directory'). Thanks!
@ganis6020
@ganis6020 4 жыл бұрын
you can use another module to rename all the files in the folder to a sequence : any_name.jpg -> 1.jpg, 2.jpg and than iterate through every str(i)+.'jpg' to get every image object in memory. search for "glob" and "os" 's documentations. If you are on a linux (or use git+unix on Win) you can call "mv file1.jpg file2.jpg" or "rename file1.jpg file2.jpg".
@ganis6020
@ganis6020 4 жыл бұрын
Just adding this : you can wrap glob with enumerate() and you will have something as simple as this : for nbr, name in enumerate (glob(r"path/to/files/*.jpg")): os.rename(name, "Picture_{0}".format(nbr)) # you can even add an exception handle to this.
@charbelsarkis3567
@charbelsarkis3567 5 жыл бұрын
Are you using the FiraCode font.
@sebascarmonag
@sebascarmonag 4 ай бұрын
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!
@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
@ytubelord
@ytubelord 5 жыл бұрын
Thank you Brad
@lawtonw.hawkins4895
@lawtonw.hawkins4895 4 жыл бұрын
At the beginning it says Brads-iMac -Pro. Do you change that to yourname-iMac-Air?
@MrHamsterbacke756
@MrHamsterbacke756 5 жыл бұрын
Please make an video about Python GUI development. It's not really covered in KZbin.
@williammoses2964
@williammoses2964 4 жыл бұрын
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
@gautierreynes9237
@gautierreynes9237 3 жыл бұрын
So so so cool thanks !!!
@henrylj2660
@henrylj2660 4 жыл бұрын
Is it possible to make an object orientated recongnition software??
@dr4kk0nnys6
@dr4kk0nnys6 5 жыл бұрын
Holy shit , thx for the video , you're awesome
@kantyDarius
@kantyDarius 5 жыл бұрын
😱😱Awesome as always!! Can we do the same with JS? TensorflowJS or BrainJS maybe?
@alexcantemir3705
@alexcantemir3705 5 жыл бұрын
That will be nice to see
@balajihotte
@balajihotte 5 жыл бұрын
Awesome man
@ruvienceyfelicia
@ruvienceyfelicia 4 жыл бұрын
Thank you so Much.... Is this also applied/applicable to videos instead of pictures?
@priyahariharan7420
@priyahariharan7420 4 жыл бұрын
Did you get it?
@ruvienceyfelicia
@ruvienceyfelicia 4 жыл бұрын
@@priyahariharan7420 not quite yet..
@muhammadelqady9319
@muhammadelqady9319 5 жыл бұрын
you are awesome man
@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.
@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.
Python Django Crash Course
1:11:51
Traversy Media
Рет қаралды 360 М.
Build A Python Speech Assistant App
26:47
Traversy Media
Рет қаралды 287 М.
FOOTBALL WITH PLAY BUTTONS ▶️ #roadto100m
00:29
Celine Dept
Рет қаралды 75 МЛН
Chips evolution !! 😔😔
00:23
Tibo InShape
Рет қаралды 42 МЛН
The Importance of Specialization in Coding
7:13
Traversy Media
Рет қаралды 150 М.
Face Recognition With Raspberry Pi + OpenCV + Python
7:15
Core Electronics
Рет қаралды 171 М.
Open Source Face Analysis with Python
15:07
Rob Mulla
Рет қаралды 45 М.
👩‍💻 Python for Beginners Tutorial
1:03:21
Kevin Stratvert
Рет қаралды 3 МЛН
Python Face Recognition (Beginner Tutorial)
12:36
Matthew Berman
Рет қаралды 38 М.
How to Do 90% of What Plugins Do (With Just Vim)
1:14:03
thoughtbot
Рет қаралды 865 М.
Modern Graphical User Interfaces in Python
11:12
NeuralNine
Рет қаралды 1,4 МЛН
Learning Awk Is Essential For Linux Users
20:02
DistroTube
Рет қаралды 283 М.
Are You Too Dumb To Code? A Chat About Imposter Syndrome
7:08
Traversy Media
Рет қаралды 63 М.
What’s your charging level??
0:14
Татьяна Дука
Рет қаралды 7 МЛН
Which Phone Unlock Code Will You Choose? 🤔️
0:14
Game9bit
Рет қаралды 13 МЛН
How To Unlock Your iphone With Your Voice
0:34
요루퐁 yorupong
Рет қаралды 17 МЛН
👎Главный МИНУС планшета Apple🍏
0:29
Demin's Lounge
Рет қаралды 503 М.