Did you enjoy this video? Try my premium courses! 😃🙌😊 ● Hands-On Computer Vision in the Cloud: Building an AWS-based Real Time Number Plate Recognition System bit.ly/3RXrE1Y ● End-To-End Computer Vision: Build and Deploy a Video Summarization API bit.ly/3tyQX0M ● Computer Vision on Edge: Real Time Number Plate Recognition on an Edge Device bit.ly/4dYodA7 ● Machine Learning Entrepreneur: How to start your entrepreneurial journey as a freelancer and content creator bit.ly/4bFLeaC Learn to create AI-based prototypes in the Computer Vision School! www.computervision.school 😃🚀🎓
@clementasare57812 жыл бұрын
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.
@ComputerVisionEngineer2 жыл бұрын
You are welcome! Let me know if it works! 😃🙌
@clementasare57812 жыл бұрын
@@ComputerVisionEngineer Alright boss, I will do that.
@clementasare57812 жыл бұрын
@@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.
@ComputerVisionEngineer2 жыл бұрын
Have you pulled the latest changes?
@clementasare57812 жыл бұрын
@@ComputerVisionEngineer yes please, I have done that.
@MartijnC Жыл бұрын
Thank you so much for making these videos, you helped me a lot! This was exactly what I needed for my project
@ComputerVisionEngineer Жыл бұрын
😃 You are welcome, Martjin! I am happy you found it helpful! 😄🙌
@harshids5 ай бұрын
Hii
@sardorbekyorqulov Жыл бұрын
Super ! This is the tutorial we've been waiting for ! Thank you very much Bro !
@ComputerVisionEngineer Жыл бұрын
Cool! Glad you enjoyed it! You are welcome! 😃🙌
@enemysahead16262 Жыл бұрын
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 Жыл бұрын
😃 Awesome!!!! You are welcome!! 🙂🙌
@msaichandan7446 Жыл бұрын
i am getting error that: Can't open "deploy.prototxt" in function 'cv::dnn::ReadProtoFromTextFile' pls help
@manasehmeta Жыл бұрын
I chose this project to get my session marks🤩 Thanks for being such an angel 😊 Thank you so much 🥰
@ComputerVisionEngineer Жыл бұрын
You are welcome! 😊 Glad you enjoyed it! 😃💪
@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 Жыл бұрын
😃 Glad it was helpful! 🙌
@hasheemakbarjarwar68757 ай бұрын
Hi. I need a little help. @zenpao
@ardeahimawannugroho13318 ай бұрын
What algorithm is used in face recognition?
@muhammadumarsotvoldiev8768 Жыл бұрын
Thank you for your job! Respect for contribution to open source!!
@ComputerVisionEngineer Жыл бұрын
😃🙌
@HeyNikoReal10 күн бұрын
also what is the best algorithm from economic, manufacture, and suitanability? like from faster machine recongition face, or from minim layer, or else, which is like green algorithm and high accurate also fast? ( if we got around 30 people for training) also for 1 people what minimal photo and pose category must we use? and how about background? lighting? emotion mimic? sorry many asking, i really excited. please answer. tq
@sugilanonphtv21 күн бұрын
awesome code! thanks for sharing its working.
@HeyNikoReal10 күн бұрын
may i know whats your algorithm you used for the face recognition?
@citoyendumonde90832 ай бұрын
Thank you Felipe, well done !
@ComputerVisionEngineer2 ай бұрын
😃🙌
@ginormica22822 жыл бұрын
Brilliant videos!! Quite informative and interesting 😊👍
@ComputerVisionEngineer2 жыл бұрын
Thank you! I am happy you enjoyed them! ☺️💪
@ParthivGajipara Жыл бұрын
Superb brother , but you should also make a video to explain how this spoofing works . good wishes .
@ComputerVisionEngineer Жыл бұрын
Thank you! Ok, noted, I will try to do it. 🙌
@otomasyonplc17759 ай бұрын
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.
@dungnguyeninh7142 Жыл бұрын
Awesome, thank you very much!
@ComputerVisionEngineer Жыл бұрын
You are welcome! Glad you enjoyed it! 😃🙌
@jaihodevil82711 ай бұрын
wonderful thank you for this video i learn a lot
@FlamboyantArtАй бұрын
Fix that issue with eye blinking. While tracking face enable eye blinking recognition. If eyes blink it triggers face recognition... then you can wrapp that with full body recognition etc. Relying only face recognition is not recomended if using opencv with haar cascades even if you make low treshold for distance when you get positive...
@s.tunahanustuntepe2966 Жыл бұрын
hello, can I transfer this process to android?
@kingsamrat5746 Жыл бұрын
This video is very helpful thank u so much 😊🙏🏻
@ComputerVisionEngineer Жыл бұрын
My pleasure! I am glad you find it useful! 😊🙌
@hasheemakbarjarwar68757 ай бұрын
Hi. I need a little help @kingsamrat5746
@miqbal_sis3 ай бұрын
What if user plays a video of your face login? Or a 3d scultpure???
@UT_BHUTAN Жыл бұрын
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
@basavarajuhsbasavarajuhs12255 ай бұрын
@ComputerVisionEngineer hello I'm a windows user has u suggested I'm using VISUAL STUDIO 2022, after cloning the spoofing detection project do i need to change the source folder link you did or will execute fine without making it the source
@hamzawi27522 жыл бұрын
Thank you very much, that is awesome!
@ComputerVisionEngineer2 жыл бұрын
Yeap! It is a super cool application of computer vision! 😃💪
@3dmixer5523 ай бұрын
I'm getting this error: from src.anti_spoof_predict import AntiSpoofPredict ModuleNotFoundError: No module named 'src' any idea why? Thanks
@cesarlensterlunas33668 ай бұрын
hello can I add it to my laravel project ? i dont have idea ...if yes ill find solution for that thanks
@spicedream1612 Жыл бұрын
It is artificial intelligence based face recognition
@ComputerVisionEngineer Жыл бұрын
Hey, yeah exactly the face recognition and the spoofing detection are based on machine learning! 🙌
@shikhugupta27037 ай бұрын
Hello, the test.py you are working is not same as in repository. I am facing error. Can you please guide?
@kurtlrnzv_8 ай бұрын
Do you have a project about Face Recognition with RFID for Security Measures and Attendance Tracking?
@almostrandomnickname3 ай бұрын
good stuff man. thanks.
@supratikdeshmukh30148 ай бұрын
How to change window title ("tk")?
@ashutoshgupta2758 Жыл бұрын
Hi Accuracy is not good when I show replay (video) attack
@ComputerVisionEngineer Жыл бұрын
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 Жыл бұрын
i am getting error that: Can't open "deploy.prototxt" in function 'cv::dnn::ReadProtoFromTextFile'
@Ninjaxftw Жыл бұрын
@@msaichandan7446 Have you fixed this error ? I'm on the same boat.
@msaichandan7446 Жыл бұрын
@@Ninjaxftw not yet bro,just left that......by the way if u want I can share u the same project git hub link
@Ninjaxftw Жыл бұрын
@@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.
@s1f2z3 Жыл бұрын
Can I ask a question? How can I solve the freeze problem when use face_encodings from face_detection_pythob
@ComputerVisionEngineer Жыл бұрын
Hey, the 'freeze problem'? what do you mean?
@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
@HussainShah-y1s9 ай бұрын
Sir I need this project in react or javascript. Please make same project with Js
@nextgen9931 Жыл бұрын
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?
@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 Жыл бұрын
Hey Asim, not sure if I understand, is your problem related to the face recognition?
@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 Жыл бұрын
@@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! 💪
@anasali2731 Жыл бұрын
Sir can you can make this same program for attendance system with database which store date and time too?
@ComputerVisionEngineer Жыл бұрын
I will try to. 🙌
@venkatasaipriyanichenametl39885 ай бұрын
Hello sir, this is a great project but when I am trying to run your project, I always get error as image = cv2.resize(image, (int(image.shape[0] * 3 / 4), image.shape[0])) AttributeError: 'str' object has no attribute 'shape' and also no matter what at login and logout I only get output as "You are fake". Can you please help me understand how to fix this error.
@aldomunguia204811 ай бұрын
Hi Felipe, Greate video!!!!, one question, Does it work if I have 2 or more people, 2 real and one fake for example?
@ComputerVisionEngineer11 ай бұрын
2 or more people in the same picture? No, it is an image classifier, it classifies the image as fake or real.
@aldomunguia204811 ай бұрын
@@ComputerVisionEngineer Ohhh, thanks Sir, you are the best!
@DiegoMascheroni Жыл бұрын
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 Жыл бұрын
Yeah, mediapipe is awesome! 😃 I am from Uruguay! 🇺🇾🙌
@msaichandan7446 Жыл бұрын
i am getting error that: Can't open "deploy.prototxt" in function 'cv::dnn::ReadProtoFromTextFile' pls help
@vishnum79852 жыл бұрын
Thank you so much!. Can you tell me if it is possible to detect only a specific people. Like people wearing a uniform?
@ComputerVisionEngineer2 жыл бұрын
Yes, training a model to detect people wearing an uniform, it would be possible! 😃💪
@kathrynacosta1971 Жыл бұрын
Hello sir can I have a tutorial in Smart Security Surveillance?
@inf0098 ай бұрын
Is there a javascript alternative?
@abhishekmanhotra7177 Жыл бұрын
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 Жыл бұрын
Yeah, sure, it is possible! 😃🙌
@shahhussain55639 ай бұрын
Sir would you please make this same tutorial in web with javascript. Please it's a request.
@subinvasanthan Жыл бұрын
Hi Felipe, Greate video, i have this issue of multiple people appearing in the frame.How can we address this?
@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. 🙌
@adityasaiakella128711 ай бұрын
is this practially applicable irl?
@renaldivalentinot3012 Жыл бұрын
Hi, your demo apps it's great. Can you have an explained what method do you have for this apps. Thanks sir..
@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! 😃🙌
@princeloliyana4951 Жыл бұрын
very great video but some error to run in my system .i can not solve it plz help me .
@ComputerVisionEngineer Жыл бұрын
Hey, what error do you get?
@moses5407 Жыл бұрын
Does the spoofing detector work against video input? Will it run on-device only,i.e. no server connection?
@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. 🙌
@mienardvalenzuela9970 Жыл бұрын
what python version you use? because i keep having the dlib error
@ComputerVisionEngineer Жыл бұрын
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.
@19_3c_reinaldoriswantosapu8 Жыл бұрын
What algorithm you use , sir ?
@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. 🙌
@salinabaig1713 Жыл бұрын
how to face recognition with c#
@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 Жыл бұрын
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()"?
@wpontog Жыл бұрын
Please, How do i put a logo on the window?
@ComputerVisionEngineer Жыл бұрын
Hey, you should take a look at Tkinter documentation, I think you should be able to do it using a Label object.
@wpontog Жыл бұрын
@@ComputerVisionEngineer thank you
@bagusandrewijaya Жыл бұрын
sorry sir i just wanna know how about someone change the clothes or something like use hat or use glasses?
@ComputerVisionEngineer Жыл бұрын
Do you mean if the face recognition would work if a person change clothes or use a hat or similar accessories?
@bagusandrewijaya Жыл бұрын
@@ComputerVisionEngineer yes you know what i mean
@ComputerVisionEngineer Жыл бұрын
@@bagusandrewijaya yeah I think it would still work, it matches the person's face. 🙌
@nguyenngocun2331 Жыл бұрын
hi, i'm on mac. i got error when importing test from test
@ComputerVisionEngineer Жыл бұрын
Have you cloned the spoofing repository and added the Silent-Face-Anti-Spoofing directory to your PYTHONPATH?
@nguyenngocun2331 Жыл бұрын
@@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?
@abhishekkaintura639810 ай бұрын
please help me so that i can prevent recorded video also
@arshaan16 Жыл бұрын
why is label printing 2 in my case
@ComputerVisionEngineer Жыл бұрын
Not sure why, is it printing 2 every time?
@NitishRaj Жыл бұрын
can we do using YOLO v8?
@ComputerVisionEngineer Жыл бұрын
You could train the image classifier using Yolo v8, yes.
@ShubhangiKancharwale Жыл бұрын
can we mark attendance from mobile also or this is only desktop application
@ComputerVisionEngineer Жыл бұрын
Hey Shubhangi, this is only a desktop app, but I have another tutorial about a face attendance web app (kzbin.info/www/bejne/r4jQiGiretmBrdU). 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! 😃💪
@AliEjaz-ne1ei Жыл бұрын
where is the link for the new repository?
@ComputerVisionEngineer Жыл бұрын
Hey Ali, the link to the repository is in the video description.
@crystallemon-v7r Жыл бұрын
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 Жыл бұрын
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. 🙌
@ireallydontcare1422 Жыл бұрын
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 Жыл бұрын
Do you mean a medical face mask or do you mean a mask impersonating someone else?
@ranamedhi2905 Жыл бұрын
How to duplicate in face detection attendance
@ComputerVisionEngineer Жыл бұрын
Hey Rana, how to duplicate? What do you mean?
@ingluissantana2 жыл бұрын
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!!!
@ComputerVisionEngineer2 жыл бұрын
You can take a look at my computer vision roadmap video, I updated the video description with specific resources to learn each module. 😃💪
@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 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
@@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 Жыл бұрын
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 Жыл бұрын
sorry for writing agin sir but do you have got any idea how to fix this problem ?
@abdulrehmananwar6990 Жыл бұрын
Can we convert this to Android app using local database like sqlite???
@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 Жыл бұрын
@@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 Жыл бұрын
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. 💪💪
@lolguy-x9n Жыл бұрын
@@ComputerVisionEngineer good lord. and pytorch spoofing detector model for js?,
@kouheiytshorts Жыл бұрын
great video sir
@ComputerVisionEngineer Жыл бұрын
Thank you! I am happy you enjoyed it. 😊🙌
@kouheiytshorts Жыл бұрын
@@ComputerVisionEngineer can i ask what machine learning algorithm you use for both anti spoofing and face recog?
@SlyFluffyFox Жыл бұрын
Good video sir
@ComputerVisionEngineer Жыл бұрын
Thank you! 🙂
@ompagar4502 Жыл бұрын
When we login it shows fake face give the solution
@dharmatejasunkara82379 ай бұрын
Did you find the solution?
@PANDURANG99 Жыл бұрын
is it applicable for group of people ?
@ComputerVisionEngineer Жыл бұрын
Yes, it is applicable to a group of people. 🙌
@sherzodnurullayev1239 Жыл бұрын
I tried this repo, but model is always saying "Real Face" no matter it's real or fake....
@ComputerVisionEngineer Жыл бұрын
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 Жыл бұрын
@@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?
@brianchook15672 жыл бұрын
Hey may I know is it work on Mac as well?
@ComputerVisionEngineer2 жыл бұрын
Hey Brian, yeah it should work well on Mac! 😃
@brianchook15672 жыл бұрын
Alright thank you 🙏🏼
@sanaaMedia Жыл бұрын
i love it :)
@SpiRit-qh9wn6 ай бұрын
Thanks bro 🙏🏼
@visa8787 Жыл бұрын
Is this servant on the phone? Thanks
@ComputerVisionEngineer Жыл бұрын
The app I show you how to make in this video is a a desktop app made in Python. 🙌
@visa8787 Жыл бұрын
@@ComputerVisionEngineerIs there a phone script? Thanks
@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 Жыл бұрын
you should add Anti-Spoofing repo to your path or move your main.py and util.py in the repo
@amirmaher6136 Жыл бұрын
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-xf2ny8 ай бұрын
Same
@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 Жыл бұрын
Hey! Try to see if you are reading frames from the camera successfuly. What OS and version of Python are you using?
@khushichhetri8051 Жыл бұрын
@@ComputerVisionEngineer os-windows python version = 8.9
@lensqend9731 Жыл бұрын
i get the same errors if i delete the "from test import test" in line 11
@PratapSingh-cl6yk Жыл бұрын
I am getting the same error, were you successful in resolving this error? If yes then how?
@ArpithaV-qx2rf Жыл бұрын
I'm getting the same error can u please help me to resolve this
@dhiraj9352 Жыл бұрын
I am facing error in face package requirements == 1.3.0 error how to solve it pls help 🥲
@ComputerVisionEngineer Жыл бұрын
Hey, what is your OS and your Python version?
@Mareafatima7 ай бұрын
How to make fake facial recognition?
@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 Жыл бұрын
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 Жыл бұрын
Thank you, Sir.
@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 Жыл бұрын
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.
@joannemariecarreon9602 Жыл бұрын
does this work on Windows 10?
@ComputerVisionEngineer Жыл бұрын
It should. Make sure you follow the steps which are described in the github repository of this project. 💪💪
@joannemariecarreon9602 Жыл бұрын
@@ComputerVisionEngineer thank you dear sir!
@riturajbhardwaj72718 ай бұрын
This is running very slow
@jeanmi81842 жыл бұрын
thanks
@ComputerVisionEngineer2 жыл бұрын
My pleasure! 😃💪
@lakshmann9825 Жыл бұрын
20:14
@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 Жыл бұрын
i also installed visual studio code before and then the extensions for c++ and cmake tools
@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 Жыл бұрын
Also, have you added the Silent-Face-Anti-Spoofing directory to your PYTHONPATH?
@lensqend9731 Жыл бұрын
@@ComputerVisionEngineer i couldnt even start the application at the beginning like you did 😅 so ididnt do that spoofing thing 😅
@ComputerVisionEngineer Жыл бұрын
@@lensqend9731 try adding the Silent-Face-Anti-Spoofing directory to your PYTHONPATH
@ANONYMOUS-pc2us3 ай бұрын
I am getting error because of pickle.. Anyone else too?
@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 Жыл бұрын
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 Жыл бұрын
@@ComputerVisionEngineer posted, please help. thank you so much 😭
@__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 Жыл бұрын
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.
@eloisacute111 Жыл бұрын
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-xf2ny8 ай бұрын
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 Жыл бұрын
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 Жыл бұрын
me too
@Shreya-o2u5 ай бұрын
were you able to resolve this?
@Shreya-o2u5 ай бұрын
were you able to resolve this error
@ElevateEveryday207 Жыл бұрын
Hey my from test import test is showing error you can suggest me how to slove that problem
@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 Жыл бұрын
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 Жыл бұрын
'Git clone ' is giving you an error? You can also download it as a zip file
@ElevateEveryday207 Жыл бұрын
That error is solve.But I found the new error
@ElevateEveryday207 Жыл бұрын
The error is self.detector = cv2.dnn.readNetFromCaffe cv2.error: open Cv(4.6.0)can't open