Face Recognition Based Attendance System using ESP32 CAM & OpenCV + Visual Studio
ฝัง
- เผยแพร่เมื่อ 19 ต.ค. 2021
- Up to 20%-30% off for PCB & PCBA order:
Only 0$ for 1-4 layer PCB Prototypes:
www.nextpcb.com/?code=Htoeletric
Register and get $100 from NextPCB:
www.nextpcb.com/register?code...
𝗣𝗿𝗼𝗷𝗲𝗰𝘁 𝗗𝗲𝘀𝗰𝗿𝗶𝗽𝘁𝗶𝗼𝗻:
This tutorial introduces the topic of the Face Recognition Based Attendance System using ESP32 CAM Module. We will be using OpenCV & Visual Studio for this application. We will learn, how to create a Face Recognition Based Attendance system using ESP32 Camera Module and Python. We will not just detect the person but also store the information of the person detected in a Microsoft Excel File. Moreover, the duration of time they have stayed in the frame is also recorded into an excel sheet.
The tutorial also contains information about features, pins description, and the method to program ESP32 Camera Module using FTDI Module. We will also set up the Arduino IDE for the ESP32 Camera Module. We will also upload the firmware and then work on the Face Recognition part. The script for Face Recognition is written in the python programming language, thus we will also have to install Python and its required Libraries along with all the frameworks for Visual Studio.
𝗣𝗿𝗼𝗷𝗲𝗰𝘁𝘀 𝗟𝗶𝗻𝗸𝘀 & 𝗦𝗼𝘂𝗿𝗰𝗲 𝗖𝗼𝗱𝗲: how2electronics.com/face-reco...
....................................................................................................................................................................................................................................
Drop a like if you liked this video.
Don't forget to subscribe to our channel for more Electronics projects and tutorials.
Website: www.how2electronics.com
Facebook: / how2electronics
Instagram: / how2electronics - วิทยาศาสตร์และเทคโนโลยี
Am learning lot's off from your videos thank you ... Very much....
I have installed all the libraries that are shown in the tutorial and website
Very interesting project 😉
One question, what version of the ESP32 board are you using?
the language used is python? you stored the database on PC, other options we can use are rasberry pi, any other?
I have a query...
In the excel file there are multiple cells filled for the same picture so how can this be resolved ? So that there aren't multiple entries for an individual
thanks
Nice 👍👍
Thanks for the great tutorials, any idea why i keep getting " 'camera_sensor_info_t' was not declared in this scope" with the yousunny libraries? Thank you!
the same to u !
which algorithm is used in this project.....???
thanks for this video but for us this is not working in esp32 cam the error is (Error compiling for board ESP32 Wrover Module.
) and in programmer there is nothing and you help us.
How do I add a roll number along with the name in the excel sheet???
hi i'm having an idea for a robot contest. that's a security cam or simply a supervisor bot to take roll in classroom. is there any way to storing the attendees' images inside the bot not in the computer. And lastly can the bot recognize a person who isn't in the attendees' list
nice.....😄
What should be the changes If I want to add different images ?
Can we apply this to cctv camera module
Can we use another camera module
can it identify many faces simultaneously?
What URL do I use if im using my pc webcam?
Hello, I have a problem with the face_recognition.py code, it doesn't let me open the video window, it only recognizes the images in the folder, I have the esp32 cam and it gives me this error: Traceback (most recent call last):
File "C:\Users\tayd\Desktop\Python\ATTENDANCE\face_detection_attendace_2.py", line 65, in
imgS = cv2.resize(img, (0, 0), None, 0.25, 0.25)
cv2.error: OpenCV(4.8.1) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src
esize.cpp:4062: error: (-215:Assertion failed) !ssize.empty () in function 'cv::resize'
If you could help me I would appreciate it.
me too :(
How to run this idea in cloud? Do you have the example? What i meant is, the picture in google drive, the attendance recorded into google sheet. Please help. Tq
How do same project with qr code
what if a person who is not inclued in the list will apper in front of the cam
File "C:\attendence\facedetection.py", line 13, in
if 'Attendance.csv' in os.listdir(os.path.join(os.getcwd(),'attendace')):
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\attendence\\attendace'
Can anyone help me solve this error
same problem
How much in total cost this project
why you haven't give us full info about it.!
How much price for this project
You can sell this project.
I want buy this project
Pip install r requirements.txt not support in cmd prompt
i love you
👏👏👏
error indicating while installing face_recognition
please help
Can we add anti spoofing code to this code?
in python code does not work errors
You are too fast to understand.
hello i am getting some errors in python code which version of python did u use
He has used Python 3.9.7 as shown in the video.
I got 5 errors in the Arduino code please help 😢
Having issue of: dont find a path
Bye the Im using python .3.10.
Window 11
Plz anybody guide me
Can you have commercial device for startup franchise based clinic model , more WhatsApp only
hi, i need help! Why when i'm trying to install the requirements.txt on command prompt but it keep telling me an ERROR: Could not open requirements file: (Errno2) no such files or directory: 'requirements.txt' but i'm doing just like u said in the video. Help me! I need you're help ASAP for my STEM Project.
same problem
i didnot get anything on serial monitor
Hi there im waiting untill you do the cctv camera with foitage record? You were requested this before weren't you? Why cant you do it buddy🙄🙄🙄🙄😏😏😏😏
Can someone please help with this error?
E (132) cam_hal: cam_dma_config(292): frame buffer malloc failed
E (132) cam_hal: cam_config(376): cam_dma_config failed
E (132) camera: Camera config failed with error 0xffffffff
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for Pillow
Building wheel for dlib (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for dlib (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [9 lines of output]
:210: SyntaxWarning: invalid escape sequence '\('
:211: SyntaxWarning: invalid escape sequence '\('
:212: SyntaxWarning: invalid escape sequence '\('
running bdist_wheel
running build
running build_ext
ERROR: CMake must be installed to build dlib
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for dlib
Failed to build Pillow dlib
ERROR: Could not build wheels for Pillow, dlib, which is required to install pyproject.toml-based projects
Anyone today?
pip' is not recognized as an internal or external command,
operable program or batch file.
solution
you will have to install python first
i am facing problem installing the packages requirements.txt
i am getting error at
Building wheel for Pillow (setup.py) ... error
from here all error starts plz help me out as soon as possible
are you sure your attendance folder is in the python folder, I have also this
the question now I fix it , watch the video between 6:50 to 6:55
Why didn't you test it with faces that it doesn't recognise? That was an obvious thing to do.
sir, i am getting an error like this...can u pls help me -
Traceback (most recent call last):
File "C:\PYTHON\face_detection_attendace.py", line 13, in
if 'Attendance.csv' in os.listdir(os.path.join(os.getcwd(),'attendace')):
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\PYTHON\\attendace'
thanks in advance
for me to sir please help us
did you find the soutuion
Same issue. you got the solution ?
got the answer
@@Aliraza-jt1jo
Not yet
we have found the solution
in arduino ide after verifying ur code iam getting this error sir, so what to do??
c:\Users\abira\OneDrive\Documents\Arduino\libraries\esp32cam-main\src\internal\config.cpp: In constructor 'esp32cam::Config::Config()':
c:\Users\abira\OneDrive\Documents\Arduino\libraries\esp32cam-main\src\internal\config.cpp:31:10: error: 'class esp32cam::Config::CameraConfigT' has no member named 'grab_mode'
m_cfg->grab_mode = CAMERA_GRAB_LATEST;
^
c:\Users\abira\OneDrive\Documents\Arduino\libraries\esp32cam-main\src\internal\config.cpp:31:22: error: 'CAMERA_GRAB_LATEST' was not declared in this scope
m_cfg->grab_mode = CAMERA_GRAB_LATEST;
^
c:\Users\abira\OneDrive\Documents\Arduino\libraries\esp32cam-main\src\esp32cam.cpp: In member function 'esp32cam::ResolutionList esp32cam::CameraClass::listResolutions() const':
c:\Users\abira\OneDrive\Documents\Arduino\libraries\esp32cam-main\src\esp32cam.cpp:30:3: error: 'camera_sensor_info_t' was not declared in this scope
camera_sensor_info_t* info = esp_camera_sensor_get_info(&sensor->id);
^
c:\Users\abira\OneDrive\Documents\Arduino\libraries\esp32cam-main\src\esp32cam.cpp:30:25: error: 'info' was not declared in this scope
camera_sensor_info_t* info = esp_camera_sensor_get_info(&sensor->id);
^
c:\Users\abira\OneDrive\Documents\Arduino\libraries\esp32cam-main\src\esp32cam.cpp:30:70: error: 'esp_camera_sensor_get_info' was not declared in this scope
camera_sensor_info_t* info = esp_camera_sensor_get_info(&sensor->id);
^
exit status 1
Compilation error: exit status 1
Same error bro
Update your esp32 board
I paused 25 times to understand
I thought it is how to mechatroincs
This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for Pillow
Running setup.py clean for Pillow
Failed to build Pillow
ERROR: Could not build wheels for Pillow, which is required to install pyproject.toml-based projects
Same error I am having
Pura batane Nahi hota kya
you talk fast!
waste of time, you should explain more in detail
Thanks for the video. I got an error while running the first program. Please help me to solve that. Please give me your mail id that i can contact you if needed.
This was the error
handlers.cpp:3:27: fatal error: uri/UriBraces.h: No such file or directory compilation terminated. Multiple libraries were found for "WiFi.h" Used: C:\Users\AMEEN MOHEMMED\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\WiFi Not used: C:\Program Files (x86)\Arduino\libraries\WiFi exit status 1 uri/UriBraces.h: No such file or directory
Please help me
Did u find ur flaw...even i am getting the same error