ESP32 CAM Face Recognition Door Lock System

Поделиться
HTML-код
  • Опубликовано: 30 май 2020
  • In this esp32 cam project, I have made Face Recognition Door Lock System using ESP32-CAM. You can enroll multiple faces in this esp32cam face detection automatic door lock. When this smart lock detects any enrolled face, it will unlock the door automatically.
    So this is a simple but very useful home automation project using the esp32 camera module.
    For complete project details (schematics + source code) visit ► easyelectronicsproject.com/es...
    Time Stamps for this ESP32 CAM project:
    01:11 How to program esp32cam
    03:19 How the Face Recognition Access Control circuit works
    03:58 How to use the smart lock
    05:14 Explained the Code for face recognition lock
    Required Components for Face Detection Door Lock
    1. ESP32-CAM board
    2. Electronic door lock 12v
    3. TIP122 NPN Transistor
    4. 7805 voltage Regulator (5v)
    5. 10k Resistor (1no)
    6. 220-ohm Resistors (2no)
    7. Capacitor 220uF
    8. LEDs 5-mm (2no)
    9. Diode 1N4007 (1no)
    10.12V DC adaptor
    11. FTDI232 USB to Serial interface board (for programming esp32cam)
    💵 Buy ESP32 CAM from Banggood 💵 :- www.banggood.in/custlink/D3vy...
    💵 Buy ESP32 CAM from Amazon.in 💵 :- amzn.to/30Tuv1z
    💵 Buy 12V Electric Lock from Banggood 💵 :- www.banggood.in/custlink/3Kmy...
    💵 Buy 12V Electric Lock from Amazon.in 💵 :- amzn.to/2YdpsHz
    Limitation:
    The enrolled faces will delete from memory if you turn off the power. So it needs some upgrade to use in real space which I will explain in the upcoming video.
    During the video, I have explained the circuit and the code in details so that you can also make this smart house project for your home.
    You can also add more features to this esp32 project.
    Please let me know if you face any problem while making this wifi door lock.
    #esp32cam #TechStudyCell
    ------------------------------------------------------
    Thanks For Watching...
    ✅ SUBSCRIBE ✅LIKE ✅SHARE ✅ COMMENTS
    Find out more such projects: easyelectronicsproject.com/
    Find us on Facebook: / techstudycell
    -------------------------------------------------------
    Other useful Home Automation projects:
    WiFi Door Lock using ESP32 CAM & Blynk
    • WiFi Door Lock using E...
    ESP32-CAM PIR Motion Detector with Photo Capture | ESP32 CAM project
    • ESP32-CAM PIR Motion D...
    Home automation using NodeMCU and Blynk App - IOT based Project
    • Home automation using ...
    How to make Smart Home using Arduino Bluetooth IR & Sensors
    • How to make Smart Home...
    Home Automation project using TV remote (Infrared)
    • Arduino IR Remote cont...
  • НаукаНаука

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

  • @vishruth4890
    @vishruth4890 3 года назад

    I m really thankful that you explained the code

  • @tusharmukherjee4914
    @tusharmukherjee4914 4 года назад +1

    Code explained
    Appreciable thing👍

  • @CodingDruid
    @CodingDruid 3 года назад +1

    This was very helpful , thanks

  • @ArtisanPallet
    @ArtisanPallet 4 года назад +2

    Well explained...
    Thanks for sharing👍👍👍

  • @JAYFLAT777
    @JAYFLAT777 3 года назад +1

    Good form

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

    Very good project 👍

  • @hajeressafi3009
    @hajeressafi3009 4 года назад

    thank u so much for sharing
    I just watched ESP32 Cam and blynk app video and I wanted to know if it's possible to combine both projects :like if a person is not recognized I'll get a notif on my app in order to unlock the door for him

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

    Thanks for sharing such an Awesome project.
    Can you please confirm , what is the Maximum number of faces ESP32 CAM can hold onto it's on board memory. Awaiting your earliest response. Kind regards.

  • @_random__vlogs_
    @_random__vlogs_ 3 года назад +3

    Which detection and recognition algorithm is used?

  • @suhailasaba1051
    @suhailasaba1051 4 года назад +2

    Good video

  • @imranhussain2306
    @imranhussain2306 3 года назад

    Is there anyway to go with wireless doorlock? If yes, Can you suggest any?

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

    Thank you bro
    After upload code camera not detection the face ( unseen blue rectangular), how to fix that.

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

    Thank you friend, can you help me if I try it

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

    Hi great project i like it very much! However when i compile it gives error "'box_array_t {aka struct tag_box_list}' has no member named 'score'
    " Could you kindly advise what went wrong? I am using this as my final year project, and i left 1 month to complete. Please asap. Thanks.

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

    how do i get the image after disconnection (I meant without tr and rx pins?) I do need help. please can you answer me ?

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

    When the ESP 32 CAM is disconnected from the laptop the recognized face is lost on power off & one has to redo all the steps again to trigger open the door lock. So how in real scenario this device can be used as standalone to remember multiple different faces to open the door lock automatically.

  • @wiltonjamespanuncio2745
    @wiltonjamespanuncio2745 3 года назад

    hello Tech StudyCell I'd like to know what algorithm you used.plss

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

    is it possible to add add finger print as backup in this schematic?, if possible how to wiring it.thanks bro

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

    what's the link of the video that explains "Limitation:
    The enrolled faces will delete from memory if you turn off the power. So it needs some upgrade to use in real space which I will explain in the upcoming video" this

  • @hda2channelindonesia895
    @hda2channelindonesia895 3 года назад

    Thank you so much bro.. can do we use arduino for this trial brother??

  • @fitririzkiyanti4075
    @fitririzkiyanti4075 3 года назад

    hey, can i asked, how to register our face using EDP32 cam?

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

    Great project men, but I have a problem says packet header. Can you help me please! :(

  • @muhammadsalem9924
    @muhammadsalem9924 9 месяцев назад

    I want to implement this project:
    "Design of Driver Awareness system depending on Eye and Face Feature and Discrimination"
    Can I use ESP32 instead of Raspberry Pi ?
    How do I program it and what do you use ? please reply

  • @user-mv6rq2zc6r
    @user-mv6rq2zc6r Год назад

    As given in the video after i receive the IP address i disconnect the FDTI and did all the connection but the IP address is not working and i didn't see and Led glow in my connection. Can you please help me find the problems here?

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

    Hello pleasw help me. I cant find library of the canera.pins. h

  • @mohammadanish1380
    @mohammadanish1380 3 года назад +1

    Sir mobile se programming ho sakti hai kya please sir mobile se programming ki ek video banao please sir

  • @3nfilmvietnam865
    @3nfilmvietnam865 3 года назад +3

    How many face it can recognize?

  • @Akash-zx8vz
    @Akash-zx8vz 2 года назад +1

    Bro I can't upload codes to esp board. Whenever I try to connect it shows" A fatal error occurred:Failed to connect to ESP32 :Timed out waiting for packet header ." What can i do

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

    Sir range kitni he?
    Plz ans.

  • @PavanManchineni
    @PavanManchineni 3 года назад

    Hi can you place all the component links

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

    hello my friend please i have FTDI I have PowerShell, I have a relay, and when I lock the project, I have a problem during the implementation of the project. When I download the code, this message appears
    a fatal error occurred: Failed to connect to ESP32 : Time out waiting for packet header

  • @himavu3840
    @himavu3840 3 года назад

    Is there any option to send the saved persons name telegram or google drive for confirming they are present that day for an office or a college

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

    When I disconnect the power from the esp cam, the face that was entered before is not saved and the face likes again. What is the solution to this problem?

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

    Is it possible to unlock this face door lock by showing the photo from the phone?

  • @bocahbledek7239
    @bocahbledek7239 3 года назад

    sir, what name face recogniton method for this project

  • @SonNguyen-sm8sk
    @SonNguyen-sm8sk 3 года назад

    I got this error
    [E][camera.c:1049] camera_probe(): Detected camera not supported.
    [E][camera.c:1249] esp_camera_init(): Camera probe failed with error 0x20004
    pls help me

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

    Sir, my camera keeps on rebooting every time I turn on face detection and recognition. Can you help me with that?

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

    Sir ...
    How many faces we can enroll in Esp32?

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

    I m facing problem while verify
    Fd_forward.h. no directory

  • @rameshk.pandey6883
    @rameshk.pandey6883 3 года назад +2

    Sir i had tried your project everything is working but when enrolling my face it is not shows any square on the face and not working,pl reply as am waiting for your rply
    ramesh pandey

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

      same problem

  • @gtsindustries
    @gtsindustries 4 года назад

    Board doesn't connect my smartphone hotspot wifi connection

  • @godavariabbayi6992
    @godavariabbayi6992 3 года назад

    Bro faces are not enrolled , colud u pls give the solution?

  • @roscoe3dp470
    @roscoe3dp470 4 года назад

    Hi, I’ve got it working 👍 is there a way to save the photos to the onboard sd card ?

    • @amaanshaikh1644
      @amaanshaikh1644 3 года назад

      Hey can you help me

    • @roscoe3dp470
      @roscoe3dp470 3 года назад

      @@amaanshaikh1644 Sure

    • @amaanshaikh1644
      @amaanshaikh1644 3 года назад

      Is it really working for you cause for some reason my esp32 cam got shot when I tried to run the project

    • @roscoe3dp470
      @roscoe3dp470 3 года назад

      @@amaanshaikh1644 Yes it works, what is the problem ?

    • @Turninglife1992
      @Turninglife1992 3 года назад

      @@roscoe3dp470 hello dear
      It's programming problem, not completed to compiling, plz help

  • @ohimdean
    @ohimdean 3 года назад

    if i use a 2amp lock do i have to change anything besides the power supply?

    • @TechStudyCell
      @TechStudyCell  3 года назад

      No. It better to use a heat sink with 7805.

    • @ohimdean
      @ohimdean 3 года назад

      @@TechStudyCell i see thank you!

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

    Good day sir, How can i fix " PSRAM ID READ ERROR: 0xffffffff" ?

  • @prashantvasala6765
    @prashantvasala6765 3 года назад

    Why is a capacitor used ???

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

    Bro whats the amount for this whole project

  • @radheshr8229
    @radheshr8229 3 года назад

    bro I have querey in ur code can u expalin it bro

  • @user-hw4lk4pd1k
    @user-hw4lk4pd1k Год назад

    I am facing compilation error @40th line camera_pins.h

  • @s.awesomeness3920
    @s.awesomeness3920 Год назад

    [E][camera.c:1113] camera_probe(): Detected camera not supported.
    [E][camera.c:1379] esp_camera_init(): Camera probe failed with error 0x20004 this is displaying on my serial monitor what to do

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

    Sirr the face detection is not working while I pasted the ip adress in chrome

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

    rst:0x1 (POWERON_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2)) waiting for download ets Jul 29 2019 12:21:46 sir I don't know why this error is coming sir can you please help me???

  • @amaanshaikh1644
    @amaanshaikh1644 3 года назад +1

    I have done everything as you said all the connections but when I connect it with power the esp doesn't connect with my wifi and there is no response when I enter the ip

    • @TechStudyCell
      @TechStudyCell  3 года назад

      Please check the WiFi credentials and ESP32CAM module type you have selected in the code

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

    How can i add a button to unlcok the door
    Just for safety purposes
    Btw im new to microcontrollers and electronics stuff
    Anyone pls tell

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

    how can you make relay high when the face does not match and there is a intruder alert.

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

      i am working on a project that the opposite condition your project has.

  • @sudhanshumishra6110
    @sudhanshumishra6110 4 года назад

    SIR after doing above procedure as i put the camera in circuit and put the ip adress i am not getting that camera window

    • @TechStudyCell
      @TechStudyCell  4 года назад

      If you turn off the ESP32cam then the IP may change. So connect the ESP 32 with circuit then connect with laptop to get the IP. Then use that IP. This circuit also have some limitations. Please check description

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

      @@TechStudyCell how to connect it with laptop after connect the esp32 with circuit?

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

    Hola enrol face no funciona un saludo desde queretaro mx

  • @prashantvasala6765
    @prashantvasala6765 3 года назад

    Why is TIP122 transistor used in this circuit. Can anyone help me??

    • @TechStudyCell
      @TechStudyCell  3 года назад +1

      To control the 12v electronic lock

  • @professor.jubermulla
    @professor.jubermulla 2 года назад

    my face is not detected even not enrolled why it happens please help me

  • @esamalik9313
    @esamalik9313 4 года назад

    Hey bro..
    I'm facing some errors in door lock part. Please can you help in solving this??

    • @TechStudyCell
      @TechStudyCell  4 года назад +1

      Please share what is the error

    • @esamalik9313
      @esamalik9313 4 года назад

      Can you share your email or whatsapp no?

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

    fd_forward.h fatal error occurred in app_http

  • @mayurijadhav9594
    @mayurijadhav9594 3 года назад

    Cost of this project

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

    Kindly add temperature 🌡️ detection and socail distancing measuring project with mask detection plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz

  • @ichsandevandra
    @ichsandevandra 4 года назад

    Should I open the IP so the door lock or can I do it without the IP being accessed?

    • @TechStudyCell
      @TechStudyCell  4 года назад

      To use this circuit you have to open the IP in the browser. If you close the browser the circuit will not work.

    • @ichsandevandra
      @ichsandevandra 4 года назад

      @@TechStudyCell most of the time, when i try to access the IP, it shows the UI, but not the stream image, i have to connect it to Arduino IDE, and press the reset button, is that a common bug?

    • @TechStudyCell
      @TechStudyCell  4 года назад

      You will find a start stream button on the UI. Click on it to start the stream

    • @ichsandevandra
      @ichsandevandra 4 года назад

      @@TechStudyCell i did, but nothing is showing

  • @sudhanshumishra6110
    @sudhanshumishra6110 4 года назад +2

    sir as i disconnect camera and then add the camera in circuit and then i put the ip adress the ip adress is not loading why it is happening?

    • @TechStudyCell
      @TechStudyCell  4 года назад

      After uploading the code, you have to remove the wire connecting GPIO 0 with GND. Then press the reset button.

    • @sudhanshumishra6110
      @sudhanshumishra6110 4 года назад

      @@TechStudyCell that i have done sir, but after that we have to put the camera in the circuit and give supply then i put ip adress it don't work

    • @sudhanshumishra6110
      @sudhanshumishra6110 4 года назад

      As you said after getting i adress remove camera wire and then make a circuit and then give power supply and put ip adress as i put the ip adress it's not loading but i flash and disconnect gpi0 and gnd and putting ip i am getting on google but i remove the camera to make circuit and putting ip doesnt work

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

      @sudhanshu Mishra did you get solution for this?

  • @sudhanshumishra6110
    @sudhanshumishra6110 4 года назад

    I upload the code , it's uploaded but as i connect the camera in circuit and on start the ip adress it's not working why so help me?
    please

  • @user-hy5xs1om9t
    @user-hy5xs1om9t 3 месяца назад

    how to solve the error sir :
    Fatal error: fd_forward.h: No such file or directory
    #include "fd_forward.h"
    ^~~~~~~~~~~~~~
    Compilation error: fd_forward.h: No such file or directory

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

    Sir
    Can you share the code ??

  • @hadiuzamanmohan3830
    @hadiuzamanmohan3830 3 года назад

    sir our green led is turn on. but look doesn't work.

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

    Compilation error: fd_forward.h: No such file or directory

    • @user-yk9bx6mn9q
      @user-yk9bx6mn9q 7 месяцев назад +1

      try to install esp32 1.6.0 board version from board manager

  • @imadkhan336
    @imadkhan336 3 года назад

    I want to make this project can u help me

    • @TechStudyCell
      @TechStudyCell  3 года назад

      If you face any issues, please ask here

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

    However I try I can't enroll my face in esp 32 cam
    Can you reply please😢

    • @s.awesomeness3920
      @s.awesomeness3920 Год назад

      hey do we have to type our wifi name or just random wifi name and password

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

      correct WiFi details

  • @sanasaleem2737
    @sanasaleem2737 4 года назад

    A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header .why show this error plz guide me

    • @TechStudyCell
      @TechStudyCell  4 года назад

      Press the reset button just before uploading the code.

    • @sanasaleem2737
      @sanasaleem2737 4 года назад

      @@TechStudyCell i tried lot of time but same issue occure

    • @sanasaleem2737
      @sanasaleem2737 4 года назад

      please guide me

    • @TechStudyCell
      @TechStudyCell  4 года назад

      Connect GPIO 0 with GND while uploading the code. During uploading the code if you see connecting....__ then press the reset button on ESP 32 cam.

    • @sanasaleem2737
      @sanasaleem2737 4 года назад

      @@TechStudyCell how to supply the current in circuit

  • @ionutmarinescu4238
    @ionutmarinescu4238 11 месяцев назад

    Hello, this code no longer works

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

    Problem code

  • @anasarshad3453
    @anasarshad3453 3 месяца назад

    Errors

  • @RajKumar-mb9mg
    @RajKumar-mb9mg Месяц назад

    Arey bhai code file is not opening

  • @prabhurachuti8797
    @prabhurachuti8797 3 месяца назад +1

    it seems the code provided is doesnt make any sense. its a fake video it seems

  • @ionutmarinescu4238
    @ionutmarinescu4238 11 месяцев назад

    Codul nu funcționează

  • @sudhanshumishra9803
    @sudhanshumishra9803 4 года назад

    sir getting error in code plzz can you share your email id

    • @TechStudyCell
      @TechStudyCell  4 года назад

      If you follow all the steps then you should not get any errors. If possible please share the error here.

    • @sudhanshumishra6110
      @sudhanshumishra6110 4 года назад

      @@TechStudyCell camera_pins.h: No such file or directory

    • @sudhanshumishra6110
      @sudhanshumishra6110 4 года назад

      @@TechStudyCell i am getting this error

    • @TechStudyCell
      @TechStudyCell  4 года назад

      There is a camera_pin.h file. You have to download all the files, then keep all the files in same directory while uploading the code.

    • @sudhanshumishra6110
      @sudhanshumishra6110 4 года назад

      @@TechStudyCell SIR after doing above procedure as i put the camera in circuit and put the ip adress i am not getting that camera window

  • @anasarshad3453
    @anasarshad3453 3 месяца назад

    C:\Users\Anas's\Downloads\Compressed\03-04-2024\ESP32_DOOR_UNLOCK\app_httpd.cpp:22:10: fatal error: fd_forward.h: No such file or directory
    #include "fd_forward.h"
    ^~~~~~~~~~~~~~
    compilation terminated.
    exit status 1
    Compilation error: fd_forward.h: No such file or directory