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 😃🚀🎓
thank u very much. u have greatly helped in doing my project for my college. i also included mysql database in it so keep the record of the the attendance . thank u very much
I am planing to do this project by following you hope you guys gonna help me if there would be some error. (of course i will try my best to solve it by myself)
Traceback (most recent call last): File "c:\Users\jandj\AppData\Local\Programs\Python\Python311\FaceAPP\face-attendance-system-master\main.py", line 11, in from test import test ImportError: cannot import name 'test' from 'test' (C:\Users\jandj\AppData\Local\Programs\Python\Python311\Lib\test\__init__.py) Thanks in advance :)
🎯 Key points for quick navigation: 00:00 *🔍 Introduction to final year project on face recognition and automatic attendance management system using Python* 00:29 *🤖 Project involves machine learning divided into 3 parts: generator set, trend classifier, details of predefined samples* 01:24 *🛠️ Setting up a login page for the project with options for registration and user login* 02:20 *💬 Asking viewers to like the video and subscribe to the channel for motivation and future Python projects* 03:42 *💡 Demonstrating student details section and creation of an attendance management system, complete with buttons for various functions* 05:32 *📝 Inputting student details like name, gender, DOB, email, phone number, address in the system.* 06:31 *🛡️ Saving student data in the database after entering all required information.* 07:11 *💼 Selecting a photo sample and saving it in the database for each student.* 09:02 *🚀 Training the system with collected data files for face recognition.* 10:15 *💡 Using face detection features to capture student details and validate information.* 11:37 *📂 Saving data, exporting data, and updating files can be done in Python projects.* 12:05 *🔄 Updating details such as names, departments, and timings can be managed in the project.* 13:16 *📊 Excel files can be used to store and view project data, showcasing attendance management system capabilities.* 14:24 *✏️ Developing an automatic attendance management system using face recognition in Python.* 16:27 *📁 Setting up folders and organizing files in Visual Studio Code for a face recognition project.* 17:21 *🖱️ Click on "New File" to start a Python project and write the file name* 17:35 *🛠️ Start by importing needed modules in the Python file* 18:04 *📦 Python Tkinter is powerful for creating graphical applications easily* 18:27 *🛒 Different ways to import modules in Python* 19:14 *🔧 Check Python version and install required packages* 19:58 *🌟 Setting up geometry in Visual Studio Code for project development* 21:05 *🛠 Define construction and use self to import modules* 22:23 *🔲 Set dimensions for window placement for project GUI* [23:46] 🛠️ Using toolkit to call the route in the code [24:13] 📝 Writing classes and connecting them to the root [25:06] 📂 Adding and deleting images in the project [26:57] 🖼 Setting image properties like height and width [28:27] 📄 Setting labels and levels for images [29:43] 💡 Suggesting next steps in the project 30:39 *🔍 Image tweet and height can be set separately by copying and pasting values.* 31:49 *📷 Changing image names for organizing and managing image data.* 34:57 *🖼️ Setting up labels and names for images to maintain data clarity and organization.* 36:44 *💡 Images can be arranged and sorted based on specific criteria for better data management.* 37:10 *🔍 Images need to be adjusted for height and control using CSS.* 37:24 *📐 Titles need to be placed correctly above images for proper alignment.* 38:03 *🖊️ Title text and formatting for images need to be specified.* 39:00 *🖥️ Choosing font styles and sizes for text elements.* 40:05 *🎨 Setting background colors for image elements.* 42:49 *🖲️ Creating buttons from image elements for the user interface.* 43:43 *🖱️ Click on different buttons in the video interface to perform specific actions.* 45:17 *🎨 Customize the appearance of buttons by changing text, color, and position.* 47:26 *💻 Utilize text components to display information like student details and phone numbers.* [50:25] 🖥️ Changing the image name and file number is important before proceeding with any further tasks. [50:51] 🔄 Running and checking controls on the images to ensure proper modifications. [51:31] 🔧 Adding a help desk control for assistance during the image editing process. [53:00] 🎨 Utilizing controls for color adjustments and ensuring proper button configurations. [56:49] 💻 Organizing and managing image changes systematically for an efficient workflow. 57:43 *🔍 The process of training image data and copying it for face recognition is shown.* 58:34 *📸 Images can be pasted and suitable parameters can be set for developers during the development process.* 59:02 *🛠️ An 'OK' button for grouping images together is demonstrated in the interface design.* Made with HARPA AI
Hello, I follow you on UA-cam, I really like your classes and explanations, I have some questions to solve, could you help me with your academic knowledge?
Thank you. It's a great video. However, i have encountered an issue regarding the subprocess.check_output. In your video, it just output the name of the picture from known faces. For me, although it's a known face, but it will still output something like "b'./.tmp.jpg,trump ./.tmp.jpg,unknown_person '" may i know what is going on? thank you.
hii sir, thanks for this great tutorial...but can we build a system which marks attendance by using live video with great accuracy?? because i have seen many live video based attendance systems but all of them are marking a single name for different persons...and the accuracy is very low.
We made a follow up of this video here and added liveness detection feature: ua-cam.com/video/_KvtVk8Gk1A/v-deo.html, make sure to check it out! 😃 Also remember to take a look at the github repository to get the most recent changes and go through the instructions in the Readme file! 💪🙌
give me a idea,my project is face attendance sytem using face-api first thing the webcam starts face capture and then splited into frames ,frames can be converted into images, images converted into embeddings that can be stored in mongodb and then compare the embedding with the newly given image that also converted into embeddings that embeddings can compare with previous stored embeddings in mongodb give a correct image
I have one question, please, response, I have already LIKED your video, otherwise, I will be SAD. Question is:= You did not show us, how you installed FACE_RECOGNITION libraries with other dependencies. please, response. because, my code is not running. thanks
Hey, if you are a Windows user you need to follow additional steps before installing the face recognition library. Take a look at the Readme file of this project's github repository. 😃🙌
i am getting the following error: from test import test ImportError: cannot import name 'test' from 'test' (C:\Program Files\Python310\lib\test\__init__.py)
after converting the app to exe format via pyinstaller as onefile. everything goes fine but at login time it does nothing, however tmp.jpg is also generating. plz help
Hello felipe, thanks for the tutorial...Which version of python are you using ? As for me when i try to import cv2 on my python 3.8.8 , it throws an error. While the same import cv2 works on python version 3.7 . Is there any pre-requsite that this project needs to be done on python 3.8
@@ComputerVisionEngineer i got it resolved. I did not specify the open cv version while installing earlier. now its fine. But i have another query. In a sub-process while passing the arguements face_recognition i need to specify the --cpus and the --tolerance parameters. When i added these parameters to the sub process argument i get an error.
@@subinvasanthan Are you executing the most recent version of this repository? I made a few changes which make the execution smoother for Windows users. Also, I added some comments regarding a few steps you need to take before starting with this tutorial. 💪
@@ComputerVisionEngineer i don't know why the code also don't run with me if you can download a video tutorial of the steps we need to do it to run the code thank you
Traceback (most recent call last): File "C:\Program Files\JetBrains\PyCharm Community Edition 2023.1.1\plugins\python-ce\helpers\pydev\pydevconsole.py", line 364, in runcode coro = func() ^^^^^^ File "", line 1, in File "C:\Program Files\JetBrains\PyCharm Community Edition 2023.1.1\plugins\python-ce\helpers\pydev\_pydev_bundle\pydev_umd.py", line 198, in runfile pydev_imports.execfile(filename, global_vars, local_vars) # execute the script ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\JetBrains\PyCharm Community Edition 2023.1.1\plugins\python-ce\helpers\pydev\_pydev_imps\_pydev_execfile.py", line 18, in execfile exec(compile(contents+" ", file, 'exec'), glob, loc) File "C:\Users\Roy\Desktop\face-attendance-system-master\main.py", line 154, in app = App() ^^^^^ File "C:\Users\Roy\Desktop\face-attendance-system-master\main.py", line 32, in __init__ self.add_webcam(self.webcam_label) File "C:\Users\Roy\Desktop\face-attendance-system-master\main.py", line 45, in add_webcam self.process_webcam() File "C:\Users\Roy\Desktop\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.6.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor'
hello felipe, thanks for this amazig video please i awnt to know if it is possile to do the same system attandace and hand recognition using only mediapipe
Hi Felipe, firstly thankyou very much for such in-depth tutorial, but is it also possible to redirect the webcam stream to other website using flask because I have project in which we are required todo so any help will be appreciated
@ComputerVisionEngineer Hey felipe, While trying to implement this I get an error while installing the requirements.txt I am using a MacOS M2 chip. the issue is with cmake and dlib. I installed cmake it got installed using pip and by homebrew as well but while installing dlib it throws error cannot find cmake and without cmake it can't build dlib. Can you help ?
Thanks alot filpe.. But now am stuck I have an error that says Exception has occurred: error X OpenCV(4.6.8) 'cv::cvtColor' D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\color.cpp:182: error: (-215:Assertion failed) I_src.empty() in function I wish you can help me
Yeah, it should work on Windows. Take a look at the github repository, I made some changes to the code and there are some instructions Windows users should follow before executing the code. 💪🙌
Hi Sir, Thank you so much for this great tutorial. Please the face_recognition used in the terminal to match known to unknown person is not working in windows machine. Is there a way you can help? Thank you.
@@ComputerVisionEngineer iam making a attendance system for my college but the program is not showing that much accuracy so is its possible can you make another video abt how to bring accuracy in that program It will be a great help to me Thank you🙏
Hello dear please help me l have problem in login function When i print the name the results show as for ex. Mohammed
Also when there are no person the massage show welcome back no_person_found . What's the problem ? I write my code as a video exactly Please 🙏 help me dear
I have a doubt sir, can we modify the code so that we can upload images on our computer to register new user in addition to using web cam to add new user?
This is a Python project, you couldn't make it work on a mobile app. But you could wrap the face recognition library in an api and then call the api from your mobile app. 🙌
Please provide with a solution,I will be gratful to you. The problem is that i am unable to install dlib==19.18.0, face_recognition==1.3.0 and pip on Windows 10 operating system, while using Python 3.8 and PyCharm 2022.1.4. which pycharm version are using sir? Please make a step by step solution of it as soon as possible ,so i will work on my project.
try use the anaconda prompt to create a new virtual invironment and install an isolate version of python and libs to avoid conflits with the libs versions. after install anaconda use the anaconda prompt to create a Env. 1.use mkdir to create a directory. 2.inside the directory that u create with mkdir and opem with cd(dir. name) write : conda create -n pjoject name python=version they will question if u want install another libs beyond the python version that u choice. answer [y] after that make the activation of the virtual invironment using ($ conda activate project name) and that is it. u env r create opem u pycharm e find a location with u create the virtual invironment and select then to interpreter. hope that help.
hi sir, I was trying to install the requirements for windows.txt but as usual, it is giving an error while installing the face-recognition library, the error that I get is: ERROR: Failed building wheel for dlib Failed to build dlib ERROR: Could not build wheels for dlib, which is required to install pyproject.toml-based projects
hi, i am having a problem where it wrongly recognizes between me my dad and my brother but recognizes my mom properly, is it due to the limitations of the library?
Hello sir, i've some problem with code. I can't install face_recognition module, it said that "Failed building wheel for dlib" and i've installed cmake before. I stucked here arounds 3 days and i can't find out the reason even asked in stackoverflow :(
Yes, embedded systems and computer vision are related! Computer vision techniques can be embedded into small devices to enable them to perceive and analyze their environment. 😃🤖
@@ComputerVisionEngineer شكرا 🌹على اجاباتك كان عندى سؤال تانى انا متاحير بين اختار مجال embedded system اوcomputer vision ومش عارف ابدا باى مجال لاول مع وهل ينفع ابدا فى المجالين مع بعض مع العلم انا بدرس بكالرويوس ذكاء اصطناعي
Everytime I install face_recognition, it always leave an error (error: subprocess-exited-with-error...)( Encountered error while trying to install package. ╰─> dlib). Any idea how to fix this? Thank you!
Hey @omiosolveejaym! It is hard to say why you are getting that error or how to fix it. But I noticed that several people have had issues with the face_recognition library and / or with dlib, I will make a couple of updates to this project which I think will make the execution smoother for everyone. Once the update is done I will make a video about it! Stay tuned! 😃💪
Hey Joshua, something like this would do it: ##### import time epoch_time = time.time() time_formatted = time.strftime('%Y%m%d', time.localtime(epoch_time)) with open('{}_{}.txt'.format(self.log_path[:-4], time_formatted), 'a') as f: .....
@@ComputerVisionEngineer yes , I hope u can help me .. Exception has occurred: error X OpenCV(4.6.8) 'cv::cvtColor' D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\color.cpp:182: error: (-215:Assertion failed) I_src.empty() in function
There are many ways in which you can connect a database. Take a look at other tutorials on how to manage a database from Python. Or you can also do it using a cloud provider like AWS. 🙌
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 😃🚀🎓
Hallo brother,
please help me
bro I am student and I watched your tutorial your explanation is like hero of python
Hero of Python sounds like such a cool nickname! 😃🐍
I am happy you find my videos useful, Anushka! 😄💪
Anushka will you give it to me?
thank u very much. u have greatly helped in doing my project for my college. i also included mysql database in it so keep the record of the the attendance .
thank u very much
Glad it was useful! You are welcome! 🙌
Error is showing in line " from test import test"
can u plz slove this error
Appreciate You So Much! My best and easy-understanding face recognition course ever!
It was Really Good...
The way U came up with
The way U did coding part ..
The way U explained 🙌🏻🙌🏻🙌🏻
It's was Useful..Thank You.
🥰 I am happy you find it useful! 😃🙌
Sir , u made util python file seperate and main coding in seperate file right. Wil it work.! Where did we combine both sir
@@035_neerajagoli7 Yeah it should work. The functions in util.py file are imported from main.py, so everything should be functional as it is! 🙌
@@ComputerVisionEngineerI have an error at "from test import test".
Is there any solution?
Thank you very much fielepie !
Grateful for efforts to make this video!
My pleasure! Thank you for watching, Student For LiFE! 😃🙌
Wow!!!, YOUR TUTORIAL IS AMAZING !! THANK YOU FOR SHARING THIS 🤩🤩🤩
😃 You are welcome!! Glad you enjoyed it! 🙌
Felipe, U R AWESOME...!!! Me gustan tus tutoriales... Saludos desde Guatemala...!!!
Thank you! 😃 Me alegro que te gusten los tutoriales, saludos!!! 🙌
I am planing to do this project by following you hope you guys gonna help me if there would be some error. (of course i will try my best to solve it by myself)
Thanks bro, but I think registering new user should be limited to admin only if one is making attendence system.
Yes, agreed 100%.
Traceback (most recent call last):
File "c:\Users\jandj\AppData\Local\Programs\Python\Python311\FaceAPP\face-attendance-system-master\main.py", line 11, in
from test import test
ImportError: cannot import name 'test' from 'test' (C:\Users\jandj\AppData\Local\Programs\Python\Python311\Lib\test\__init__.py)
Thanks in advance :)
hlo have you find any solution for this error??
Have you find any solution 😢
Please make a video on Face attendance + face recognition with Face-api in JS.
I'll be very thankful to you Sir☺.
I will try to! 💪🙌
Great work man. It took me 3 weeks to build this.
🤠 Cool! I am glad you enjoyed it! 💪🙌
Hii r u build this project
Hello
Thank you so much for sharing, Sir.
You are welcome! 😊🙌
Hello Sir, I love your tutorials. Can you provide a way to register users directly through a their provided image.
🎯 Key points for quick navigation:
00:00 *🔍 Introduction to final year project on face recognition and automatic attendance management system using Python*
00:29 *🤖 Project involves machine learning divided into 3 parts: generator set, trend classifier, details of predefined samples*
01:24 *🛠️ Setting up a login page for the project with options for registration and user login*
02:20 *💬 Asking viewers to like the video and subscribe to the channel for motivation and future Python projects*
03:42 *💡 Demonstrating student details section and creation of an attendance management system, complete with buttons for various functions*
05:32 *📝 Inputting student details like name, gender, DOB, email, phone number, address in the system.*
06:31 *🛡️ Saving student data in the database after entering all required information.*
07:11 *💼 Selecting a photo sample and saving it in the database for each student.*
09:02 *🚀 Training the system with collected data files for face recognition.*
10:15 *💡 Using face detection features to capture student details and validate information.*
11:37 *📂 Saving data, exporting data, and updating files can be done in Python projects.*
12:05 *🔄 Updating details such as names, departments, and timings can be managed in the project.*
13:16 *📊 Excel files can be used to store and view project data, showcasing attendance management system capabilities.*
14:24 *✏️ Developing an automatic attendance management system using face recognition in Python.*
16:27 *📁 Setting up folders and organizing files in Visual Studio Code for a face recognition project.*
17:21 *🖱️ Click on "New File" to start a Python project and write the file name*
17:35 *🛠️ Start by importing needed modules in the Python file*
18:04 *📦 Python Tkinter is powerful for creating graphical applications easily*
18:27 *🛒 Different ways to import modules in Python*
19:14 *🔧 Check Python version and install required packages*
19:58 *🌟 Setting up geometry in Visual Studio Code for project development*
21:05 *🛠 Define construction and use self to import modules*
22:23 *🔲 Set dimensions for window placement for project GUI*
[23:46] 🛠️ Using toolkit to call the route in the code
[24:13] 📝 Writing classes and connecting them to the root
[25:06] 📂 Adding and deleting images in the project
[26:57] 🖼 Setting image properties like height and width
[28:27] 📄 Setting labels and levels for images
[29:43] 💡 Suggesting next steps in the project
30:39 *🔍 Image tweet and height can be set separately by copying and pasting values.*
31:49 *📷 Changing image names for organizing and managing image data.*
34:57 *🖼️ Setting up labels and names for images to maintain data clarity and organization.*
36:44 *💡 Images can be arranged and sorted based on specific criteria for better data management.*
37:10 *🔍 Images need to be adjusted for height and control using CSS.*
37:24 *📐 Titles need to be placed correctly above images for proper alignment.*
38:03 *🖊️ Title text and formatting for images need to be specified.*
39:00 *🖥️ Choosing font styles and sizes for text elements.*
40:05 *🎨 Setting background colors for image elements.*
42:49 *🖲️ Creating buttons from image elements for the user interface.*
43:43 *🖱️ Click on different buttons in the video interface to perform specific actions.*
45:17 *🎨 Customize the appearance of buttons by changing text, color, and position.*
47:26 *💻 Utilize text components to display information like student details and phone numbers.*
[50:25] 🖥️ Changing the image name and file number is important before proceeding with any further tasks.
[50:51] 🔄 Running and checking controls on the images to ensure proper modifications.
[51:31] 🔧 Adding a help desk control for assistance during the image editing process.
[53:00] 🎨 Utilizing controls for color adjustments and ensuring proper button configurations.
[56:49] 💻 Organizing and managing image changes systematically for an efficient workflow.
57:43 *🔍 The process of training image data and copying it for face recognition is shown.*
58:34 *📸 Images can be pasted and suitable parameters can be set for developers during the development process.*
59:02 *🛠️ An 'OK' button for grouping images together is demonstrated in the interface design.*
Made with HARPA AI
Hello, I follow you on UA-cam, I really like your classes and explanations, I have some questions to solve, could you help me with your academic knowledge?
Contacto??
Thank you. It's a great video. However, i have encountered an issue regarding the subprocess.check_output. In your video, it just output the name of the picture from known faces. For me, although it's a known face, but it will still output something like "b'./.tmp.jpg,trump
./.tmp.jpg,unknown_person
'" may i know what is going on? thank you.
very good your tutorial, is approved. thanks for sharing this knowledge. health and success to you!
Thank you! Health and success for you too! 😀🙌
thanks man!
Thankyou Sir😊 I loved it.....
You are welcome!! 😃💪
can this work on a pc with specs
i3 8gen
6gb ram
integrated gpu?
asking for a college project🙏🙏
yeah, it'll work. just don't run any other applications as the ram is less
hii sir, thanks for this great tutorial...but can we build a system which marks attendance by using live video with great accuracy?? because i have seen many live video based attendance systems but all of them are marking a single name for different persons...and the accuracy is very low.
Hey Vineeth! Do you mean something even more accurate than the face_recognition library we use in this video?
more powerfull that face_recognition? I did not met
We made a follow up of this video here and added liveness detection feature: ua-cam.com/video/_KvtVk8Gk1A/v-deo.html, make sure to check it out! 😃 Also remember to take a look at the github repository to get the most recent changes and go through the instructions in the Readme file! 💪🙌
I did not receive any answer😍
@@احمدمحمد-ش7ص3س hey, do you mean the question about if there is a relationship between embedded system and computer vision? I answered.
i am facing problem install dlib and face_recognition pls make video sir
@@ComputerVisionEngineer sir what's the name of the actual package you are using for the test module? Please help
hi thank you so much for this tutorial can someone tell me what the accuracy of this project is?
give me a idea,my project is face attendance sytem using face-api first thing the webcam starts face capture and then splited into frames ,frames can be converted into images, images converted into embeddings that can be stored in mongodb and then compare the embedding with the newly given image that also converted into embeddings that embeddings can compare with previous stored embeddings in mongodb give a correct image
how to you display a rectangle in the webcam?
Hey, do you mean how to draw a rectangle on top of the webcam? Take a look at opencv rectangle() function. 🙌💪
@@ComputerVisionEngineer thank you for the reply and thanks for the tutorial, I managed to display a rectangle although it lags the frames
Error is showing in line " from test import test" plzz help
same error bro
@@raghuveerarja6623solve hua toh bata bhai
Is this tensorflow or pytorch based in particular?
Hi , which database is used to store the data?
I have one question, please, response, I have already LIKED your video, otherwise, I will be SAD.
Question is:=
You did not show us, how you installed FACE_RECOGNITION libraries with other dependencies.
please, response.
because, my code is not running.
thanks
Hey, if you are a Windows user you need to follow additional steps before installing the face recognition library. Take a look at the Readme file of this project's github repository. 😃🙌
i am getting the following error:
from test import test
ImportError: cannot import name 'test' from 'test' (C:\Program Files\Python310\lib\test\__init__.py)
you got the siolution?
@@AkanshaKumari-c1b no
read readme key point is link git in readme
Gracias loko!! Excelente video wn!
Hey Claudio, me alegro que te haya gustado! Gracias a vos por mirar el video! 😃🙌
after converting the app to exe format via pyinstaller as onefile. everything goes fine but at login time it does nothing, however tmp.jpg is also generating. plz help
excellent tutorial.but can it work on live image?
Hey, thank you! It currently takes the user's webcam. What do you mean with 'live image'?
hello sir. I did everything but my button background, color doesn't change. im using Mac and seems like its a problem about macOS
Hello felipe, thanks for the tutorial...Which version of python are you using ? As for me when i try to import cv2 on my python 3.8.8 , it throws an error. While the same import cv2 works on python version 3.7 . Is there any pre-requsite that this project needs to be done on python 3.8
Hey Subin, I am using Python 3.8.
Importing cv2 should work on any Python version. What error do you get?
@@ComputerVisionEngineer i got it resolved. I did not specify the open cv version while installing earlier. now its fine. But i have another query. In a sub-process while passing the arguements face_recognition i need to specify the --cpus and the --tolerance parameters. When i added these parameters to the sub process argument i get an error.
@@subinvasanthan what OS are you using ?
@@ComputerVisionEngineer windows 10
@@subinvasanthan Are you executing the most recent version of this repository? I made a few changes which make the execution smoother for Windows users. Also, I added some comments regarding a few steps you need to take before starting with this tutorial. 💪
hello dear, why i have an error in "from test import test" ?
Hey, please take a look at the github repository, there are a couple of steps you need to follow before executing this project 💪💪
@@ComputerVisionEngineer i don't know why the code also don't run with me if you can download a video tutorial of the steps we need to do it to run the code
thank you
Traceback (most recent call last):
File "C:\Program Files\JetBrains\PyCharm Community Edition 2023.1.1\plugins\python-ce\helpers\pydev\pydevconsole.py", line 364, in runcode
coro = func()
^^^^^^
File "", line 1, in
File "C:\Program Files\JetBrains\PyCharm Community Edition 2023.1.1\plugins\python-ce\helpers\pydev\_pydev_bundle\pydev_umd.py", line 198, in runfile
pydev_imports.execfile(filename, global_vars, local_vars) # execute the script
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\JetBrains\PyCharm Community Edition 2023.1.1\plugins\python-ce\helpers\pydev\_pydev_imps\_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"
", file, 'exec'), glob, loc)
File "C:\Users\Roy\Desktop\face-attendance-system-master\main.py", line 154, in
app = App()
^^^^^
File "C:\Users\Roy\Desktop\face-attendance-system-master\main.py", line 32, in __init__
self.add_webcam(self.webcam_label)
File "C:\Users\Roy\Desktop\face-attendance-system-master\main.py", line 45, in add_webcam
self.process_webcam()
File "C:\Users\Roy\Desktop\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.6.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor'
@@roykeyrouz4354 try self.cap = cv2.VideoCapture(0)
hello felipe, thanks for this amazig video please i awnt to know if it is possile to do the same system attandace and hand recognition using only mediapipe
hey, do you mean an attendance system that uses hand recognition instead of face recognition?
Getting an error while insatlling face_recognition library
ERROR: CMake must be installed to build dlib
Please help
Hi Felipe, firstly thankyou very much for such in-depth tutorial, but is it also possible to redirect the webcam stream to other website using flask because I have project in which we are required todo so any help will be appreciated
Hey, if you need a face attendance web app take a look at this other project ua-cam.com/video/yWmW5uEtNws/v-deo.html 💪🙌
How to make it web based application, where to store data ,in which database
@ComputerVisionEngineer Hey felipe, While trying to implement this I get an error while installing the requirements.txt
I am using a MacOS M2 chip. the issue is with cmake and dlib. I installed cmake it got installed using pip and by homebrew as well but while installing dlib it throws error cannot find cmake and without cmake it can't build dlib. Can you help ?
That was vary help full but I can't get the face Recognition lib
Can't install it?
Thanks alot filpe..
But now am stuck I have an error that says
Exception has occurred: error X
OpenCV(4.6.8) 'cv::cvtColor' D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\color.cpp:182: error: (-215:Assertion failed) I_src.empty() in function
I wish you can help me
Hey Felipe, Can I know what Editor are you using in this video? And can I write this same program in VS Code or Visual Studio?
Hey, I am using Pycharm. Sure, you can use any other IDE. 🙌
@@ComputerVisionEngineer Okay thanks!
Did u know how to compile it to exe facial_recog? I got some issue here model didn't find or somtin
hi how would i go about converting this project into an app that can be downloaded from the appstore.
Can u help me with the code that it saves each login detail or attendance detail like Day and Date with time in an excel file automatically
What should I do with following error sir? ModuleNotFoundError: No module named 'util' Thank you.
is it will work in windows environment?
Yeah, it should work on Windows. Take a look at the github repository, I made some changes to the code and there are some instructions Windows users should follow before executing the code. 💪🙌
how to avoid face spoofing using face api js?
Hi Sir, Thank you so much for this great tutorial. Please the face_recognition used in the terminal to match known to unknown person is not working in windows machine. Is there a way you can help? Thank you.
Hey Clement! Sure, I am working in a solution! I will make this solution available soon! 😃💪
Alright Sir. Thank you so much for this reply.
i have the same error too!
there is not facial_recognition when im trying to install from pip.. is there a new library?
it is just face-recognition
?
Hii sir please help how to do this project
Sir one question
If twin students come so how it gonna differentiate between them
Lol, good question, I guess the program cannot differenciate two twin students.
@@ComputerVisionEngineer iam making a attendance system for my college but the program is not showing that much accuracy so is its possible can you make another video abt how to bring accuracy in that program
It will be a great help to me
Thank you🙏
Hello dear please help me l have problem in login function
When i print the name the results show as for ex. Mohammed
Also when there are no person the massage show welcome back no_person_found
.
What's the problem ?
I write my code as a video exactly
Please 🙏 help me dear
Thank you dear for all i found the solution... The problem from -3 i change it to -5
hello sir, I am making a face recognition task, what algorithm is used here?, thank you
Hey, in this project I am using the face_recognition Python library. 🙌
my webcam is not open ....?
only show the tab of our tab
the webcam i use is "Iriun Webcam" it is not system webcam
hey,thanks for bringing this amazing content .....will this work for windows??
You are welcome! Yes, take a look at the github repository, you need to follow a couple of steps to make it work on Windows. 🙌
what kind of anti_spoof_models ?
I have a doubt sir, can we modify the code so that we can upload images on our computer to register new user in addition to using web cam to add new user?
Yes, you can modify the code so you can put your own images as db instead of using the webcam.
@@ComputerVisionEngineer Sir, I was able to do it but the face detection gives mismatched results. Is there anyway to correct them ?
sir, will it work if we want to use this library for mobile apps. For instance, attendance taking app.
This is a Python project, you couldn't make it work on a mobile app. But you could wrap the face recognition library in an api and then call the api from your mobile app. 🙌
i'm having issues with import test from test, where i the test.py located
thank you for the vedio
You are welcome! 😃🙌
Please provide with a solution,I will be gratful to you.
The problem is that i am unable to install dlib==19.18.0, face_recognition==1.3.0 and pip on Windows 10 operating system, while using Python 3.8 and PyCharm 2022.1.4.
which pycharm version are using sir?
Please make a step by step solution of it as soon as possible ,so i will work on my project.
try use the anaconda prompt to create a new virtual invironment and install an isolate version of python and libs to avoid conflits with the libs versions.
after install anaconda use the anaconda prompt to create a Env.
1.use mkdir to create a directory.
2.inside the directory that u create with mkdir and opem with cd(dir. name) write : conda create -n pjoject name python=version
they will question if u want install another libs beyond the python version that u choice.
answer [y]
after that make the activation of the virtual invironment using ($ conda activate project name)
and that is it. u env r create
opem u pycharm e find a location with u create the virtual invironment and select then to interpreter.
hope that help.
hi sir, I was trying to install the requirements for windows.txt but as usual, it is giving an error while installing the face-recognition library, the error that I get is:
ERROR: Failed building wheel for dlib
Failed to build dlib
ERROR: Could not build wheels for dlib, which is required to install pyproject.toml-based projects
Hey, take a look at the Readme file, windows users need to follow additional steps before installing the face recognition library.
sir, my picture is not paste on the new register page, also I am not able to save data into 'db' file. plese help me to solve my problem
Hey, what is your OS?
Window 10
i noticed your latin accent brooooooooo, tell how did you learn to speak very fluently the english i need your help! :3
Hey Ronaldo, I try to improve the fluency and pronunciation at least a 1% every video, not sure if it is working 😂 but the process is fun! 😃💪
How to run this code in my pc?
Can you help me for my system?
Need liveness detection
hi, i am having a problem where it wrongly recognizes between me my dad and my brother but recognizes my mom properly, is it due to the limitations of the library?
Hey, yes, it could be related to the limitations of the library. It could also be related to the image resolution of your webcam. 🙌
@@ComputerVisionEngineer well i am using a 1080p camera, should be fine. I guess its the library.
Thanks for your help mate
Sir can you add a delete user button?
I will keep that in mind for a future improvement on this project. 🙌
Hello sir, i've some problem with code. I can't install face_recognition module, it said that "Failed building wheel for dlib" and i've installed cmake before. I stucked here arounds 3 days and i can't find out the reason even asked in stackoverflow :(
Hey, are you a Windows user? Did you follow the previous steps which are described in the repository?
@@ComputerVisionEngineer Oh i see, sorry for asked without reading all hehe, just subscribed for a great work
Bro My webcam is not opening
Hi Felipe, whenever i use the app, it does not open the camera of the client, it opens the camera of the server the flask is running.
Hey Emerald, are you referring to the face attendance web app? or is this happening to you with the Python gui?
What operating system you use??
I use Linux Mint 🙌
Did you use any database buddy
Nop, I did not use any database. 🙌
@@ComputerVisionEngineer bro Camera preview is not coming
please . what is this program you are using ?
what is his name ?
Do you mean the ide? I am using Pycharm.
Hello sir, can I use Kivy as UI with this project?
Hey, sure, I don't think you'd have any issues implementing the user interface using Kivy. 🙌
Sir, Which algorithm is used in it HOG or LBPH?
Hey! The default algorithm for face detection is HOG! 😃💪
Good evening. Is there a relationship between embedded system and computer vision?
Yes, embedded systems and computer vision are related! Computer vision techniques can be embedded into small devices to enable them to perceive and analyze their environment. 😃🤖
@@ComputerVisionEngineer شكرا 🌹على اجاباتك كان عندى سؤال تانى انا متاحير بين اختار مجال embedded system اوcomputer vision ومش عارف ابدا باى مجال لاول مع وهل ينفع ابدا فى المجالين مع بعض مع العلم انا بدرس بكالرويوس ذكاء اصطناعي
Everytime I install face_recognition, it always leave an error (error: subprocess-exited-with-error...)( Encountered error while trying to install package.
╰─> dlib). Any idea how to fix this? Thank you!
Hey @omiosolveejaym!
It is hard to say why you are getting that error or how to fix it. But I noticed that several people have had issues with the face_recognition library and / or with dlib, I will make a couple of updates to this project which I think will make the execution smoother for everyone. Once the update is done I will make a video about it! Stay tuned! 😃💪
@@ComputerVisionEngineer Looking forward to it!😁💪
can you share your mail id bcz many error in my code
and i can not slove this error
Hey, please post your error either in an issue in the github repository or in our discord channel. 🙌
How would you do it to make it create a new log document for different days? so that the attendances of different days aren't in the same document
Hey Joshua, something like this would do it:
#####
import time
epoch_time = time.time()
time_formatted = time.strftime('%Y%m%d', time.localtime(epoch_time))
with open('{}_{}.txt'.format(self.log_path[:-4], time_formatted), 'a') as f:
.....
@@ComputerVisionEngineer Thanks ^-^
Is this working on pc?
Is that Inkscape?
Yes.
Sir can i use an app for webcam instead of the camera ?
Do you mean using the camera through an app? What type of app?
@@ComputerVisionEngineer epoccam
Because when i use the local camera it doesn't work that for face recognition
You got me ?
@@moneebkhaled4130 I never used an app, try to make it work with your Webcam, do you have an error?
@@ComputerVisionEngineer yes , I hope u can help me ..
Exception has occurred: error X
OpenCV(4.6.8) 'cv::cvtColor' D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\color.cpp:182: error: (-215:Assertion failed) I_src.empty() in function
Can u help my project
can you add a logout button?
Hey @zulsaitama1665! Adding a logout button is definitely a very interesting feature and I will keep it in mind for a future commit to this repo! 😃💪
@@ComputerVisionEngineer Amazing tutorial 🔥
ERD???
Do you mean the diagram I use in the video? Yes, it could be considered an erd.
hey Sir how can i make db ?please help me
Hey, there are many ways in which you can add a database. I suggest you to take a look at tutorials on how to create and manage a db using Python! 😃🙌
@@ComputerVisionEngineer hey thank you so much yeah i sorted it out you have done a great job and very easy for everyone.
Will it not work for python version 3.11.0
Hey Siya, I recommend using Python 3.8! 😃
@@ComputerVisionEngineer thanks bt i am facing difficulty in installation of dlib in python 3.8
Oh, I see. What problem are you facing?
@@ComputerVisionEngineer after doing all the required formalities, the error for installation of dlib is failed building wheel for os
@@ComputerVisionEngineer which means with python 3.11.x won't even work?
bro I love you
Thank you for your support!
@computer vision engieer please help sir
error in importing test
Hey Sujith, have you added the Silent-Face-Anti-Spoofing directory to your PYTHONPATH?
@@ComputerVisionEngineer got it sir thank you saw this video
@@ComputerVisionEngineer i have another doubt I want connect database
There are many ways in which you can connect a database. Take a look at other tutorials on how to manage a database from Python. Or you can also do it using a cloud provider like AWS. 🙌
23:34
Hi Felipe. I sent you an email through your website mail. Could you please confirm if you recieved it? thanks
1:07:06