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?
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
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.
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.
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
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.
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
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)"?
Follow all steps at 4:46 pip not recognized as internal or external command...already tried various solutions listed by others on here...after 2 hours on downloads, testing, looking up solutions complete fail. Advise trying on Linux to see if less issues or same issues.
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?
pip install took me 3:24 minutes (I know it will tag a random place in the video) and I have a 10c20t processor running at 4.5Ghz I am curious to know how it would have be on an old computer if anyone can tell me for them how log it was to load that...
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.
Hi! My cmd says: Traceback (most recent call last): File "location of the folder", line 1, in import face_recognition as fr ModuleNotFoundError: No module named 'face_recognition' How can i fix this? Can someone help me please?
i am getting error for the opencv and it is given below:- ERROR: Could not find a version that satisfies the requirement opencv-python (from -r requirements.txt (line 5)) (from versions: none) ERROR: No matching distribution found for opencv-python (from -r requirements.txt (line 5)) what should i do
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
hey man, when i press enter its's says ,,'pip' is not recognized as an internal or external command, operable program or batch file." what do i have to do?
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
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?
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!!!
Hi Tim, I've got a problem. As soon as I put a new picture in the 'faces' folder i get the following error: Traceback (most recent call last): File "face_rec.py", line 89, in print(classify_face("test.jpg")) File "face_rec.py", line 46, in classify_face faces = get_encoded_faces() File "face_rec.py", line 22, in get_encoded_faces encoding = fr.face_encodings(face)[0] IndexError: list index out of range It would be great if you could help me. ;)
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?
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 ?????
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
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.
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
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.
followed all the steps, still getting this error: Traceback (most recent call last): File "face_rec.py", line 89, in print(classify_face("test.jpg")) File "face_rec.py", line 46, in classify_face faces = get_encoded_faces() File "face_rec.py", line 22, in get_encoded_faces encoding = fr.face_encodings(face)[0] IndexError: list index out of range
Cj SIngh I haven't run this code yet, but that likely means there are no faces detected in your photo. there is no entry at list index 0 in your face_encodings
Hope you guys get some use out of this :) I'm planning on using it for my raspberry pi security system!
I would love to see a walkthrough / tutorial of that! Keep it up!
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?
can something like this run off of raspberrypi? I have one sitting around currently...
@@therainbird9189 yes! Even androids/iphones can run it too
Waiting for this Tutorial ! :) Keep it up dude !
Tim was amazing 3 years ago and he still is one of the best on TH-cam thanks for all this knowledge !!!
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.
WE NEED THIS PROGRAM WITH REAL TIME CAMERA. THANK YOU BRODIE
I thank you for not being selfish on your programs dude, many do videos like that jst to bragg..
Thanks alot
Anytime !
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
try to install the c++ : Download Visual Studio: visualstudio.microsoft.com/do...
@@mouvement3etoiles101 That worked for me. I installed VS++ and problem solved
any other alternative for vs??
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.
HATS off TIM..........first time ever my comment on some you tube channel......Great description man
Finally a full program that works. Great stuff TIm
Can you help me out .. I am facing some errors on installing dlib... Please it's urgent
Still having issues getting into my bedroom with this controlling the lock.... RIP my Guinea pig
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.
it shows failed to build dlib there r 2 errors popping up
Can't thank you enough. you have been extremely helpful. First program to run without any kind of problems. Thank you again
Tim bro, not able to install dlib, can you pls help, whenever u find time
i think you should use python ver 3.7
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
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
@@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
@@But1332 Everyone knows how to play subway surfers from a young age....?
Really commendable how open you are with your scripts and grateful for the projects and lessons! Thanks and continue the good work!
Awesome video Tech with Tim.
Awesome video bro👍
When the raspberry pi video is coming?
Soon!
@@TechWithTim waiting for it👍
@@TechWithTim Please also try web cam live video face recongnation that will be awesome
I am looking forward to the follow up video. I want to be able open my garage door when I walk up to it.
@@arpadkovacs2116 wow superb idea man
Which algorithm in facial recognition uses this code ??
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.
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
What changes should i make if i want to use a video instead of a picture for face identification? Thanks
if u got this please tell
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)"?
use cv2.VideoCapture(0)
How would I install the C++ package if I already have VSC initially?
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++
I love how it says unknown over Bidan in the thumbnail 🤣
This is great! especially for my work as an AML officer i can check if ID's are used for a second time...
Follow all steps at 4:46 pip not recognized as internal or external command...already tried various solutions listed by others on here...after 2 hours on downloads, testing, looking up solutions complete fail. Advise trying on Linux to see if less issues or same issues.
Hello thanks for this video, i wanna know how can I do it with a camera please ?
up
i hope so
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?
Hi, I've problems installing face_recognition module, please help
any recommendation or guide to make this from scratch? where do i start to learn this face recog thank you
awsome, Is there any newer or better library than face-recognition? its models can be updated?
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?
The way you select a video, but instead of putting the path to the video in parentheses, put a 0 in
Cannot run the file.
It says "AttributeError: module 'dlib' has no attribute 'get_frontal_face_detector'
pip install took me 3:24 minutes (I know it will tag a random place in the video) and I have a 10c20t processor running at 4.5Ghz I am curious to know how it would have be on an old computer if anyone can tell me for them how log it was to load that...
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.
When i do pip install -r requirements.txt an error message pops up and says that CMake must be installed to build dlib Help!!! Please
did you find solution for this? can you help me if you did.
Hi! My cmd says: Traceback (most recent call last):
File "location of the folder", line 1, in
import face_recognition as fr
ModuleNotFoundError: No module named 'face_recognition'
How can i fix this?
Can someone help me please?
Same error what to do?
i am getting error for the opencv and it is given below:-
ERROR: Could not find a version that satisfies the requirement opencv-python (from -r requirements.txt (line 5)) (from versions: none)
ERROR: No matching distribution found for opencv-python (from -r requirements.txt (line 5))
what should i do
Python 3.7.0 version should work ...
It's because your opencv version and opencv-config doesn't match
Try running this command
pip3 install opencv-config-python3
Thanku tim....it is very simple and awesome explanation...It worked for me
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
I am getting this error AttributeError: module 'dlib' has no attribute 'get_frontal_face_detector'
bro did you solve it?
Sir, is possible ?. Photo-recognition software catches tigers by their stripes. Already given name to tiger Id.
hey man, when i press enter its's says ,,'pip' is not recognized as an internal or external command,
operable program or batch file." what do i have to do?
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
Is there a way to do the same but with a video?
if ypu got pls tell me
Dang, 3 years later I remember it was first python project ❤️
I keep getting: ERROR: Could not build wheels for opencv-python which use PEP 517 and cannot be installed directly
I have this same error let me know if u found a fix
do the visual studio c++ install if its not that then im sorry idk
How does this work without any large dataset and training? Is it a normal plain face comparison?
Sir I need a help in my project
I had an innovative idea for this technique ever used so can u help me as I am stuck with some issues in my code
Hello Tim how chage the collor of the box ?
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?
Do you upload the rasperry pi stream video soon?
Thank you sir! This is very accurate face recognition program!
can't i do this on normal vscode by downloading c++ complier from extensions?
How can I use this for attendance system for current picture taken?
Im having a file directory error? "can't open file 'C:\\Users\\user\\Desktop\\face_rec\\face_rec.py': [Errno 2] No such file or directory":
how many faces could be saved in the known list? i mean is there a limit number of faces
Thank you for sharing!! My favorite Machine Learning hero!!!!
This approach is SVM (Support Vector Machines), isn't it?
Can it recognize in real time from web camera?
Yep
@@TechWithTim how I can do it?
@@zhxnrs create a code to save image as test.jpg every sec or so and it will be done
I don't everything was going well but I can't download the dlib .... I'm so stressed right now !!! Why ??? HELP !!!!!
thank you so much for a simple tutorial
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?
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!!!
Hi Tim,
I've got a problem.
As soon as I put a new picture in the 'faces' folder i get the following error:
Traceback (most recent call last):
File "face_rec.py", line 89, in
print(classify_face("test.jpg"))
File "face_rec.py", line 46, in classify_face
faces = get_encoded_faces()
File "face_rec.py", line 22, in get_encoded_faces
encoding = fr.face_encodings(face)[0]
IndexError: list index out of range
It would be great if you could help me. ;)
I fixed it.
How do you fixed it
I have same problm
"list has no attributes endswith"
How do you fix this
VERY GOOD ONE.THANKS FOR THIS BRILLIANT VIDEO
Thats great job.Bit how can i detect the face from source video file?
for downloading in cmd prompt it says pip is not recognised as internal or external command ... how to resolve this ?
Sir, I faced a error called "Building wheel for dlib(setup.py)...error"
And then approx 100 lines are shown in red color as error..
Please guide sir
try installing cmake first using " pip install cmake " and then install dlib using " pip install dlib ". Hope it helps.
stackoverflow.com/questions/41912372/dlib-installation-on-windows-10
Sir , after installing the cmake then also dlib is not being install and giving the same error
@@NehaKumari-ih7ms Yea, dlib is not installing for me either...
thanks i found a way to make it work without c++
Dear Friend, how we modify it to recognize in real time from web camera?
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?
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
When i try to run the command prompt i am greeted with "pip is not a recognised internal or external command" Any ideas on how to fix this?
I am not getting the list of faces recognised in command prompt.. what to do?
Crazy script, Thanks Tim.
bro.i need some changes in the code.can you please hep me replacing the test image with video frame so that it can recognize faces in live video.
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 ?????
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
which algorithm is used in this..HOG..LBPH..haarcascade or any else..please respond
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.
try harder
@@anguscaskey8762 two years late! Already have the masters degree
Does it allow to recognize my relatives names ? I tried but it only recognize famous persons.
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
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
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.
How can the image be stored in the database?
And how to recover the associated data in the recognized image
Could you please help me?
How to save encoded image dictionary in a database for future use?
How can we select a specific face from faces detected using haar cascade in python
How can you add your webcam as the image source file, so it detects your face live?
please tell what to do if the input is video and result will be that if any person matched from the images and name of person who matched pls reply
I have code blocks can I skip visual studio ??
to me it says 'pip' is not recognized as an internal or external command,
operable program or batch file.
Am I late to the table? I cannot find the code, page gives a 404 error
Tim you are my hero ,THANK YOU !!! Keep healthy
Also what python did you use ?
dlib issue occur when i try to run the command how to resolve kindly suggest
followed all the steps, still getting this error:
Traceback (most recent call last):
File "face_rec.py", line 89, in
print(classify_face("test.jpg"))
File "face_rec.py", line 46, in classify_face
faces = get_encoded_faces()
File "face_rec.py", line 22, in get_encoded_faces
encoding = fr.face_encodings(face)[0]
IndexError: list index out of range
Cj SIngh I haven't run this code yet, but that likely means there are no faces detected in your photo. there is no entry at list index 0 in your face_encodings
@@isademigod8073 and how fix ?
any luck?im getting the same error.
How did you get dark theme file explorer? When I turned on dark theme it didn't work on the file explorer.
Is there a way to make this work with live images coming from a webcam