Face Recognition in Python |Real-time | Part 2 | FaceNet, MTCNN, SVM

  Рет қаралды 10,562

Sardor Abdirayimov

Sardor Abdirayimov

Күн бұрын

Пікірлер: 63
@ChilakapatiNarsimhaShrutiSagar
@ChilakapatiNarsimhaShrutiSagar 9 ай бұрын
good ex2planation bro thanx for explaining , it helped me
@OybekValiyev-dp2sf
@OybekValiyev-dp2sf 7 ай бұрын
Juda zo'r ma'lumot oldim rahmat kattakon
@azamafridi-c9v
@azamafridi-c9v Жыл бұрын
Thank you Sardor, The tutorials were amazing and it helped me alot!! Thanks alot for sharing the codes and the datasets as well!!
@romenreigns2551
@romenreigns2551 Жыл бұрын
0
@ElenaEroshina
@ElenaEroshina Жыл бұрын
Thank you a lot! Your tutorial is the best ) I'm looking forward your next video and if it will be about emotions recognition it will be great!
@sardorabdirayimov
@sardorabdirayimov Жыл бұрын
Glad to he helpful ))
@sanjeevikumar2896
@sanjeevikumar2896 9 ай бұрын
hello@@sardorabdirayimov have you found any better version of it. like using any other model that gives more accuracy
@rahulmahesh9700
@rahulmahesh9700 Жыл бұрын
You're great, thanks man
@scorpionkingcr4523
@scorpionkingcr4523 Жыл бұрын
I tried this code but what should I do when the person who are not trained, their faces are being recognized forcefully. instead it should be shown "UNKNOWN". so can you please help me out how to avoid that false detection.
@naiteekchauhan7775
@naiteekchauhan7775 Жыл бұрын
same brother
@sardorabdirayimov
@sardorabdirayimov Жыл бұрын
My SVM is trying to classify the input face into the trained faces. If you want to add unknown, I suggest you to use “softmax” activation function which return the probability of given face to the trained face. If you give mode the new face, it will return like taylor swift: 0.3 , person B: 0.5. Then you can create conditions that if probability is lower than 0.7 (as example) then it is “unknown”
@scorpionkingcr4523
@scorpionkingcr4523 Жыл бұрын
Thank you for the help. Love from India🇮🇳❣️
@ManiExperience
@ManiExperience Жыл бұрын
sir ,what is the result for if we give the new face on a webcam, is it give unknown person or what ? could please explain this
@rizkynurhadhi9738
@rizkynurhadhi9738 Жыл бұрын
hi, where is "svm_model_160x160.pkl" file come from? because i didn't see you create it from part I video
@jayhybercarocoy4452
@jayhybercarocoy4452 10 ай бұрын
Im getting an error : Error during unpickling: invalid load key, '\x02' when loading the pkl file. Im using joblib to generate the pkl file
@abdoulazizmaiga9848
@abdoulazizmaiga9848 Жыл бұрын
Thank you for this well-explained tutorial. Can you make a video on voice recognition? Thanks in advance.
@이정희-i4i3f
@이정희-i4i3f Ай бұрын
Assalomu alaykum aka telegramdan bog'lansan bo'ladimi sizga bir narsada maslahatizni soramoqchi edim?
@ahmadxrizvi
@ahmadxrizvi 8 ай бұрын
Hii Sardor I wanted to detect face shapes but I am not able to understand where to start
@ЖанеркеАйткалиева-ь3щ
@ЖанеркеАйткалиева-ь3щ 6 ай бұрын
how to make a file in the format .npz
@muhammadmudasir1166
@muhammadmudasir1166 Ай бұрын
In which software you're writing this code
@muhammadmudasir1166
@muhammadmudasir1166 Ай бұрын
And have you copied and paste the google drive files here
@TurinBeats
@TurinBeats Ай бұрын
The software is called pycharm
@muhammadmudasir1166
@muhammadmudasir1166 Ай бұрын
@@TurinBeats Thanks bro
@shirobi_dts
@shirobi_dts Жыл бұрын
I wish I had seen you sooner ❤❤❤❤❤❤
@sardorabdirayimov
@sardorabdirayimov Жыл бұрын
Appreciated! I will be back soon
@TurinBeats
@TurinBeats Ай бұрын
Hello Sardor. I don't understand how you got the haar cascade file and the svm model file. How can I do the same?
@muhammadmudasir1166
@muhammadmudasir1166 Ай бұрын
In part 1 he created svm file and you can download cascade file from google
@KoreadanAmerikagacha
@KoreadanAmerikagacha 2 жыл бұрын
I like the way how you are explaining the concepts of the process but still should work on the quality of the content 👌🙌🙌
@NURHASYARUSHAIDAKAMARULASRI
@NURHASYARUSHAIDAKAMARULASRI Жыл бұрын
hi, can i know how can i show the accuracy of the face recognition?
@TheChipmonks
@TheChipmonks 10 ай бұрын
Check for Memory Leaks, tensorflow has a leak in it Please help
@vanthoduong3062
@vanthoduong3062 Жыл бұрын
Thank you for your video, it's really helpful. I have a question, I trained a model to recognize 2 persons, ex: A and B, and if another appears in front of the webcam, how can my model return "unknown" in this? I look forward to your reply. Thank you so much ^^.
@sardorabdirayimov
@sardorabdirayimov Жыл бұрын
My SVM is trying to classify the input face into the trained faces. If you want to add unknown, I suggest you to use “softmax” activation function which return the probability of given face to the trained face. If you give mode the new face, it will return like taylor swift: 0.3 , person B: 0.5. Then you can create conditions that if probability is lower than 0.7 (as example) then it is “unknown”
@syedhurairahhassan1944
@syedhurairahhassan1944 7 ай бұрын
Helpful video
@ashutoshgupta2758
@ashutoshgupta2758 Жыл бұрын
Hi can you please make a video on liveness (spoof) detection Replay and image attack
@sardorabdirayimov
@sardorabdirayimov Жыл бұрын
I will consider it! Thanks for suggesting it
@Painted_Skull
@Painted_Skull 9 ай бұрын
what about Unknown face?
@dre_purba
@dre_purba Жыл бұрын
Can this program implemented attendance record ?...
@sardorabdirayimov
@sardorabdirayimov Жыл бұрын
Indeed, it can be implemented as attendance systems.
@souleimenlabsi2337
@souleimenlabsi2337 Жыл бұрын
Thanks
@AnjaliYadav-lo8fo
@AnjaliYadav-lo8fo 10 ай бұрын
is mtcnn used in this for face detection in real time ?
@naiteekchauhan7775
@naiteekchauhan7775 Жыл бұрын
when it identifies a face which is not included in model the code recognize that person as known how to fix this issue.
@sardorabdirayimov
@sardorabdirayimov Жыл бұрын
Another common issue: Solution: My SVM is trying to classify the input face into the trained faces. If you want to add unknown, I suggest you to use “softmax” activation function which return the probability of given face to the trained face. If you give mode the new face, it will return like taylor swift: 0.3 , person B: 0.5. Then you can create conditions that if probability is lower than 0.7 (as example) then it is “unknown”
@naiteekchauhan7775
@naiteekchauhan7775 Жыл бұрын
@@sardorabdirayimov thank you brother
@abdulrahmansabri4547
@abdulrahmansabri4547 Жыл бұрын
Thank you for your efforts. Do you know how to increase accuracy of svm? Thanks in advance
@sardorabdirayimov
@sardorabdirayimov Жыл бұрын
I suggest you to do fine-tuning of hyperparams. I hope it helps you
@Vibes_load
@Vibes_load Жыл бұрын
Where did you make this file (haarcascade_frontalface_default.xml) ? You used it out of nowhere that's why I am asking.
@sardorabdirayimov
@sardorabdirayimov Жыл бұрын
I downloaded it from github repo of hasrcascade. Check the video description! It has google drive link for that file)
@kalong9744
@kalong9744 Жыл бұрын
May I ask how to train a SVM model and save to pki?
@sardorabdirayimov
@sardorabdirayimov Жыл бұрын
Thank you for question. Please refer to: kzbin.info/www/bejne/mHiVpYGPqJyarZo
@imenmabrouk6769
@imenmabrouk6769 Жыл бұрын
thx for this tuto plz i have a question : what if there is a total unkown and we want to classify that person is unkown?
@sardorabdirayimov
@sardorabdirayimov Жыл бұрын
My SVM is trying to classify the input face into the trained faces. If you want to add unknown, I suggest you to use “softmax” activation function which return the probability of given face to the trained face. If you give mode the new face, it will return like taylor swift: 0.3 , person B: 0.5. Then you can create conditions that if probability is lower than 0.7 (as example) then it is “unknown”
@abdulrafey2492
@abdulrafey2492 4 ай бұрын
PLEASE REPLY Very good Video, Thank you for your effort. Make next video on how to stop spoofing so model should not detect faces on images or in videos but only real faces. I have another important question. Can I use Haar Cascade instead of MTCNN for face detection in PART 1? Will it reduce accuracy or have any disadvantages, despite potentially offering better speed than MTCNN? If accuracy will drop if I use Haar Cascade than tell me what should I do as I want to build real world robust face recognition attendance system application for schools, and I don't want to get complaints that software is either not detecting faces or its not recognizing students correctly. In my scenario camera will be on the top of the class's white board and should be able to detect all students of the class from above of the board, class lights may be dimmed or turned of if teacher is teaching using projector.
@sardorabdirayimov
@sardorabdirayimov 4 ай бұрын
Dear @abdulrafey, The Haar Cascade accuracy is lower than the MTCNN. Definetely, you can change from MTCNN to Haar Cascade. I believe there are more robust solutions in the github. Check out BlazeFace or Mediapipe library. Use data augmentation before training, or move the input images to normalized space. In fact, it is a bit challenging to make 1 to 10. I hope my response helped you. Have a good day!
@shivanitalks2713
@shivanitalks2713 Жыл бұрын
Course code please
@sardorabdirayimov
@sardorabdirayimov Жыл бұрын
Refer to the video description
@oybekmatkosimov5849
@oybekmatkosimov5849 2 жыл бұрын
🧠💪
@sanjeevikumar2896
@sanjeevikumar2896 9 ай бұрын
hello @sardorabdirayimov its a great work. have you found any better version of it. like using any other model that gives more accuracy
@ManiExperience
@ManiExperience Жыл бұрын
sir , please respond quickly
@viratkohli-yk7ls
@viratkohli-yk7ls 9 ай бұрын
getting errors like this please help me WARNING:tensorflow:From C:\Users\AppData\Roaming\JetBrains\PyCharmCE2023.3\light-edit\.venv\Lib\site-packages\keras\src\backend\tensorflow\core.py:174: The name tf.placeholder is deprecated. Please use tf.compat.v1.placeholder instead. [ERROR:0@14.564] global obsensor_uvc_stream_channel.cpp:159 cv::obsensor::getStreamChannelGroup Camera index out of range
@ragulraja2452
@ragulraja2452 Жыл бұрын
Bruh I tried executing your method it went really well , but at last i got an error like " global obsensor_uvc_stream_channel.cpp:156 cv::obsensor::getStreamChannelGroup Camera index out of range " how to fix this and bro how to PASS a image as input
@sardorabdirayimov
@sardorabdirayimov Жыл бұрын
Use cv.VideoCapture(0) instead of 1 index. For images instead of variable cap, create variable image= cv.imread(img_path)
Live Face Recognition in Python
16:16
NeuralNine
Рет қаралды 184 М.
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
Face Recognition in Python | Part 1 | FaceNet, MTCNN, SVM
35:54
Sardor Abdirayimov
Рет қаралды 25 М.
Face Detection and Recognition using Deep Learning(MTCNN and ALEXNET)
4:27
Glade Software Solution
Рет қаралды 2,5 М.
Python Face Recognition (Beginner Tutorial)
12:36
Matthew Berman
Рет қаралды 76 М.
Face Liveness Detection In Face Recognition
47:48
Prabhat Ale
Рет қаралды 28 М.
Face recognition in real-time | with Opencv and Python
28:19
Pysource
Рет қаралды 302 М.
Python face recognition with FaceNet, MTCNN and SVM
4:54
Sanjay Mahajan
Рет қаралды 180
Face recognition + liveness detection: Face attendance system
29:33
Computer vision engineer
Рет қаралды 138 М.
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН