Face recognition + liveness detection: Face attendance system

  Рет қаралды 105,109

Computer vision engineer

Computer vision engineer

Жыл бұрын

Code: github.com/computervisioneng/...
Windows users, you will need to do a couple of additional steps before starting with this tutorial:
- Follow the instructions described in this video • Visual studio + deskto...
- Install the packages in requirements_windows.txt.
Enjoy!
#computervision #computervisionengineer #faceattendance #facerecognition #livenessdetection #spoofingdetection #python

Пікірлер: 211
@ComputerVisionEngineer
@ComputerVisionEngineer 9 ай бұрын
Did you enjoy this video? Try my premium courses! 😃🙌😊 ● End-To-End Computer Vision: Build and Deploy a Video Summarization API bit.ly/3tyQX0M ● Hands-On Computer Vision in the Cloud: Building an AWS-based Real Time Number Plate Recognition System bit.ly/3RXrE1Y ● Machine Learning Entrepreneur: How to start your entrepreneurial journey as a freelancer and content creator bit.ly/4bFLeaC All my premium courses are available to the Computer Vision Experts in my Patreon. 😉 www.patreon.com/ComputerVisionEngineer
@MartijnC
@MartijnC Жыл бұрын
Thank you so much for making these videos, you helped me a lot! This was exactly what I needed for my project
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
😃 You are welcome, Martjin! I am happy you found it helpful! 😄🙌
@sardorbekyorqulov
@sardorbekyorqulov 5 ай бұрын
Super ! This is the tutorial we've been waiting for ! Thank you very much Bro !
@ComputerVisionEngineer
@ComputerVisionEngineer 5 ай бұрын
Cool! Glad you enjoyed it! You are welcome! 😃🙌
@manasehshamim3073
@manasehshamim3073 Жыл бұрын
I chose this project to get my session marks🤩 Thanks for being such an angel 😊 Thank you so much 🥰
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
You are welcome! 😊 Glad you enjoyed it! 😃💪
@clementasare5781
@clementasare5781 Жыл бұрын
Thank you Sir, for spending time to find solutions to help the windows users on the previous face attendance project, I am yet to try it out, thank you so much.
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
You are welcome! Let me know if it works! 😃🙌
@clementasare5781
@clementasare5781 Жыл бұрын
@@ComputerVisionEngineer Alright boss, I will do that.
@clementasare5781
@clementasare5781 Жыл бұрын
@@ComputerVisionEngineer please I have all the requirements installed. Registering a new user works but login in the user doesn't work and this error is thrown at the pycharm terminal: 'face-recognition' is not recognized as an internal or external command, operable program or batch file.
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
Have you pulled the latest changes?
@clementasare5781
@clementasare5781 Жыл бұрын
@@ComputerVisionEngineer yes please, I have done that.
@muhammadumarsotvoldiev8768
@muhammadumarsotvoldiev8768 9 ай бұрын
Thank you for your job! Respect for contribution to open source!!
@ComputerVisionEngineer
@ComputerVisionEngineer 9 ай бұрын
😃🙌
@ginormica2282
@ginormica2282 Жыл бұрын
Brilliant videos!! Quite informative and interesting 😊👍
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
Thank you! I am happy you enjoyed them! ☺️💪
@mochamaddarmawanhardjakusu7308
@mochamaddarmawanhardjakusu7308 10 ай бұрын
Brother, I want to say thank you very much, the program really runs smoothly and perfectly and now all I have to do is integrate this library into my web app which is made with face recognition using face-api.js. thank you very much brother!
@ComputerVisionEngineer
@ComputerVisionEngineer 10 ай бұрын
😃 Awesome!!!! You are welcome!! 🙂🙌
@msaichandan7446
@msaichandan7446 9 ай бұрын
i am getting error that: Can't open "deploy.prototxt" in function 'cv::dnn::ReadProtoFromTextFile' pls help
@zenpao
@zenpao Жыл бұрын
Thank you for this! I needed this for a small project and never know how to start since I'm just a beginner programmer.
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
😃 Glad it was helpful! 🙌
@hasheemakbarjarwar6875
@hasheemakbarjarwar6875 19 күн бұрын
Hi. I need a little help. @zenpao
@dungnguyeninh7142
@dungnguyeninh7142 10 ай бұрын
Awesome, thank you very much!
@ComputerVisionEngineer
@ComputerVisionEngineer 10 ай бұрын
You are welcome! Glad you enjoyed it! 😃🙌
@kingsamrat5746
@kingsamrat5746 Жыл бұрын
This video is very helpful thank u so much 😊🙏🏻
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
My pleasure! I am glad you find it useful! 😊🙌
@hasheemakbarjarwar6875
@hasheemakbarjarwar6875 19 күн бұрын
Hi. I need a little help @kingsamrat5746
@jaihodevil827
@jaihodevil827 5 ай бұрын
wonderful thank you for this video i learn a lot
@hamzawi2752
@hamzawi2752 Жыл бұрын
Thank you very much, that is awesome!
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
Yeap! It is a super cool application of computer vision! 😃💪
@DiegoMascheroni
@DiegoMascheroni 10 ай бұрын
Very good videos Felipe, you proved mediapipe? the face and pose recognition is awesome! Where are you from? you sound a little like a "rioplatence" guy :D
@ComputerVisionEngineer
@ComputerVisionEngineer 10 ай бұрын
Yeah, mediapipe is awesome! 😃 I am from Uruguay! 🇺🇾🙌
@msaichandan7446
@msaichandan7446 9 ай бұрын
i am getting error that: Can't open "deploy.prototxt" in function 'cv::dnn::ReadProtoFromTextFile' pls help
@nextgen9931
@nextgen9931 5 ай бұрын
Hello! I’m currently conducting research on face recognition and plan to use Angular for the interface. Could you please recommend some libraries that are compatible with Angular?
@vishnum7985
@vishnum7985 Жыл бұрын
Thank you so much!. Can you tell me if it is possible to detect only a specific people. Like people wearing a uniform?
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
Yes, training a model to detect people wearing an uniform, it would be possible! 😃💪
@KinzangTshering641
@KinzangTshering641 6 ай бұрын
i am doing a project whereby i need to allow students to register their face during the registration phase. the students should then be able to do their face verification using the app. is it possible to make this kind of model where i can allow dynamic training of the model for every student and not needing to train the model all over again. i want my app to be dynamic since students will be joining a school or college every year. i want to save the time required to collect data of students face. Please reply, it would be of great help to me
@user-yp5wt5bu5j
@user-yp5wt5bu5j 11 ай бұрын
Superb brother , but you should also make a video to explain how this spoofing works . good wishes .
@ComputerVisionEngineer
@ComputerVisionEngineer 11 ай бұрын
Thank you! Ok, noted, I will try to do it. 🙌
@ingluissantana
@ingluissantana Жыл бұрын
Thanks for the video!! Just by chance: Do you know a good course to learn the basics of computer vision? Maybe a MOOC but not coursera or edx.. hahaha one where you learn with theory and projects.. thanks!!!
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
You can take a look at my computer vision roadmap video, I updated the video description with specific resources to learn each module. 😃💪
@kurtlrnzv_
@kurtlrnzv_ 2 ай бұрын
Do you have a project about Face Recognition with RFID for Security Measures and Attendance Tracking?
@otomasyonplc1775
@otomasyonplc1775 3 ай бұрын
How can I turn this project into an exe? I'm getting an error. What should I do? I tried hard but it doesn't work.
@ardeahimawannugroho1331
@ardeahimawannugroho1331 Ай бұрын
What algorithm is used in face recognition?
@cesarlensterlunas3366
@cesarlensterlunas3366 Ай бұрын
hello can I add it to my laravel project ? i dont have idea ...if yes ill find solution for that thanks
@SlyFluffyFox
@SlyFluffyFox 10 ай бұрын
Good video sir
@ComputerVisionEngineer
@ComputerVisionEngineer 10 ай бұрын
Thank you! 🙂
@aldomunguia2048
@aldomunguia2048 4 ай бұрын
Hi Felipe, Greate video!!!!, one question, Does it work if I have 2 or more people, 2 real and one fake for example?
@ComputerVisionEngineer
@ComputerVisionEngineer 4 ай бұрын
2 or more people in the same picture? No, it is an image classifier, it classifies the image as fake or real.
@aldomunguia2048
@aldomunguia2048 4 ай бұрын
@@ComputerVisionEngineer Ohhh, thanks Sir, you are the best!
@shikhugupta2703
@shikhugupta2703 23 күн бұрын
Hello, the test.py you are working is not same as in repository. I am facing error. Can you please guide?
@abhishekmanhotra7177
@abhishekmanhotra7177 10 ай бұрын
Super useful video, thanks, can we make a attendance system using this system, where registration can be done with picture repository already available. Thanks
@ComputerVisionEngineer
@ComputerVisionEngineer 10 ай бұрын
Yeah, sure, it is possible! 😃🙌
@basavarajuhsbasavarajuhs1225
@basavarajuhsbasavarajuhs1225 18 күн бұрын
can you make tutorial explaining how the logout button works
@subinvasanthan
@subinvasanthan Жыл бұрын
Hi Felipe, Greate video, i have this issue of multiple people appearing in the frame.How can we address this?
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
Hey Subin, you want to apply the spoofing detection to all the faces in the frame? The model I use in the video was trained with only one person appearing in the frame at the time. You could try cropping the image around each face and apply the spoofing detector to each crop, I think the accuracy would drop significantly but you could try. Or, you can also train your own model so you can fit it to your specific use case. 🙌
@sanaaMedia
@sanaaMedia 9 ай бұрын
i love it :)
@s1f2z3
@s1f2z3 Жыл бұрын
Can I ask a question? How can I solve the freeze problem when use face_encodings from face_detection_pythob
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
Hey, the 'freeze problem'? what do you mean?
@s1f2z3
@s1f2z3 Жыл бұрын
@@ComputerVisionEngineer I have a project when I have to detect people so I did a live cam and in another thread face detection (I did it in a thread so the live won't freeze or drop frame or stop ) but even with that the live stop when the computer start encodings idk why It should not affect the main because it's a thread
@s.tunahanustuntepe2966
@s.tunahanustuntepe2966 Жыл бұрын
hello, can I transfer this process to android?
@mienardvalenzuela9970
@mienardvalenzuela9970 8 ай бұрын
what python version you use? because i keep having the dlib error
@ComputerVisionEngineer
@ComputerVisionEngineer 8 ай бұрын
You may need to install something before starting with this project. Take a look at the Readme file of this project's github repository, there are some steps you need to take first.
@moses5407
@moses5407 Жыл бұрын
Does the spoofing detector work against video input? Will it run on-device only,i.e. no server connection?
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
Hey Jim, you could extract frames from the video and apply the spoofing detector to each frame. You may be able to run it on a jetson nano. 🙌
@jeanmi8184
@jeanmi8184 Жыл бұрын
thanks
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
My pleasure! 😃💪
@19_3c_reinaldoriswantosapu8
@19_3c_reinaldoriswantosapu8 Жыл бұрын
What algorithm you use , sir ?
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
Do you mean the spoofing detection? In the readme file of this project's github repository there is a link to the algorithm I am using as spoofing detector. 🙌
@user-vu5do2ne3n
@user-vu5do2ne3n Жыл бұрын
Can I ask a question? When I read frames from the camera and saved them for verification, I found that the real face was also judged to be a fake face. But when I use my phone's camera to take a picture to detect the real face, is it because my laptop camera is too low pixel? Is your camera 720P or higher? Can you please tell me what could be the reason for this?
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
There could be a variety of reasons for this. Your laptop camera may be of a lower resolution or it may be related to the images this model was trained on, maybe it performs better with selfy-like images taken from a cell phone. 🙌
@asimhabib5336
@asimhabib5336 Жыл бұрын
Thank you very much dear teacher.. .... I have a problem when unknown person come and face detect not say unknown person say the name of someone who known person before..means mixing it how i can solve it please
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
Hey Asim, not sure if I understand, is your problem related to the face recognition?
@sethuraman9884
@sethuraman9884 Жыл бұрын
​@@ComputerVisionEngineerhe saying that if someother person who doesn't register yet shows his face towards camera it is not saying as unknown person instead it is saying as some other previously registered person's name. So how can we over come this problem and yes this problem is related to face recognition
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
@@sethuraman9884 Oh I see, thanks for the explanation. Try this: go to util.recognize function, and edit this line face_recognition.compare_faces([embeddings], embeddings_unknown)[0] changing the tolerance value, something like face_recognition.compare_faces([embeddings], embeddings_unknown, tolerance=0.4)[0]. The default value of tolerance is 0.6, lower means the comparison is more strict. Let me know how it goes! 💪
@renaldivalentinot3012
@renaldivalentinot3012 Жыл бұрын
Hi, your demo apps it's great. Can you have an explained what method do you have for this apps. Thanks sir..
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
Hey Renaldi, I am glad you enjoyed it! Regarding the methods, or features, of this app, I invite you to take a look at the github repository of this project and the additional videos regarding the face attendance system! 😃🙌
@ShubhangiKancharwale
@ShubhangiKancharwale Жыл бұрын
can we mark attendance from mobile also or this is only desktop application
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
Hey Shubhangi, this is only a desktop app, but I have another tutorial about a face attendance web app (kzfaq.info/get/bejne/r72dipimqtqyp6c.html). It is only the base face attendance functionality, without liveness detection, but following this tutorial I am sure you could edit the web project to add the liveness detection feature! 😃💪
@amirmaher6136
@amirmaher6136 10 ай бұрын
Hello sir, Great tutorial, I really enjoyed following along with the first video as well as this one. However, I am getting an error this one "Image is not appropriate!!! Height/Width should be 4/3. Image is not appropriate!!! Height/Width should be 4/3. Image is not appropriate!!! Height/Width should be 4/3. Image is not appropriate!!! Height/Width should be 4/3."
@ShivaniShenai-xf2ny
@ShivaniShenai-xf2ny Ай бұрын
Same
@therealjasontodd1
@therealjasontodd1 Жыл бұрын
great video sir
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
Thank you! I am happy you enjoyed it. 😊🙌
@therealjasontodd1
@therealjasontodd1 Жыл бұрын
​@@ComputerVisionEngineer can i ask what machine learning algorithm you use for both anti spoofing and face recog?
@user-hs9bh5dk1y
@user-hs9bh5dk1y 3 ай бұрын
Sir I need this project in react or javascript. Please make same project with Js
@supratikdeshmukh3014
@supratikdeshmukh3014 2 ай бұрын
How to change window title ("tk")?
@adityasaiakella1287
@adityasaiakella1287 4 ай бұрын
is this practially applicable irl?
@spicedream1612
@spicedream1612 Жыл бұрын
It is artificial intelligence based face recognition
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
Hey, yeah exactly the face recognition and the spoofing detection are based on machine learning! 🙌
@kathrynacosta1971
@kathrynacosta1971 8 ай бұрын
Hello sir can I have a tutorial in Smart Security Surveillance?
@mahmoudaero
@mahmoudaero Жыл бұрын
A lot of thanks please i have error with this line from test import test ImportError: cannot import name 'lookup' from 'test' (unknown location) can you help
@MarwanMusa
@MarwanMusa Жыл бұрын
you should add Anti-Spoofing repo to your path or move your main.py and util.py in the repo
@ulrichminkoulou6722
@ulrichminkoulou6722 Жыл бұрын
please help me cv2.error: OpenCV(4.6.0) :-1: error: (-5:Bad argument) in function 'resize' > Overload resolution failed: > - Can't parse 'dsize'. Input argument doesn't provide sequence protocol > - Can't parse 'dsize'. Input argument doesn't provide sequence protocol
@MarwanMusa
@MarwanMusa Жыл бұрын
in your main.py, there is a method "process_webcam" and self.cap.read() has 2 value to return did you just write "frame = self.cap.read()"?
@bbb-xu7wx
@bbb-xu7wx Жыл бұрын
hi sir firstly thank you for your videos ı watched all of them with pleasure but ı have got a problem with the face-recognition library ı am using macOS and the python version is 3.8
@bbb-xu7wx
@bbb-xu7wx Жыл бұрын
note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure × Encountered error while trying to install package. ╰─> dlib
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
Hey, I am glad you enjoy my videos! 😃 Have you tried searching for the error in Google? I found this thread on dlib repository github.com/davisking/dlib/issues/2695 Let me know if it is helps! 🙌
@bbb-xu7wx
@bbb-xu7wx Жыл бұрын
@@ComputerVisionEngineer hey o solved this problem but this time when ı add new user the image saved database with .pickle format and the login and logout button not working
@bbb-xu7wx
@bbb-xu7wx Жыл бұрын
Exception in Tkinter callback Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/tkinter/__init__.py", line 1883, in __call__ return self.func(*args) File "/Users/bakiseren/PycharmProjects/v1/face-attendance-system/main.py", line 61, in login label = test(image=self.most_recent_capture_arr, File "/Users/bakiseren/PycharmProjects/v1/face-attendance-system/Silent-Face-Anti-Spoofing/test.py", line 47, in test h_input, w_input, model_type, scale = parse_model_name(model_name) File "/Users/bakiseren/PycharmProjects/v1/face-attendance-system/Silent-Face-Anti-Spoofing/src/utility.py", line 29, in parse_model_name h_input, w_input = info[-1].split('x') ValueError: not enough values to unpack (expected 2, got 1)
@bbb-xu7wx
@bbb-xu7wx Жыл бұрын
sorry for writing agin sir but do you have got any idea how to fix this problem ?
@shahhussain5563
@shahhussain5563 3 ай бұрын
Sir would you please make this same tutorial in web with javascript. Please it's a request.
@inf009
@inf009 Ай бұрын
Is there a javascript alternative?
@zh1429
@zh1429 Жыл бұрын
Very great video, very simple and easy to follow Are there by chance any simple way to integrate people wearing face masks along side with this liveness detection?
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
Thank you! I am glad you enjoyed it. 😄 Something like only allowing the login / logout if the user is wearing a mask? Mmm it is possible, but I guess the mask could affect the face recognition accuracy.
@ireallydontcare1422
@ireallydontcare1422 8 ай бұрын
Will this work on a face mask? If I wear a mask of my face over my face will this be able to detect spoofing?
@ComputerVisionEngineer
@ComputerVisionEngineer 8 ай бұрын
Do you mean a medical face mask or do you mean a mask impersonating someone else?
@anasali2731
@anasali2731 5 ай бұрын
Sir can you can make this same program for attendance system with database which store date and time too?
@ComputerVisionEngineer
@ComputerVisionEngineer 5 ай бұрын
I will try to. 🙌
@brianchook1567
@brianchook1567 Жыл бұрын
Hey may I know is it work on Mac as well?
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
Hey Brian, yeah it should work well on Mac! 😃
@brianchook1567
@brianchook1567 Жыл бұрын
Alright thank you 🙏🏼
@ElevateEveryday207
@ElevateEveryday207 Жыл бұрын
Hey my from test import test is showing error you can suggest me how to slove that problem
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
Hey please take a look at the project's repository, you need to add the Silent-Face-Anti-Spoofing directory to your PYTHONPATH. 🙌
@ElevateEveryday207
@ElevateEveryday207 Жыл бұрын
Hey it showing error while I clone the anti spoofing. It show clone succeeded but check out fail. You can inspect what was checked out with git status and retry with git restore -- source=HEAD :/
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
'Git clone ' is giving you an error? You can also download it as a zip file
@ElevateEveryday207
@ElevateEveryday207 Жыл бұрын
That error is solve.But I found the new error
@ElevateEveryday207
@ElevateEveryday207 Жыл бұрын
The error is self.detector = cv2.dnn.readNetFromCaffe cv2.error: open Cv(4.6.0)can't open
@salinabaig1713
@salinabaig1713 10 ай бұрын
how to face recognition with c#
@princeloliyana4951
@princeloliyana4951 Жыл бұрын
very great video but some error to run in my system .i can not solve it plz help me .
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
Hey, what error do you get?
@abdulrehmananwar6990
@abdulrehmananwar6990 Жыл бұрын
Can we convert this to Android app using local database like sqlite???
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
Hey, the spoofing detector model is in Pytorch, converting Pytorch models to Android is challenging sometimes. If the model conversion doesn't work you could try serving the model through an API and then just calling the API from your android app! 🙂🙌
@abdulrehmananwar6990
@abdulrehmananwar6990 Жыл бұрын
@@ComputerVisionEngineer in case of no network so API dont work. Thats why i want to implement it on independent device which work also in offline mode
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
Ok, noted. I see there are a few tutorials on how to convert a Pytorch model to android, you may try them out. Also, I did a quick search on GitHub and found a liveness detection sdk for Android, search for Face-Liveness-Detection-SDK-Android, it may be easier than trying to convert this model. 💪💪
@kamakiapeter7815
@kamakiapeter7815 9 ай бұрын
@@ComputerVisionEngineer good lord. and pytorch spoofing detector model for js?,
@PANDURANG99
@PANDURANG99 9 ай бұрын
is it applicable for group of people ?
@ComputerVisionEngineer
@ComputerVisionEngineer 9 ай бұрын
Yes, it is applicable to a group of people. 🙌
@bagusandrewijaya
@bagusandrewijaya 8 ай бұрын
sorry sir i just wanna know how about someone change the clothes or something like use hat or use glasses?
@ComputerVisionEngineer
@ComputerVisionEngineer 8 ай бұрын
Do you mean if the face recognition would work if a person change clothes or use a hat or similar accessories?
@bagusandrewijaya
@bagusandrewijaya 8 ай бұрын
@@ComputerVisionEngineer yes you know what i mean
@ComputerVisionEngineer
@ComputerVisionEngineer 8 ай бұрын
@@bagusandrewijaya yeah I think it would still work, it matches the person's face. 🙌
@wpontog
@wpontog Жыл бұрын
Please, How do i put a logo on the window?
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
Hey, you should take a look at Tkinter documentation, I think you should be able to do it using a Label object.
@wpontog
@wpontog Жыл бұрын
@@ComputerVisionEngineer thank you
@visa8787
@visa8787 Жыл бұрын
Is this servant on the phone? Thanks
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
The app I show you how to make in this video is a a desktop app made in Python. 🙌
@visa8787
@visa8787 Жыл бұрын
@@ComputerVisionEngineerIs there a phone script? Thanks
@ompagar4502
@ompagar4502 6 ай бұрын
When we login it shows fake face give the solution
@dharmatejasunkara8237
@dharmatejasunkara8237 3 ай бұрын
Did you find the solution?
@AliEjaz-ne1ei
@AliEjaz-ne1ei Жыл бұрын
where is the link for the new repository?
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
Hey Ali, the link to the repository is in the video description.
@NitishRaj
@NitishRaj 7 ай бұрын
can we do using YOLO v8?
@ComputerVisionEngineer
@ComputerVisionEngineer 7 ай бұрын
You could train the image classifier using Yolo v8, yes.
@ashutoshgupta2758
@ashutoshgupta2758 10 ай бұрын
Hi Accuracy is not good when I show replay (video) attack
@ComputerVisionEngineer
@ComputerVisionEngineer 10 ай бұрын
Hey, ok, noted.I think it is a good repository to take as a baseline, you would need to fine tune the models in order to improve the accuracy. 🙌
@msaichandan7446
@msaichandan7446 9 ай бұрын
i am getting error that: Can't open "deploy.prototxt" in function 'cv::dnn::ReadProtoFromTextFile'
@Ninjaxftw
@Ninjaxftw 7 ай бұрын
@@msaichandan7446 Have you fixed this error ? I'm on the same boat.
@msaichandan7446
@msaichandan7446 7 ай бұрын
@@Ninjaxftw not yet bro,just left that......by the way if u want I can share u the same project git hub link
@Ninjaxftw
@Ninjaxftw 6 ай бұрын
@@msaichandan7446 I was able to fix it, but I'm not sure how. I tried deleting everything and downloading again, and I also moved my directory to a path that doesn't have any special character nor space.
@j.slabangsutring6583
@j.slabangsutring6583 Жыл бұрын
Sir, could you do tutorial of anti spoofing on java? I have done Face Attendance System using javaCV. And I would like to add Liveness detection on my project. Can you help me solve the issue?
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
Hey, there are many ways you could do it. Here you have a couple of ideas: You could take the model I use in the video and make it available through an API, then call the API from your javascript app. You could also train your own model with tensorflow and then convert it to tensorflow js, so you execute it from javascript. 🙌
@j.slabangsutring6583
@j.slabangsutring6583 Жыл бұрын
Thank you, Sir.
@abhishekkaintura6398
@abhishekkaintura6398 3 ай бұрын
please help me so that i can prevent recorded video also
@arshaan16
@arshaan16 Жыл бұрын
why is label printing 2 in my case
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
Not sure why, is it printing 2 every time?
@nguyenngocun2331
@nguyenngocun2331 8 ай бұрын
hi, i'm on mac. i got error when importing test from test
@ComputerVisionEngineer
@ComputerVisionEngineer 7 ай бұрын
Have you cloned the spoofing repository and added the Silent-Face-Anti-Spoofing directory to your PYTHONPATH?
@nguyenngocun2331
@nguyenngocun2331 7 ай бұрын
@@ComputerVisionEngineer Thanks for the response! I got it worked by correctly added the spoofing directory to my PYTHONPATH. Do you have any ideas for displaying the similarity percentage when matching face?
@sherzodnurullayev1239
@sherzodnurullayev1239 5 ай бұрын
I tried this repo, but model is always saying "Real Face" no matter it's real or fake....
@ComputerVisionEngineer
@ComputerVisionEngineer 5 ай бұрын
The model out of the box may not be perfectly accurate on new data, in order to make it better you would need to re-train it with your data. 🙌
@sherzodnurullayev1239
@sherzodnurullayev1239 5 ай бұрын
@@ComputerVisionEngineer Okay, then probably I will train this model on my own dataset. Whenever I have questions while trying this model, may I ask you to guide me?
@ranamedhi2905
@ranamedhi2905 Жыл бұрын
How to duplicate in face detection attendance
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
Hey Rana, how to duplicate? What do you mean?
@dhiraj9352
@dhiraj9352 Жыл бұрын
I am facing error in face package requirements == 1.3.0 error how to solve it pls help 🥲
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
Hey, what is your OS and your Python version?
@khushichhetri8051
@khushichhetri8051 Жыл бұрын
Sir these errors are coming how to resolve it? File "c:\Users\Khushi Chhetri\Downloads\face-attendance-system-master\face-attendance-system-master\main.py", line 154, in app = App() File "c:\Users\Khushi Chhetri\Downloads\face-attendance-system-master\face-attendance-system-master\main.py", line 32, in __init__ self.add_webcam(self.webcam_label) File "c:\Users\Khushi Chhetri\Downloads\face-attendance-system-master\face-attendance-system-master\main.py", line 45, in add_webcam self.process_webcam() File "c:\Users\Khushi Chhetri\Downloads\face-attendance-system-master\face-attendance-system-master\main.py", line 51, in process_webcam img_ = cv2.cvtColor(self.most_recent_capture_arr, cv2.COLOR_BGR2RGB) cv2.error: OpenCV(4.7.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor'
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
Hey! Try to see if you are reading frames from the camera successfuly. What OS and version of Python are you using?
@khushichhetri8051
@khushichhetri8051 Жыл бұрын
@@ComputerVisionEngineer os-windows python version = 8.9
@lensqend9731
@lensqend9731 Жыл бұрын
i get the same errors if i delete the "from test import test" in line 11
@PratapSingh-cl6yk
@PratapSingh-cl6yk Жыл бұрын
I am getting the same error, were you successful in resolving this error? If yes then how?
@ArpithaV-qx2rf
@ArpithaV-qx2rf 8 ай бұрын
I'm getting the same error can u please help me to resolve this
@joannemariecarreon9602
@joannemariecarreon9602 Жыл бұрын
does this work on Windows 10?
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
It should. Make sure you follow the steps which are described in the github repository of this project. 💪💪
@joannemariecarreon9602
@joannemariecarreon9602 Жыл бұрын
@@ComputerVisionEngineer thank you dear sir!
@lensqend9731
@lensqend9731 Жыл бұрын
Hey i also get an error 😟 this one "Traceback (most recent call last): File "C:\Users\hiwad\PycharmProjects\FaceAttendance\face-attendance-system\main.py", line 11, in from test import test ImportError: cannot import name 'test' from 'test' (C:\Users\hiwad\AppData\Local\Programs\Python\Python39\lib\test\__init__.py)" i use os= Windows 10 and python version 3.9 . If somebody can help please :) And Great job you do by the way😄 love the content
@lensqend9731
@lensqend9731 Жыл бұрын
i also installed visual studio code before and then the extensions for c++ and cmake tools
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
Hey, it seems you have a problem with the import. I think it is trying to find the function within another 'test' module. Maybe the easiest fix is just renaming test.py to another name, for example spoofingtest.py, and then importing the function as 'from spoofingtest import test'. That should work. Try it and let me know! 🙌
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
Also, have you added the Silent-Face-Anti-Spoofing directory to your PYTHONPATH?
@lensqend9731
@lensqend9731 Жыл бұрын
@@ComputerVisionEngineer i couldnt even start the application at the beginning like you did 😅 so ididnt do that spoofing thing 😅
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
@@lensqend9731 try adding the Silent-Face-Anti-Spoofing directory to your PYTHONPATH
@Mareafatima
@Mareafatima Ай бұрын
How to make fake facial recognition?
@lakshmann9825
@lakshmann9825 8 ай бұрын
20:14
@riturajbhardwaj7271
@riturajbhardwaj7271 Ай бұрын
This is running very slow
@kaoruseiki1433
@kaoruseiki1433 Жыл бұрын
hi, sorry for interrupt again, after i follow all instruction i am able to run the code HOWEVER the tk window remain black. Can i have your contact like email something? i want to show you the screenshot.
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
Hey Kaoru, I will be happy to help you. You could create a new issue in the github repository of this project and post the screenshot there. 🙌
@kaoruseiki1433
@kaoruseiki1433 Жыл бұрын
@@ComputerVisionEngineer posted, please help. thank you so much 😭
@__k__3192
@__k__3192 Жыл бұрын
Hello sir, Great tutorial, I really enjoyed following along with the first video as well as this one. However, I am getting an error after launching in this video's code pertaining to pickle library, tried every possible way to resolve it but am unsuccessful, can you please help in it? Exception in Tkinter callback Traceback (most recent call last): File "C:\Users\KRITI\AppData\Local\Programs\Python\Python39\lib\tkinter\_init.py", line 1885, in __call_ return self.func(*args) File "C:\Users\KRITI\PycharmProjects\faceRec\venv\main.py", line 70, in login name = util.recognize(self.most_recent_capture_arr, self.db_dir) File "C:\Users\KRITI\PycharmProjects\faceRec\venv\util.py", line 66, in recognize embeddings = pickle.load(file, encoding='utf-32') _pickle.UnpicklingError: invalid load key, '\xff'.
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
Hey, so you are dumping the pickle files with no problem but you are getting this error when trying to load the files? Pickle is only a way to save the embeddings, you could replace it by a different package like joblib for example.
@iamredhood111
@iamredhood111 Жыл бұрын
i have this error File "C:\Users\Archie\Downloads\face-attendance-system-master\main.py", line 153, in app = App() File "C:\Users\Archie\Downloads\face-attendance-system-master\main.py", line 31, in __init__ self.add_webcam(self.webcam_label) File "C:\Users\Archie\Downloads\face-attendance-system-master\main.py", line 44, in add_webcam self.process_webcam() File "C:\Users\Archie\Downloads\face-attendance-system-master\main.py", line 50, in process_webcam img_ = cv2.cvtColor(self.most_recent_capture_arr, cv2.COLOR_BGR2RGB) cv2.error: OpenCV(4.6.0) C:\Users\Archie\AppData\Local\Temp\pip-install-6av9zsfo\opencv-python\opencv\modules\imgproc\src\color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor'
@ShivaniShenai-xf2ny
@ShivaniShenai-xf2ny Ай бұрын
You can try resolving by updating VideoCapture(2) to VideoCapture(0). def add_webcam(self, label): if 'cap' not in self.__dict__: self.cap = cv2.VideoCapture(0) self._label = label self.process_webcam()
@maryamalamri5568
@maryamalamri5568 Жыл бұрын
Cloning into 'Silent-Face-Anti-Spoofing'... remote: Enumerating objects: 367, done. remote: Total 367 (delta 0), reused 0 (delta 0), pack-reused 367Receiving objects: 98% (360/367), 18.78 MiB | 8.74 MiB/Receiving objects: 100% (367/367), 18.78 MiB | 8.74 MiB/s Receiving objects: 100% (367/367), 26.04 MiB | 10.23 MiB/s, done. Resolving deltas: 100% (163/163), done. error: invalid path 'saved_logs/jobs/Anti_Spoofing_1_80x80/Jul08_12-51-18 /events.out.tfevents.1594183888.old01' fatal: unable to checkout working tree warning: Clone succeeded, but checkout failed. You can inspect what was checked out with 'git status' and retry with 'git restore --source=HEAD :/'
@vuz35-ngovan39
@vuz35-ngovan39 Жыл бұрын
me too
@supratikdeshmukh3014
@supratikdeshmukh3014 2 ай бұрын
How to change window title ("tk")?
Face attendance + face recognition with Python | Computer vision tutorial
1:15:30
Computer vision engineer
Рет қаралды 121 М.
3 Python Projects I’d Put On MY Resume
14:49
Tech With Tim
Рет қаралды 38 М.
How many pencils can hold me up?
00:40
A4
Рет қаралды 19 МЛН
Каха инструкция по шашлыку
01:00
К-Media
Рет қаралды 2,5 МЛН
Indian sharing by Secret Vlog #shorts
00:13
Secret Vlog
Рет қаралды 59 МЛН
Can you study video games? - Liquid Stories by Liquid Swords
2:54
Build HTML Face Login App With Face Recognition #flask
26:39
Sri Edy Nurcahyo
Рет қаралды 7 М.
Code with me using Python and AI to build a face detection app
10:55
Face Liveness Detection In Face Recognition
47:48
Prabhat Ale
Рет қаралды 24 М.