Face recognition + liveness detection: Face attendance system

  Рет қаралды 137,946

Computer vision engineer

Computer vision engineer

Күн бұрын

Пікірлер: 228
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
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 😃🚀🎓
@clementasare5781
@clementasare5781 2 жыл бұрын
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 2 жыл бұрын
You are welcome! Let me know if it works! 😃🙌
@clementasare5781
@clementasare5781 2 жыл бұрын
@@ComputerVisionEngineer Alright boss, I will do that.
@clementasare5781
@clementasare5781 2 жыл бұрын
@@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 2 жыл бұрын
Have you pulled the latest changes?
@clementasare5781
@clementasare5781 2 жыл бұрын
@@ComputerVisionEngineer yes please, I have done that.
@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! 😄🙌
@harshids
@harshids 5 ай бұрын
Hii
@sardorbekyorqulov
@sardorbekyorqulov Жыл бұрын
Super ! This is the tutorial we've been waiting for ! Thank you very much Bro !
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
Cool! Glad you enjoyed it! You are welcome! 😃🙌
@enemysahead16262
@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
@ComputerVisionEngineer Жыл бұрын
😃 Awesome!!!! You are welcome!! 🙂🙌
@msaichandan7446
@msaichandan7446 Жыл бұрын
i am getting error that: Can't open "deploy.prototxt" in function 'cv::dnn::ReadProtoFromTextFile' pls help
@manasehmeta
@manasehmeta Жыл бұрын
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! 😃💪
@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 7 ай бұрын
Hi. I need a little help. @zenpao
@ardeahimawannugroho1331
@ardeahimawannugroho1331 8 ай бұрын
What algorithm is used in face recognition?
@muhammadumarsotvoldiev8768
@muhammadumarsotvoldiev8768 Жыл бұрын
Thank you for your job! Respect for contribution to open source!!
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
😃🙌
@HeyNikoReal
@HeyNikoReal 10 күн бұрын
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
@sugilanonphtv
@sugilanonphtv 21 күн бұрын
awesome code! thanks for sharing its working.
@HeyNikoReal
@HeyNikoReal 10 күн бұрын
may i know whats your algorithm you used for the face recognition?
@citoyendumonde9083
@citoyendumonde9083 2 ай бұрын
Thank you Felipe, well done !
@ComputerVisionEngineer
@ComputerVisionEngineer 2 ай бұрын
😃🙌
@ginormica2282
@ginormica2282 2 жыл бұрын
Brilliant videos!! Quite informative and interesting 😊👍
@ComputerVisionEngineer
@ComputerVisionEngineer 2 жыл бұрын
Thank you! I am happy you enjoyed them! ☺️💪
@ParthivGajipara
@ParthivGajipara Жыл бұрын
Superb brother , but you should also make a video to explain how this spoofing works . good wishes .
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
Thank you! Ok, noted, I will try to do it. 🙌
@otomasyonplc1775
@otomasyonplc1775 9 ай бұрын
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
@dungnguyeninh7142 Жыл бұрын
Awesome, thank you very much!
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
You are welcome! Glad you enjoyed it! 😃🙌
@jaihodevil827
@jaihodevil827 11 ай бұрын
wonderful thank you for this video i learn a lot
@FlamboyantArt
@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
@s.tunahanustuntepe2966 Жыл бұрын
hello, can I transfer this process to android?
@kingsamrat5746
@kingsamrat5746 Жыл бұрын
This video is very helpful thank u so much 😊🙏🏻
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
My pleasure! I am glad you find it useful! 😊🙌
@hasheemakbarjarwar6875
@hasheemakbarjarwar6875 7 ай бұрын
Hi. I need a little help @kingsamrat5746
@miqbal_sis
@miqbal_sis 3 ай бұрын
What if user plays a video of your face login? Or a 3d scultpure???
@UT_BHUTAN
@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
@basavarajuhsbasavarajuhs1225
@basavarajuhsbasavarajuhs1225 5 ай бұрын
@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
@hamzawi2752
@hamzawi2752 2 жыл бұрын
Thank you very much, that is awesome!
@ComputerVisionEngineer
@ComputerVisionEngineer 2 жыл бұрын
Yeap! It is a super cool application of computer vision! 😃💪
@3dmixer552
@3dmixer552 3 ай бұрын
I'm getting this error: from src.anti_spoof_predict import AntiSpoofPredict ModuleNotFoundError: No module named 'src' any idea why? Thanks
@cesarlensterlunas3366
@cesarlensterlunas3366 8 ай бұрын
hello can I add it to my laravel project ? i dont have idea ...if yes ill find solution for that thanks
@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! 🙌
@shikhugupta2703
@shikhugupta2703 7 ай бұрын
Hello, the test.py you are working is not same as in repository. I am facing error. Can you please guide?
@kurtlrnzv_
@kurtlrnzv_ 8 ай бұрын
Do you have a project about Face Recognition with RFID for Security Measures and Attendance Tracking?
@almostrandomnickname
@almostrandomnickname 3 ай бұрын
good stuff man. thanks.
@supratikdeshmukh3014
@supratikdeshmukh3014 8 ай бұрын
How to change window title ("tk")?
@ashutoshgupta2758
@ashutoshgupta2758 Жыл бұрын
Hi Accuracy is not good when I show replay (video) attack
@ComputerVisionEngineer
@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
@msaichandan7446 Жыл бұрын
i am getting error that: Can't open "deploy.prototxt" in function 'cv::dnn::ReadProtoFromTextFile'
@Ninjaxftw
@Ninjaxftw Жыл бұрын
@@msaichandan7446 Have you fixed this error ? I'm on the same boat.
@msaichandan7446
@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
@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
@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
@HussainShah-y1s
@HussainShah-y1s 9 ай бұрын
Sir I need this project in react or javascript. Please make same project with Js
@nextgen9931
@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
@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! 💪
@anasali2731
@anasali2731 Жыл бұрын
Sir can you can make this same program for attendance system with database which store date and time too?
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
I will try to. 🙌
@venkatasaipriyanichenametl3988
@venkatasaipriyanichenametl3988 5 ай бұрын
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.
@aldomunguia2048
@aldomunguia2048 11 ай бұрын
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 11 ай бұрын
2 or more people in the same picture? No, it is an image classifier, it classifies the image as fake or real.
@aldomunguia2048
@aldomunguia2048 11 ай бұрын
@@ComputerVisionEngineer Ohhh, thanks Sir, you are the best!
@DiegoMascheroni
@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
@ComputerVisionEngineer Жыл бұрын
Yeah, mediapipe is awesome! 😃 I am from Uruguay! 🇺🇾🙌
@msaichandan7446
@msaichandan7446 Жыл бұрын
i am getting error that: Can't open "deploy.prototxt" in function 'cv::dnn::ReadProtoFromTextFile' pls help
@vishnum7985
@vishnum7985 2 жыл бұрын
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 2 жыл бұрын
Yes, training a model to detect people wearing an uniform, it would be possible! 😃💪
@kathrynacosta1971
@kathrynacosta1971 Жыл бұрын
Hello sir can I have a tutorial in Smart Security Surveillance?
@inf009
@inf009 8 ай бұрын
Is there a javascript alternative?
@abhishekmanhotra7177
@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
@ComputerVisionEngineer Жыл бұрын
Yeah, sure, it is possible! 😃🙌
@shahhussain5563
@shahhussain5563 9 ай бұрын
Sir would you please make this same tutorial in web with javascript. Please it's a request.
@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. 🙌
@adityasaiakella1287
@adityasaiakella1287 11 ай бұрын
is this practially applicable irl?
@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! 😃🙌
@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?
@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. 🙌
@mienardvalenzuela9970
@mienardvalenzuela9970 Жыл бұрын
what python version you use? because i keep having the dlib error
@ComputerVisionEngineer
@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
@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. 🙌
@salinabaig1713
@salinabaig1713 Жыл бұрын
how to face recognition with c#
@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()"?
@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
@bagusandrewijaya
@bagusandrewijaya Жыл бұрын
sorry sir i just wanna know how about someone change the clothes or something like use hat or use glasses?
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
Do you mean if the face recognition would work if a person change clothes or use a hat or similar accessories?
@bagusandrewijaya
@bagusandrewijaya Жыл бұрын
@@ComputerVisionEngineer yes you know what i mean
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
@@bagusandrewijaya yeah I think it would still work, it matches the person's face. 🙌
@nguyenngocun2331
@nguyenngocun2331 Жыл бұрын
hi, i'm on mac. i got error when importing test from test
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
Have you cloned the spoofing repository and added the Silent-Face-Anti-Spoofing directory to your PYTHONPATH?
@nguyenngocun2331
@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?
@abhishekkaintura6398
@abhishekkaintura6398 10 ай бұрын
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?
@NitishRaj
@NitishRaj Жыл бұрын
can we do using YOLO v8?
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
You could train the image classifier using Yolo v8, yes.
@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 (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
@AliEjaz-ne1ei Жыл бұрын
where is the link for the new repository?
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
Hey Ali, the link to the repository is in the video description.
@crystallemon-v7r
@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
@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
@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
@ComputerVisionEngineer Жыл бұрын
Do you mean a medical face mask or do you mean a mask impersonating someone else?
@ranamedhi2905
@ranamedhi2905 Жыл бұрын
How to duplicate in face detection attendance
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
Hey Rana, how to duplicate? What do you mean?
@ingluissantana
@ingluissantana 2 жыл бұрын
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 2 жыл бұрын
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
@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 ?
@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. 💪💪
@lolguy-x9n
@lolguy-x9n Жыл бұрын
@@ComputerVisionEngineer good lord. and pytorch spoofing detector model for js?,
@kouheiytshorts
@kouheiytshorts Жыл бұрын
great video sir
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
Thank you! I am happy you enjoyed it. 😊🙌
@kouheiytshorts
@kouheiytshorts Жыл бұрын
​@@ComputerVisionEngineer can i ask what machine learning algorithm you use for both anti spoofing and face recog?
@SlyFluffyFox
@SlyFluffyFox Жыл бұрын
Good video sir
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
Thank you! 🙂
@ompagar4502
@ompagar4502 Жыл бұрын
When we login it shows fake face give the solution
@dharmatejasunkara8237
@dharmatejasunkara8237 9 ай бұрын
Did you find the solution?
@PANDURANG99
@PANDURANG99 Жыл бұрын
is it applicable for group of people ?
@ComputerVisionEngineer
@ComputerVisionEngineer Жыл бұрын
Yes, it is applicable to a group of people. 🙌
@sherzodnurullayev1239
@sherzodnurullayev1239 Жыл бұрын
I tried this repo, but model is always saying "Real Face" no matter it's real or fake....
@ComputerVisionEngineer
@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
@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?
@brianchook1567
@brianchook1567 2 жыл бұрын
Hey may I know is it work on Mac as well?
@ComputerVisionEngineer
@ComputerVisionEngineer 2 жыл бұрын
Hey Brian, yeah it should work well on Mac! 😃
@brianchook1567
@brianchook1567 2 жыл бұрын
Alright thank you 🙏🏼
@sanaaMedia
@sanaaMedia Жыл бұрын
i love it :)
@SpiRit-qh9wn
@SpiRit-qh9wn 6 ай бұрын
Thanks bro 🙏🏼
@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
@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
@amirmaher6136
@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-xf2ny
@ShivaniShenai-xf2ny 8 ай бұрын
Same
@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 Жыл бұрын
I'm getting the same error can u please help me to resolve this
@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?
@Mareafatima
@Mareafatima 7 ай бұрын
How to make fake facial recognition?
@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.
@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.
@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!
@riturajbhardwaj7271
@riturajbhardwaj7271 8 ай бұрын
This is running very slow
@jeanmi8184
@jeanmi8184 2 жыл бұрын
thanks
@ComputerVisionEngineer
@ComputerVisionEngineer 2 жыл бұрын
My pleasure! 😃💪
@lakshmann9825
@lakshmann9825 Жыл бұрын
20:14
@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
@ANONYMOUS-pc2us
@ANONYMOUS-pc2us 3 ай бұрын
I am getting error because of pickle.. Anyone else too?
@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.
@eloisacute111
@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-xf2ny
@ShivaniShenai-xf2ny 8 ай бұрын
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
@Shreya-o2u
@Shreya-o2u 5 ай бұрын
were you able to resolve this?
@Shreya-o2u
@Shreya-o2u 5 ай бұрын
were you able to resolve this error
@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
@supratikdeshmukh3014
@supratikdeshmukh3014 8 ай бұрын
How to change window title ("tk")?
Build Real Time Face Detection With JavaScript
12:41
Web Dev Simplified
Рет қаралды 1,3 МЛН
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
Face attendance WEB APP | Face recognition | Computer vision tutorial
24:26
Computer vision engineer
Рет қаралды 25 М.
Is Buying a PETABYTE on Ebay Stupid?
18:13
Linus Tech Tips
Рет қаралды 1,6 МЛН
Google’s Quantum Chip: Did We Just Tap Into Parallel Universes?
9:34
Facial Recognition attendance system using python
19:44
I know python
Рет қаралды 670 М.
3 Levels of WiFi Hacking
22:12
NetworkChuck
Рет қаралды 2,3 МЛН
Honda's New V3 Electrical Compressor Engine Explained
14:52
driving 4 answers
Рет қаралды 21 М.
Face Anti-Spoofing for Facial Recognition in Python
10:03
Sefik Ilkin Serengil
Рет қаралды 7 М.
Face Recognition Using Flask, OpenCV, MySQL and AJAX
3:52
Kode Erik
Рет қаралды 38 М.