Тёмный

Python Face Recognition Tutorial w/ Code Download 

Tech With Tim
Подписаться 1,5 млн
Просмотров 197 тыс.
50% 1

This python face recognition tutorial will show you how to detect and recognize faces using python, opencv and some other sweet python modules. I start by explaining how to download the required software and modules and then walk you through how to use the provided script. To add faces to recognize simply put then in the faces folder. To test the script on your own image rename it test.jpg and place it into the downloaded folder.
Playlist: • 12 Hour Coding Stream ...
Download Code: techwithtim.net/face_rec/
Download Visual Studio: visualstudio.microsoft.com/do...
Note: Make sure to select the Desktop C++ package
◾◾◾◾◾
💻 Enroll in The Fundamentals of Programming w/ Python
tech-with-tim.teachable.com/p...
📸 Instagram: / tech_with_tim
🌎 Website techwithtim.net
📱 Twitter: / techwithtimm
⭐ Discord: / discord
📝 LinkedIn: / tim-rusci. .
📂 GitHub: github.com/techwithtim
🔊 Podcast: anchor.fm/tech-with-tim
💵 One-Time Donations: www.paypal.com/donate/?token=...
💰 Patreon: / techwithtim
◾◾◾◾◾◾
⚡ Please leave a LIKE and SUBSCRIBE for more content! ⚡
Tags:
- Tech With Tim
- Python Tutorials
- Python Face recognition tutorial
- Face recognition python
#facerecognition
#python
#machinelearning

Опубликовано:

 

8 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 417   
@TechWithTim
@TechWithTim 5 лет назад
Hope you guys get some use out of this :) I'm planning on using it for my raspberry pi security system!
@maxdenoudsten2596
@maxdenoudsten2596 5 лет назад
I would love to see a walkthrough / tutorial of that! Keep it up!
@davematteer5966
@davematteer5966 5 лет назад
Hi please I've tried all day to solve an error message saying 'thus app can't run on your pc' all the tutorials I've used don't work except one by creating a new account on the pc but only a few started working. Python, and Ue4 still display that error. Please do you know how to fix?
@therainbird9189
@therainbird9189 4 года назад
can something like this run off of raspberrypi? I have one sitting around currently...
@MrAvalanches
@MrAvalanches 4 года назад
@@therainbird9189 yes! Even androids/iphones can run it too
@henroljeogutierrez1294
@henroljeogutierrez1294 4 года назад
Waiting for this Tutorial ! :) Keep it up dude !
@Luxcium
@Luxcium Год назад
Tim was amazing 3 years ago and he still is one of the best on RU-vid thanks for all this knowledge !!!
@smahendra1948
@smahendra1948 3 года назад
Using pip to install all the required program such as Dlib, opencv etc is simply brilliant. I find this method very unique. Good on you mate.
@nishantthomas3641
@nishantthomas3641 4 года назад
Really commendable how open you are with your scripts and grateful for the projects and lessons! Thanks and continue the good work!
@colbypaul2054
@colbypaul2054 5 лет назад
I thank you for not being selfish on your programs dude, many do videos like that jst to bragg.. Thanks alot
@TechWithTim
@TechWithTim 5 лет назад
Anytime !
@somebodyonce378
@somebodyonce378 3 года назад
Can't thank you enough. you have been extremely helpful. First program to run without any kind of problems. Thank you again
@chymty6603
@chymty6603 3 года назад
Thank you tim. you saved my project for an commpettion thank you soooo much you are an awesome person.I was stuck in a code but your video helped me soo much.
@RHQIncorparations
@RHQIncorparations 4 года назад
This is great! especially for my work as an AML officer i can check if ID's are used for a second time...
@shuwayhat
@shuwayhat 3 года назад
Finally a full program that works. Great stuff TIm
@manarvi
@manarvi 4 года назад
HATS off TIM..........first time ever my comment on some you tube channel......Great description man
@mrurchu4812
@mrurchu4812 5 лет назад
Thank you very much! I'm a beginner, and really enjoy implementing practical stuff, and "digging" my way from there around. I can't say it's the best way to study python(or anything else) but it works for me.
@TechWithTim
@TechWithTim 5 лет назад
No problem! Everyone learns differently, if it works for you that’s all that matters
@jingyizhang3694
@jingyizhang3694 3 года назад
Thank you for sharing!! My favorite Machine Learning hero!!!!
@Spvin227
@Spvin227 3 года назад
thank you so much for a simple tutorial
@HostDotPromo
@HostDotPromo 5 лет назад
Crazy script, Thanks Tim.
@comebruneteau849
@comebruneteau849 5 лет назад
Really interesting and useful tutorial Tim ! I'm a 15 yo beginner and I just discovered your channel. You're really the one that made me want to learn Python. Thank you
@real_yoplayer1
@real_yoplayer1 3 года назад
I'm 10 and learning Python and I thought to make this for a school project and found this cool video and channel. Keep IT UP
@But1332
@But1332 Год назад
​@@real_yoplayer1 when i was ten i barely knew how to play subway surfers. Your time will come code another time and enjoy your young live
@real_yoplayer1
@real_yoplayer1 11 месяцев назад
@@But1332 Everyone knows how to play subway surfers from a young age....?
@filippaoronto3880
@filippaoronto3880 3 года назад
Tim you are my hero ,THANK YOU !!! Keep healthy
@user-nt1ll1bd2c
@user-nt1ll1bd2c 2 года назад
Thank you sir! This is very accurate face recognition program!
@chrisfulop8403
@chrisfulop8403 4 года назад
Great video! Thx. As you said, make sure to restart your system after install of python64 & VSI with C++. I was getting an error, but after restart pip install -r requirements.txt worked just fine.
@syahrilrhamadan1505
@syahrilrhamadan1505 Год назад
WE NEED THIS PROGRAM WITH REAL TIME CAMERA. THANK YOU BRODIE
@dfphyderabad5151
@dfphyderabad5151 4 года назад
Thanku tim....it is very simple and awesome explanation...It worked for me
@ekeminiakpan3294
@ekeminiakpan3294 5 лет назад
Wow, this is really helpful bro
@pencilcase8068
@pencilcase8068 4 года назад
Thanks Tim for this. just got mine working.😁😁
@sidd0405
@sidd0405 3 года назад
Awesome video Tech with Tim.
@love.society
@love.society 5 лет назад
Thank you for your videos, I love them ❤️
@itsmecris07
@itsmecris07 4 года назад
Thanks alot tim..🔥🔥
@dishaanand7584
@dishaanand7584 3 года назад
VERY GOOD ONE.THANKS FOR THIS BRILLIANT VIDEO
@pandecadadia
@pandecadadia 5 лет назад
Thanks bro! Appreciated!
@therainbird9189
@therainbird9189 4 года назад
sweet tutorial I love the concept this would be fun to run mobile
@faizshaari6302
@faizshaari6302 4 года назад
Sorry sir, how did you run this inside a mobile program (android or iOS) ? Please recommend me any tutorial or blog for reference
@suryaprakashreddy4081
@suryaprakashreddy4081 5 лет назад
This is Amazing.... thanks for sharing.
@marmao78
@marmao78 3 года назад
Hi Tim, Congratulations on your project!! I´m trying to use your code with Node-Red. Sorry for the dummy question. Do you know how to create an API in a way that Node-Red or any other program can send a request with the image attached (test image) and receive back the name of the face recognized? Is there any tutorial where I can find it? I´m trying to make a doorbell with face recognition for home automation in my home.
@hemantjain2463
@hemantjain2463 5 лет назад
Awesome brother
@therainbird9189
@therainbird9189 4 года назад
Still having issues getting into my bedroom with this controlling the lock.... RIP my Guinea pig
@mohddareem9749
@mohddareem9749 3 года назад
Noicee , i like your way of describing
@itumelengmaine4721
@itumelengmaine4721 2 года назад
Thank you Tim
@sonicloud3149
@sonicloud3149 4 года назад
You explain things very well. Thank you Tim
@kartiksinghal8224
@kartiksinghal8224 4 года назад
on changing test.jpg and adding some more images in the faces folder....it gives me "List Index Out of Range" error....help would be really appreciated
@drydenstewartenterprises
@drydenstewartenterprises 3 года назад
Thanks for the video Tim, these are a huge help for me! SO to get this to read from a webcam feed I should be able to replace "im" with "VideoCapture(0)" or "cv2.VideoCapture(0)"?
@shashivardhan9322
@shashivardhan9322 3 года назад
use cv2.VideoCapture(0)
@mouvement3etoiles101
@mouvement3etoiles101 4 года назад
i have a question Bro io "return face_names" how to return a list of all the faces is a match for the known face(s), ex: if a image has two faces the result return just 2 names, how can it return more name ? if they match
@michaelmutekeri8770
@michaelmutekeri8770 4 года назад
Thanx mate....big fan
@kimiscool4999
@kimiscool4999 3 года назад
thanks i found a way to make it work without c++
@azmolahmedfuad2517
@azmolahmedfuad2517 4 года назад
Awesome video bruh. Very high accuracy with the least amount of data required. But did you find out who wrote the module? Also could you tell me the location of the module file? needed to make some alterations.
@sakshigor3474
@sakshigor3474 3 года назад
Thanks for this one! I got almost everything. But can you tell me what are the steps to learn machine learning? I'm newbie here and want some guidance if you don't mind. Another thing is that can we give multiple images for testing on the same time?
@gerardovera1447
@gerardovera1447 3 года назад
Yo Tim! Thanks for posting this video. However, I did come across an issue after adding my own photo. Do you think you can take a look at the issue and fix it?
@krullebolalex
@krullebolalex 4 года назад
This works incredibly well based on one image! Do you have any suggestions on making it work with more pictures of the same person?
@machchanandhinis4130
@machchanandhinis4130 4 года назад
Very useful one sir tq
@mikefawkes5010
@mikefawkes5010 3 года назад
tks dude :) this help big time
@ViratKohli-jj3wj
@ViratKohli-jj3wj 5 лет назад
Very nice Video Sir
@colinking73
@colinking73 4 года назад
Hey! Loved the video! How would one configure it to work to constantly scan a live video feed for a face as opposed to a static image?
@davidrivard1252
@davidrivard1252 3 года назад
The way you select a video, but instead of putting the path to the video in parentheses, put a 0 in
@tedtalk3467
@tedtalk3467 4 года назад
Thank. It works well
@MegaAmafia
@MegaAmafia 4 года назад
any recommendation or guide to make this from scratch? where do i start to learn this face recog thank you
@arle12345
@arle12345 5 лет назад
As usual, you keep your word and maintain high standarts in your tutorials. in my view, beacuse of your level of explanations you should focus on high level deep learinng stuff. people are wainting for quality materials on those subjects. tech with tim is the one channel that can answer those demands with step by step instructions that only you can make so clear easy to grasp
@tudor-4222
@tudor-4222 5 лет назад
Definitely
@BookOfMorman
@BookOfMorman 3 года назад
I love how it says unknown over Bidan in the thumbnail 🤣
@sajjaddehghani8735
@sajjaddehghani8735 4 года назад
awsome, Is there any newer or better library than face-recognition? its models can be updated?
@boii-fh6kq
@boii-fh6kq 3 года назад
Thank uuuu you saved meeee
@coding4me440
@coding4me440 4 года назад
thanks this is relly cool
@nerdunheard8917
@nerdunheard8917 3 года назад
thanks a lot!! TIM
@kaavijjj6575
@kaavijjj6575 5 лет назад
Thanks my friend
@juliianriios9323
@juliianriios9323 4 года назад
Thank you!!!
@IbrahimIbrahim-st3qw
@IbrahimIbrahim-st3qw 2 года назад
i love you man
@moaskar79
@moaskar79 4 года назад
Thx alot Tim for the great and yet simple video. Can you pls update to reflect the Face matching accuracy percentage.
@mouvement3etoiles101
@mouvement3etoiles101 4 года назад
did you find the solution ?
@arbazkhan8320
@arbazkhan8320 5 лет назад
Awesome video bro👍 When the raspberry pi video is coming?
@TechWithTim
@TechWithTim 5 лет назад
Soon!
@arbazkhan8320
@arbazkhan8320 5 лет назад
@@TechWithTim waiting for it👍
@arbazkhan8320
@arbazkhan8320 5 лет назад
@@TechWithTim Please also try web cam live video face recongnation that will be awesome
@arpadkovacs2116
@arpadkovacs2116 5 лет назад
I am looking forward to the follow up video. I want to be able open my garage door when I walk up to it.
@arbazkhan8320
@arbazkhan8320 5 лет назад
@@arpadkovacs2116 wow superb idea man
@wesleyteenwesley
@wesleyteenwesley 4 года назад
Tim bro, not able to install dlib, can you pls help, whenever u find time
@nurulainaa2318
@nurulainaa2318 3 года назад
i think you should use python ver 3.7
@markwiygul6356
@markwiygul6356 4 года назад
Great Information; Thanks! I have a question about your CODE (see at 1:02 of video) It looks like the import statements for the face_recognition module on line 1 and line 4 are typed in twice... but I want to make sure its not some more advanced Python that I'm sadly ignorant of (but hopefully someone will inform me after I pester them). much appreciation to you for filling us in of great modules!!!
@coding4me440
@coding4me440 4 года назад
if you dont have a 64-bit python, in the vscode menu you can download the 64 bit version of python 3.7.5
@CSSuccessGamer
@CSSuccessGamer 4 года назад
wow nice!
@rahulladwal2594
@rahulladwal2594 4 года назад
you just got a subscriber
@Naitokalmah
@Naitokalmah 3 года назад
flawless video Man , this is a big leap from my own attempt at face recognition ! by any chance wouldn't anyone know would i be able to integrate this into an Odoo Module and make it work properly ?
@manarvi
@manarvi 4 года назад
TIM, instead of test image if i wants to use my laptop camera later i will use rasperry pi for my project so what i have to change in code ???? Tim i am waiting ?????
@nassirfarhan5628
@nassirfarhan5628 5 лет назад
Dear Friend, how we modify it to recognize in real time from web camera?
@xiaowang432
@xiaowang432 4 года назад
hi bro is the deeplearning model inside the face_recognization is open sourse? if so where can i find it? thx so much if u have the time to answer
@matthewalquisada-mansoori1682
@matthewalquisada-mansoori1682 4 года назад
How would I install the C++ package if I already have VSC initially?
@akramelomrani8728
@akramelomrani8728 3 года назад
bro just install MINGW for c++ why install 3GB program for 40kb compiler in youtube their is a miliions of tutorials where to install g++
@bipinkumaryadav3827
@bipinkumaryadav3827 3 года назад
Thanks brother, I am so glad that I finally install dlib, i am working on a facial recognition project, this module make my work delay, but finally got this with your help. Thank you so much brother, Love your content 😘😘😘
@john_kamau
@john_kamau 4 года назад
Thanks
@WannesMalfait
@WannesMalfait 5 лет назад
How did you get dark theme file explorer? When I turned on dark theme it didn't work on the file explorer.
@-it759
@-it759 3 года назад
just a question can you attribute the faces in google so that when it detect the face it will automatically search it up in google and if it showed up it will tell u the name and if not well it will be none
@joerne.9632
@joerne.9632 3 года назад
Great! I am surprised, it works without training. Unfortunately I don't understand English very well and use the Translator. Can you please explain why it doesn't need any training unlike other tutorials?
@blobropch0p
@blobropch0p 5 лет назад
thanks man
@TechWithTim
@TechWithTim 5 лет назад
Np!
@FeedFall8
@FeedFall8 5 лет назад
This is the Future of image passwords in action
@pixwrath5802
@pixwrath5802 4 года назад
im having a problem at 4:54 when i run that command it stops saying CMake is required to extract dlib pls help me because i already have CMake yet it is showing that error
@mouvement3etoiles101
@mouvement3etoiles101 4 года назад
try to install the c++ : Download Visual Studio: visualstudio.microsoft.com/do...
@itchyjhin7349
@itchyjhin7349 4 года назад
@@mouvement3etoiles101 That worked for me. I installed VS++ and problem solved
@madh3453
@madh3453 4 года назад
any other alternative for vs??
@sarputkuakaln7523
@sarputkuakaln7523 3 года назад
if you have anaconda installed just create an environment(conda create -n env_dlib python=3.6) and activate the environment(conda activate env_dlib) and install dlib(conda install -c conda-forge dlib) and it should work properly.
@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.
@anguscaskey8762
@anguscaskey8762 Год назад
try harder
@Sirfrigth
@Sirfrigth Год назад
@@anguscaskey8762 two years late! Already have the masters degree
@hoaleduc8071
@hoaleduc8071 4 года назад
Hi guys and Tim, I have a quuestion about cmake version, i see in the link to cmake have "adm" it about chip of our computer or not. I am using chip intel, can i use it. sr for my english :
@jacobokomo1880
@jacobokomo1880 3 года назад
Thanks a lot tim. It woked perfectly well on my Linux Ubuntu 1804. Though i needed to pip install the pkges individually. pip install- r requirements.txt never worked
@PROPLAYER-py2zr
@PROPLAYER-py2zr 2 года назад
Maybe you typed the spelling wrong, it worked for me
@beizhou2488
@beizhou2488 4 года назад
Why do we need to show the image within a while loop, rather than show the image directly? If I invoke cv.imshow(img) directly(not within a while loop), the image cannot display, always showing no response.
@heinzbeckenbauer243
@heinzbeckenbauer243 5 лет назад
Do you upload the rasperry pi stream video soon?
@elionajem4876
@elionajem4876 3 года назад
What Face Recognition Algorithm did you use in this program? can you please tell me?
@JustinPaulGT
@JustinPaulGT 4 года назад
thanks bro its works ,but how can i recognize multiple test images at same time can you share the code for that.It is very important for me help me plz
@dev_expo
@dev_expo 4 года назад
How to include this c++ compiler while packing project using pyinstaller.Thanks
@sainco3036
@sainco3036 5 лет назад
thanks.
@ronyjoseph7868
@ronyjoseph7868 3 года назад
I have a doubt that can I run a tensor flow project in raspberry Pi, the project is Covid 19 detection using chest xray and also rpi acts as server to serve the webapp for Covid 19 prediction. Can I do this in rpi
@mr.haidarkhan
@mr.haidarkhan 4 года назад
need help how to give function person recognition bring screen up and down?
@MrAlvaroxz
@MrAlvaroxz 3 года назад
Hi, I've problems installing face_recognition module, please help
@gabrieleguo
@gabrieleguo Год назад
How does this work without any large dataset and training? Is it a normal plain face comparison?
@nishankthakur29
@nishankthakur29 4 года назад
What changes should i make if i want to use a video instead of a picture for face identification? Thanks
@tabishchauhan8472
@tabishchauhan8472 4 года назад
if u got this please tell
@jeevanreddy6484
@jeevanreddy6484 4 года назад
In a image containing 2faces but the output is showing the same name for both faces. It is not showing that unknown face
@fatimaadam9023
@fatimaadam9023 4 года назад
Which algorithm in facial recognition uses this code ??
@sardormamarasulov3352
@sardormamarasulov3352 4 года назад
Thats great job.Bit how can i detect the face from source video file?
@felipegonzalez4598
@felipegonzalez4598 4 года назад
got to open CMD from anaconda, didnt work from the directory, it seems first one calls CMD from system32 not from System32
@sampathkumar3523
@sampathkumar3523 4 года назад
In order to match the faces I want to know how many faces are matched and how many are unmatched can you pl help me out with this
@lakshyabhardwaj9541
@lakshyabhardwaj9541 3 года назад
great work. I want to identify cricket players. Will this code work even if the player is wearing a helmet? If not what to do?
@isyrafbaharudin4157
@isyrafbaharudin4157 4 года назад
Hi, does the visual studio works on macOS too?
Далее
3 Python Projects I’d Put On MY Resume
14:49
Просмотров 41 тыс.
5 Tips To Organize Python Code
12:16
Просмотров 213 тыс.
2000000❤️⚽️#shorts #thankyou
00:20
Просмотров 9 млн
Что мне Спеть?😺
3:15:51
Просмотров 1 млн
Open Source Face Analysis with Python
15:07
Просмотров 46 тыс.
The TRUTH About Computer Science Degrees in 2024
17:25
Face Recognition With Raspberry Pi + OpenCV + Python
7:15
Live Face Recognition in Python
16:16
Просмотров 138 тыс.
How does facial recognition work?
6:43
Просмотров 188 тыс.