Join My Channel for Additional Benefits : Click on JOIN Button and choose the Membership Plan on the basis of benefits or Perks which I am offering to Members.
Best Video, great explanation, but can we use similar code while having higher accuracy using higher libraries like dlib, face recognition, sklearn, etc ?? Can you please make a video on this ??
A very well explained video but can you make a video for higher accuracy with the higher libraries for recognizing the unknown person as "unidentified"...plz do help!!!!!
Hi, I have uploaded the code on github. You can check this link: github.com/AarohiSingla/Face-Recognizer-Using-LBPH-Recognizer/blob/master/recognizer_by_name.py Just change your recognizer.py file with this code. And when you will open this code - replace the name list with the names which are present in your dataset. This is the list : names = ['None','Aarohi','Piford','Sorav'] where Aarohi, Piford and Sorav are name of the people of my dataset and None is for unidentified person. Hope this will solve your query.
Thank you for your video. It is really helpful, but when I run the code, it's showing up on the first page where it asks to enter ID, Name and Take Photos. After taking photos it is NOT saving the photos in the folder. Can you please help me with how to solve this issue? Note: I have created /dataset folder, and added some photos. But I believe the photos are different size
@Code With Aarohi I tried to execute the code in train_model.py file, but am getting few errors like :- 1. TclError: no display name and no $DISPLAY environment variable and later I tried adding the below code as well to fix the above error if os.environ.get('DISPLAY','') == '': print('no display found. Using :0.0') os.environ.__setitem__('DISPLAY', ':0.0') then I got the below error :- TclError: couldn't connect to display ":0.0" Can you please suggest the correct fix for this error ?
Will you make a video about tracking algorithm? I use Yolo to detect person and collect RoI, then RoI is sent to Face detector and recognizer. But the problem is the person doesn't always show their front face to the camera so I need tracking algorithm to track that person
@@summaiyajabeen6535 Go through the code and where ever I have mentioned ID replace it with a name. Because in this code, I have used 2 variables - one for storing name and other variable for storing ID. Replace the ID variable with the name in the code files.
@@CodeWithAarohi Id = int(os.path.split(imagePath)[-1].split(".")[0]) Because of this function it shows Id in recognition process what changes i have to do as per guidence if i change the Id variable with the name it gives me an error that name is not define
Hi, Replace your recognizer.py file with this file github.com/AarohiSingla/Face-Recognizer-Using-LBPH-Recognizer/blob/master/recognizer_by_name.py Just change your recognizer.py file with this code. And when you will open this code - replace the name list with the names which are present in your dataset. This is the list : names = ['None','Aarohi','Piford','Sorav'] where Aarohi, Piford and Sorav are name of the people of my dataset and None is for unidentified person.
So basically every time added a new person the model will have to retrain again every time ? Lol i tried put obama face beside me it still getting the same label as my face wonder how hehe
@@CodeWithAarohi mam good morning our project is implementation of iot based attendance management system based on face recognition using raspberry pi....mam as we have less time we need ur help in doing this project.... the opencv is not installing on raspberry pi can u please help us mam
Join My Channel for Additional Benefits : Click on JOIN Button and choose the Membership Plan on the basis of benefits or Perks which I am offering to Members.
you are the best....!!
karan goyal Thankyou
Excellent video, got lot of help. Thanks
Glad it helped
Very well explained
Best Video, great explanation, but can we use similar code while having higher accuracy using higher libraries like dlib, face recognition, sklearn, etc ??
Can you please make a video on this ??
Nemesis 15 thanks... and yes we can improve accuracy by adding functionality. And will try to make a video on it soon
@@CodeWithAarohi Thank you very much
How can we calculate the accuracy for this recognizer?
100%
A very well explained video but can you make a video for higher accuracy with the higher libraries for recognizing the unknown person as "unidentified"...plz do help!!!!!
Awanti Chavan sure... will make that soon
Hi, Send me your email id, I will mail you the code where unknown person would be identified as unknown
@@CodeWithAarohi chavanawanti@gmail.com
@@CodeWithAarohi thanks a lot!!!!!!!
Hi, I have uploaded the code on github. You can check this link: github.com/AarohiSingla/Face-Recognizer-Using-LBPH-Recognizer/blob/master/recognizer_by_name.py
Just change your recognizer.py file with this code. And when you will open this code - replace the name list with the names which are present in your dataset. This is the list : names = ['None','Aarohi','Piford','Sorav'] where Aarohi, Piford and Sorav are name of the people of my dataset and None is for unidentified person.
Hope this will solve your query.
Thank you for your video. It is really helpful, but when I run the code, it's showing up on the first page where it asks to enter ID, Name and Take Photos. After taking photos it is NOT saving the photos in the folder. Can you please help me with how to solve this issue?
Note: I have created /dataset folder, and added some photos. But I believe the photos are different size
@Code With Aarohi I tried to execute the code in train_model.py file, but am getting few errors like :-
1. TclError: no display name and no $DISPLAY environment variable
and later I tried adding the below code as well to fix the above error
if os.environ.get('DISPLAY','') == '':
print('no display found. Using :0.0')
os.environ.__setitem__('DISPLAY', ':0.0')
then I got the below error :-
TclError: couldn't connect to display ":0.0"
Can you please suggest the correct fix for this error ?
Which technology we can use to develop the front end
For web app- you can use django or flask framework but if you want to make desktop then you can use desktop app frameworks like tkinter
@@CodeWithAarohi thank you mam
@CodeWithAarohi @fatimabegum8298 Tried streamlit already?
Will you make a video about tracking algorithm? I use Yolo to detect person and collect RoI, then RoI is sent to Face detector and recognizer. But the problem is the person doesn't always show their front face to the camera so I need tracking algorithm to track that person
Okay
Hello can i use this code to eigenfaces recognizer?
Hello Aarohi!
Can LBPH gives the histogram on single object?
❔
How to calculate the accuracy mam
100%
Best Video but i want to show the name of the person instead of the Id what i have to do
what changes i have to do in the code for showing the name of the person instead of Id 1,2,3
@@summaiyajabeen6535 Go through the code and where ever I have mentioned ID replace it with a name. Because in this code, I have used 2 variables - one for storing name and other variable for storing ID. Replace the ID variable with the name in the code files.
@@CodeWithAarohi Id = int(os.path.split(imagePath)[-1].split(".")[0]) Because of this function it shows Id in recognition process what changes i have to do as per guidence if i change the Id variable with the name it gives me an error that name is not define
@@summaiyajabeen6535 Hi, Send me your email id. I will send you working code of displaying name over there
Hi, Replace your recognizer.py file with this file github.com/AarohiSingla/Face-Recognizer-Using-LBPH-Recognizer/blob/master/recognizer_by_name.py
Just change your recognizer.py file with this code. And when you will open this code - replace the name list with the names which are present in your dataset. This is the list : names = ['None','Aarohi','Piford','Sorav'] where Aarohi, Piford and Sorav are name of the people of my dataset and None is for unidentified person.
So basically every time added a new person the model will have to retrain again every time ?
Lol i tried put obama face beside me it still getting the same label as my face wonder how hehe
while training your model there should be only 1 image under 1 label and name then only your algorithm will give you correct answer.
can you give us model and dataset folder
No
Mam how to display name instead of ID, please rply ASAP
bring it about on ur own
I don't see the model file in your source code
Create model folder. And when you will execute train_model.py file. Model file will get created under the model folder
@@CodeWithAarohi Thanks
Madam i want code
No
@@bay-bicerdover thanks I have completed my project didn't need
@@sudheeshgarikipati8261 That's tight.
github.com/AarohiSingla/Face-Recognizer-Using-LBPH-Recognizer/tree/master
as salam all kom mam need email aderss
aarohi@piford.com
@@CodeWithAarohi thanks
@@CodeWithAarohi mam good morning our project is implementation of iot based attendance management system based on face recognition using raspberry pi....mam as we have less time we need ur help in doing this project.... the opencv is not installing on raspberry pi can u please help us mam
@@myvoiceforjesus1921 Hi, Please send me the screenshot of that error
can you give us model and dataset folder
No