Face Recognition Based Attendance System using ESP32 CAM & OpenCV + Visual Studio

Поделиться
HTML-код
  • Опубликовано: 30 сен 2024
  • Up to 20%-30% off for PCB & PCBA order:
    Only 0$ for 1-4 layer PCB Prototypes:
    www.nextpcb.co...
    Register and get $100 from NextPCB:
    www.nextpcb.co...
    𝗣𝗿𝗼𝗷𝗲𝗰𝘁 𝗗𝗲𝘀𝗰𝗿𝗶𝗽𝘁𝗶𝗼𝗻:
    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.
    𝗣𝗿𝗼𝗷𝗲𝗰𝘁𝘀 𝗟𝗶𝗻𝗸𝘀 & 𝗦𝗼𝘂𝗿𝗰𝗲 𝗖𝗼𝗱𝗲: how2electronic...
    ....................................................................................................................................................................................................................................
    Drop a like if you liked this video.
    Don't forget to subscribe to our channel for more Electronics projects and tutorials.
    Website: www.how2electr...
    Facebook: / how2electronics
    Instagram: / how2electronics

Комментарии • 81

  • @pawankumarsingh3996
    @pawankumarsingh3996 2 года назад +12

    You are too fast to understand.

  • @andreatay5335
    @andreatay5335 11 месяцев назад +3

    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.

    • @conmeodan
      @conmeodan 10 месяцев назад

      me too :(

  • @diegojaimeescobedocarrasco6914
    @diegojaimeescobedocarrasco6914 2 года назад +6

    One question, what version of the ESP32 board are you using?

  • @AnuragVarma-z9r
    @AnuragVarma-z9r 10 месяцев назад +7

    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

  • @automaticattendance2500
    @automaticattendance2500 2 года назад +2

    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.

  • @chrisalexthomas
    @chrisalexthomas Год назад +1

    Why didn't you test it with faces that it doesn't recognise? That was an obvious thing to do.

  • @prernapatil6989
    @prernapatil6989 Месяц назад

    As someone who completed this project with other methods, I'd like to tell y'all that this video is not even 50% close to making it successful. I'm disappointed because there is so much information that is untold. Without that important information no one can achieve the output through this video. Make sure you learn properly and then start with it

  • @aijazmuhammadkhan3139
    @aijazmuhammadkhan3139 Год назад +2

    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

  • @leeyadav6738
    @leeyadav6738 4 месяца назад

    waste of time, you should explain more in detail

  • @yummyfood1855
    @yummyfood1855 11 месяцев назад +1

    Anyone today?

  • @AKElectroTech
    @AKElectroTech 4 месяца назад

    [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

  • @nsk6914
    @nsk6914 Год назад +1

    what if a person who is not inclued in the list will apper in front of the cam

  • @arupjyotilahkar8107
    @arupjyotilahkar8107 Год назад +1

    I got 5 errors in the Arduino code please help 😢

  • @law24d
    @law24d 4 месяца назад

    Can you have commercial device for startup franchise based clinic model , more WhatsApp only

  • @scenesticlad3042
    @scenesticlad3042 2 года назад +1

    the language used is python? you stored the database on PC, other options we can use are rasberry pi, any other?

  • @Versatile_Naveen
    @Versatile_Naveen 2 года назад +1

    which algorithm is used in this project.....???

  • @mramzadg
    @mramzadg 2 года назад +2

    Am learning lot's off from your videos thank you ... Very much....

  • @bhuvan.h.s.2683
    @bhuvan.h.s.2683 Год назад

    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

  • @syaduinotech3681
    @syaduinotech3681 7 месяцев назад

    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

  • @debashisdas2452
    @debashisdas2452 2 года назад +1

    How do I add a roll number along with the name in the excel sheet???

  • @AshishGupta-dw3id
    @AshishGupta-dw3id 2 года назад

    How much price for this project
    You can sell this project.
    I want buy this project

  • @ameenmohemmedbashir5191
    @ameenmohemmedbashir5191 2 года назад +1

    I have installed all the libraries that are shown in the tutorial and website

  • @Aliraza-jt1jo
    @Aliraza-jt1jo 2 года назад

    Having issue of: dont find a path
    Bye the Im using python .3.10.
    Window 11
    Plz anybody guide me

  • @PrintingEvie
    @PrintingEvie 6 месяцев назад

    you talk fast!

  • @indianmilitaryaspirants
    @indianmilitaryaspirants 8 месяцев назад

    error indicating while installing face_recognition
    please help

  • @dilshankasthuriarachchi4737
    @dilshankasthuriarachchi4737 2 года назад

    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🙄🙄🙄🙄😏😏😏😏

  • @VijaykumarVijaykumar-ug5le
    @VijaykumarVijaykumar-ug5le 5 месяцев назад

    Pip install r requirements.txt not support in cmd prompt

  • @srk24teckbuildz76
    @srk24teckbuildz76 2 года назад +1

    hello i am getting some errors in python code which version of python did u use

    • @rahuljena5754
      @rahuljena5754 Год назад

      He has used Python 3.9.7 as shown in the video.

  • @srk24teckbuildz76
    @srk24teckbuildz76 2 года назад +3

    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

    • @sltechgalaxy1677
      @sltechgalaxy1677 2 года назад

      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

  • @harismikael2964
    @harismikael2964 Год назад

    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.

  • @sridharbellala15
    @sridharbellala15 5 месяцев назад

    i didnot get anything on serial monitor

  • @PiusBrassTek
    @PiusBrassTek 8 месяцев назад

    I paused 25 times to understand

  • @manishpatil5651
    @manishpatil5651 Год назад

    why you haven't give us full info about it.!

  • @asbeenabhishek4802
    @asbeenabhishek4802 Год назад

    pip' is not recognized as an internal or external command,
    operable program or batch file.
    solution

    • @null-yt-0007
      @null-yt-0007 6 месяцев назад

      you will have to install python first

  • @electronic7979
    @electronic7979 2 года назад +1

    👏👏👏

  • @abiramisirsabesan3442
    @abiramisirsabesan3442 Год назад

    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

  • @MrAlsan
    @MrAlsan 2 года назад +2

    Very interesting project 😉

  • @ronakpawar625
    @ronakpawar625 Год назад

    Can we apply this to cctv camera module

  • @varunpallod6459
    @varunpallod6459 Год назад

    Can we add anti spoofing code to this code?

  • @mohamedenn2096
    @mohamedenn2096 2 года назад

    What URL do I use if im using my pc webcam?

  • @sonuguru143
    @sonuguru143 2 года назад +1

    thanks

  • @shraddhalone8151
    @shraddhalone8151 2 года назад

    What should be the changes If I want to add different images ?

  • @ronakpawar625
    @ronakpawar625 Год назад

    Can we use another camera module

  • @thiennhanpham9717
    @thiennhanpham9717 2 года назад

    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

  • @medazizzeddini2705
    @medazizzeddini2705 5 месяцев назад

    i love you

  • @sanjaybaswa6992
    @sanjaybaswa6992 2 года назад

    I thought it is how to mechatroincs

  • @saifullah8068
    @saifullah8068 2 года назад

    How much in total cost this project

  • @nirmalkishore9226
    @nirmalkishore9226 2 года назад

    can it identify many faces simultaneously?

  • @SanthoshKumar-jr3br
    @SanthoshKumar-jr3br 2 года назад

    How do same project with qr code

  • @K95GetReadyForWar
    @K95GetReadyForWar Год назад

    Pura batane Nahi hota kya

  • @sltechgalaxy1677
    @sltechgalaxy1677 2 года назад

    in python code does not work errors

  • @raffiitch
    @raffiitch 2 года назад

    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!

  • @AnuragVarma-z9r
    @AnuragVarma-z9r 10 месяцев назад +1

    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

    • @PiusBrassTek
      @PiusBrassTek 8 месяцев назад

      Same error I am having

  • @aslamek919
    @aslamek919 2 года назад

    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

  • @tagalogelectronics6615
    @tagalogelectronics6615 2 года назад

    nice.....😄

  • @rehan_alammmblogs
    @rehan_alammmblogs 2 года назад

    Nice 👍👍

  • @ameenmohemmedbashir5191
    @ameenmohemmedbashir5191 2 года назад

    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

    • @avi9691
      @avi9691 2 года назад

      Did u find ur flaw...even i am getting the same error