Тёмный

ESP32-CAM Face Recognition Open Door Lock 

robotzero.one
Подписаться 3 тыс.
Просмотров 120 тыс.
50% 1

Опубликовано:

 

16 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 619   
@montyfunkfilms
@montyfunkfilms 3 года назад
Just made this - works perfectly - very well explained mate!!
@osgaleo2229
@osgaleo2229 5 лет назад
Beautiful work thanks for making the material available and your cod we are working here very slowly !!
@givaty435
@givaty435 4 года назад
Thanks a lot ! For all the people who look how to straight start a face recognition when the module is power on you just have to change in the code : typedef enum { START_RECOGNITION, START_STREAM, START_DETECT, SHOW_FACES, START_ENROLL, ENROLL_COMPLETE, DELETE_ALL, } en_fsm_state;
@robotzeroone
@robotzeroone 4 года назад
I think that this just means that when the browser connects you don't have to press the 'Access Control' button to start face recognition? You still have to connect to the browser so the websocket connection is active.
@botak333
@botak333 4 года назад
Can use esp 32cam without wifi?? And save the data face recognition in sd card??
@harisshehzad5749
@harisshehzad5749 2 года назад
great work. I tried it works perfectly with esp32 version 1.0.4.
@rubialugattimoreira1978
@rubialugattimoreira1978 2 года назад
The best teacher ever. You did a amazing job! Everything worked for me perfectly. Thanks for share you knowledge 🙏🏻 Let me ask, do you have a sketch that works automatically when starting the controller?
@acestudioscouk-Ace-G0ACE
@acestudioscouk-Ace-G0ACE 3 года назад
Very clearly explained, I've subscribed!
@027_wahyuhidayatsiregar3
@027_wahyuhidayatsiregar3 Год назад
Hello i got error like this "FaceDoorEntryESP32Cam:329:86: error: 'recognize_face_with_name' was not declared in this scope face_id_node *f = recognize_face_with_name(&st_face_list, out_res.face_id); ^ exit status 1 'face_id_name_list' was not declared in this scope " Can someone help me to fix that error pls
@KKTVirtualLearning
@KKTVirtualLearning 3 года назад
Excellent project. Working fine. Just I connected ESP32 and executed the sketch. I didn't change or create a new partition scheme. By default it has been set as Huge App in the IDE. I just connected an LED to test the recognition result. It works well.
@Petrovjan
@Petrovjan 4 года назад
Hi, does the face recognition also work offline (when no browser is connected)? Or is the ESP32 CAM Arduino support limited to the webserver feature? I've only found offline examples for ESP-IDF , but not for Arduino...
@robotzeroone
@robotzeroone 4 года назад
Hi, This one will work without being connected to a browser: robotzero.one/esp32-face-door-entry/ You need to be able to add the faces while using the browser but you could then run a cut down sketch to not use Wi-Fi at all once you have faces.
@skm8983
@skm8983 4 месяца назад
@@robotzeroone which line must i cut off in the wifi skecth sir?
@steverogers7736
@steverogers7736 4 года назад
Instructions unclear, there are zombies in my house
@xandcapcom
@xandcapcom 4 года назад
Congratulations, this project is really useful. You would have something with mqtt working together. Using mqtt I could easily work with Openhab. Thank you!
@lancelotnub
@lancelotnub 2 года назад
in this flash memory or Face Recognition partition (2621440 bytes with OTA) how much face data can be stored?
@WastiKeo
@WastiKeo Год назад
thanks for the great video. but can ask one question about this program. What method is used in this face recognition process?
@lancelotnub
@lancelotnub 2 года назад
I'm using board version 1.0.5 and partitions.csv it can store how much face data sir? and how to delete the face data?
@x2419-n4j
@x2419-n4j 4 года назад
Great job, i already try work fine. can it work without the streaming? I meaning only camera and relay
@haniessofea6205
@haniessofea6205 3 года назад
Can I know the method used in this project either it is Cascade Classifier method or any of this techniques Linear Binary Pattern, Eigenfaces, Fisherfaces?
@robotzeroone
@robotzeroone 3 года назад
The technical information can be found linked from this page - github.com/espressif/esp-face/tree/420fc7e219ba98e40a5493b9d4be270db2f2d724
@mohammadshafiquddin3564
@mohammadshafiquddin3564 Год назад
everything running fine but when i opened webserver, no streaming is there. I am getting "Failed to get the frame on time! " this message on serial monitor.
@rajvigneshtn
@rajvigneshtn 3 года назад
Thanks for the great tutorial. What is the maximum number of faces that could be registered? Can we move the registry of faces to SD card so we can handle more users??
@robotzeroone
@robotzeroone 3 года назад
HI, Check out the issues here - github.com/espressif/esp-who/issues You should find the answer to your questions.
@centralesinteligentes5931
@centralesinteligentes5931 2 года назад
Very good ! It is the only video on esp32cam with such utility. It shows that there is a lot of knowledge . I don't know English and it is still perfect. Please I want to know what you mean when you say (IDF versions). You have to modify library code to detect life and not fool the system with photos? I have the ArduinoWebsokets library in version 0.5.3, esp32 1.0.6 and my Arduino ID 1.8.16 Greetings from Argentina.
@robotzeroone
@robotzeroone 2 года назад
Thanks! IDF is this docs.espressif.com/projects/esp-idf/en/latest/esp32/ To have liveness detection you need a second camera for a 3D image or an infrared for heat. Some systems might use face detection on frames in a video. Not possible at the moment with the ESP32 though.
@lazzlow2651
@lazzlow2651 3 года назад
That's awesome , but i have some questions 1-Can we add a virtual unlock button in the interface or whatever as a second way to unlock ? 2-Can we use 1 or 2 servo motors instead of that lock - i'd use 'em to power manual deadbolt lock- 3-Can we make use of the open Cv liveness detection
@robotzeroone
@robotzeroone 3 года назад
One and two are possible. You can code websockets for communication in both directions. Other tutorials on my blog might help with that. OpenCV doesn't work on the ESP32 AFAIK you would have to use the video stream on another device.
@benigtecu9460
@benigtecu9460 4 года назад
Hello, I need help. Maybe you can recommend me something concrete or at least make some suggestions in both the HW and SW parts. Any help is welcome. I need to set up a kind of surveillance/streaming system for a project at my school. I would very much like to do it with something like ESP32-EYE or ESP32-CAM. My intention is to stream (or as close as possible) on RU-vid or FB directly from the module. I am not sure if that is possible and how to do it. I am very tight on time, and I don't have much money for testing either. I know that you have a lot of experience and have tested many modules. Please, which ESP module/camera/software could I use for that? Thank you very much.
@ngocsang2541
@ngocsang2541 3 года назад
hi, I just want to use ACCESS CONTROL for my project. Can you help me to modify code?
@darmawahyu5213
@darmawahyu5213 4 года назад
i have problem in my work, before, this esp32 cam worked well, but after several time. the esp32 cam can't work and the serial monitor showing "A Connection reset by peer" if you have solution please tell me . because i use this project for last exam in my college
@robotzeroone
@robotzeroone 4 года назад
I think this is Wi-Fi related. The ESP32 thinks the browser has disconnected. Can you move closer to the router?
@darmawahyu5213
@darmawahyu5213 4 года назад
i try connect with sit in front of my wifi router the result is same sir. I change the another browser and and use my hotspot in my phone still same. If i klik f12 in browser some problem has show in console. "Websocket connection to 'ws://192.168.1.7:82/'failed :could not decode a text frame as UTF-8". If i try with camerawebserver the esp32 cam worked fine.
@elparienteek2948
@elparienteek2948 Год назад
hello, thank you very much for the video, the program runs and sends it to the esp32 but the serial monitor does not show me the ip
@vainz5908
@vainz5908 Год назад
I have a question, if i want to make the relay on for more than 5 second, what line of code do i need to change?
@robotzeroone
@robotzeroone Год назад
long interval = 5000; // open lock for ... milliseconds
@TheBlueViper
@TheBlueViper 8 месяцев назад
Hi, thats a great video and i want to use it for my final project, what do i do if my arudino ide is version 2.x.x and above? Thank you vey much i hope for an answer
@robotzeroone
@robotzeroone 8 месяцев назад
HI, I think it will work with those versions of the IDE but the ESP Hardware library has to be be 1.0.4 or 5.
@TheBlueViper
@TheBlueViper 8 месяцев назад
yep i managed to do that but i cant see the partition scheme for some reason@@robotzeroone
@robotzeroone
@robotzeroone 8 месяцев назад
Can you change the board to AIThinker ESP32 Cam? Maybe that will work with Huge App selected
@TheBlueViper
@TheBlueViper 8 месяцев назад
when i select ESP32 CAM it wont let me change the partition scheme at all@@robotzeroone
@webslinger2011
@webslinger2011 4 года назад
Hi! I managed to get it partially working. It detects at first then a few seconds later the ESP32 disconnects. Also, the output pin does not seem to output a signal. Are you using an original esp32? I'm using a clone from aliexpress (the Rx and Tx pins is reversed otherwise it won't upload the sketch).
@webslinger2011
@webslinger2011 4 года назад
I've used a 100uf Cap and an external power as well.
@robotzeroone
@robotzeroone 4 года назад
@@webslinger2011 Normally RX on one device is connected to TX on the other. Might be a power issue, might be wifi. Does the CameraWebServer example work OK?
@webslinger2011
@webslinger2011 4 года назад
@@robotzeroone Other than the Tx and Rx pins were switched. Camera webserver works fine. It's when I try to activate a pin for the optocoupled relay that's when it resets/disconnects(happens even without anything connected to the output pin). Using your face recognition code.
@webslinger2011
@webslinger2011 4 года назад
@@robotzeroone What usb to serial programmer are you using? Mine is an FTDI FT232RL USB to serial IC from DFrobot. Maybe I could try a CP2102?
@robotzeroone
@robotzeroone 4 года назад
I'm using a CP2102. I remember the FTDI I tried didn't work when I started with these cameras so I've not tried again since. Try changing the output pin. I found 2 and 12 worked. Do you have a card in the reader? Also if you look in the serial monitor and installing the ESP Exception Decoder might help.
@hedi875
@hedi875 2 года назад
I'm using the version 2.0.0 of the Arduino ESP32 hardware , what csv partition file have i to use ? With the csv file for the 1.0.5 version you provided, there is no streaming after connection to the web server.
@robotzeroone
@robotzeroone 2 года назад
I don't think the face recognition works with v2. The built in camerawebserver example wasn't working last time I looked.
@hedi875
@hedi875 2 года назад
@@robotzeroone Thanks for the information. I'll go back to the 1.05 version. By the way the camerawebserver example is working flawlessly with the 2.0.0 version.
@robotzeroone
@robotzeroone 2 года назад
@@hedi875 Ah.. they must have fixed it... github.com/espressif/arduino-esp32/issues/5878
@vokhoa4767
@vokhoa4767 3 года назад
Converting HTML page into array of hexadecimal values for use in an Arduino server. which tools do you use ?
@robotzeroone
@robotzeroone 3 года назад
Tutorial here for this: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-bIJoVyjTf7g.html&ab_channel=robotzero.one also on my blog linked from the video description.
@vokhoa4767
@vokhoa4767 3 года назад
@@robotzeroone. Thank you very much. I am someone who admires you very much
@dimitrisdsphotography7074
@dimitrisdsphotography7074 5 лет назад
First of all congrats for this great work! I'm facing an issue on this project...Everything was running perfect until the last couple of days i was no longer able to stream from the esp-32 cam, as a result it couldn't detect or recognize faces anymore. I updated the boards and libraries, i even tried it from different computer and browser but still the same. I still can browse into the web UI but it won't stream any image from the left window. I tested my esp32-cam board on other projects and it's fully functional. So, any thoughts what's causing this issue? Thanks!
@robotzeroone
@robotzeroone 4 года назад
Does the camerawebserver example work for you? If you load that up can see the video at your-ip-address:81/stream ? Might be the camera.
@manjunathatiger4807
@manjunathatiger4807 4 года назад
Good job sir fantastic projects Sir how much distance operated in mobile
@unnecessaryprojects1835
@unnecessaryprojects1835 3 года назад
Cheers for this guide, persistence was a big help. however it seems very laggy and slow, and is it possible to use without the browser connected? Don't want to have to have something logged into it all the time
@robotzeroone
@robotzeroone 3 года назад
It's slow because running the face recognition really taxes the ESP32 processor. This version you can disconnect - robotzero.one/esp-who-recognition-with-names/#comment-43712 Or you can use the version in the video to set up the faces and then this one - robotzero.one/esp32-face-door-entry/ without Wi-Fi to run it
@bruhitsp4n959
@bruhitsp4n959 4 года назад
Hey guys i need help for my project i want to create a door control with face recognition using esp32-cam, and also it can capture motion using motion sensor and send the picture using internet to the phone app...
@c0d3d85
@c0d3d85 4 года назад
Hello, I was wondering how I could go about drawing squares around peoples faces as I wish to repurpose this for a slightly different purpose. Any help would be appreciated!
@robotzeroone
@robotzeroone 4 года назад
I took out that code to try and make things less complicated and maybe run faster. I think the boxes are still there in some of the other tutorials on my blog.
@muhammadsalem9924
@muhammadsalem9924 Год назад
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
@robotzeroone
@robotzeroone Год назад
It will be way too slow for that. It can barely manage face recognition and in the latest libraries they've dropped that.
@muhammadsalem9924
@muhammadsalem9924 Год назад
@@robotzeroone Thank you for the answer... I understand from this that I cannot use Esp32 because it has limited capabilities, right?
@robotzeroone
@robotzeroone Год назад
Yep. @@muhammadsalem9924
@brianalmeida529
@brianalmeida529 5 месяцев назад
Is there any possibility of doing the same but with an esp wrover cam card? That is, wouldn't it have conflicts with some libraries?
@brianalmeida529
@brianalmeida529 5 месяцев назад
I just realized that I'm going to be missing pins to place my fingerprint sensor. This is a double authentication project that I want to do, incorporating fingerprint sensors and more facial recognition.
@robotzeroone
@robotzeroone 5 месяцев назад
@@brianalmeida529 The problem has always been the pins. So many are used by the camera that there are very few available. I think my project will still work with the correct pins set.
@brianalmeida529
@brianalmeida529 5 месяцев назад
@@robotzeroone What do you think of the wrover cam, will it be useful for my project? I have the following components: relay, fingerprint, that's all. And if there are more pins left over I want to use one or two buttons.
@robotzeroone
@robotzeroone 5 месяцев назад
@@brianalmeida529 I'm not sure. If you can find a pin diagram you can see which pins are available and what interfaces they offer. This project was mine with most pins used so might give some help robotzero.one/esp32-cam-scene-analyzer/
@brianalmeida529
@brianalmeida529 5 месяцев назад
@@robotzeroone Thanks, this will help me. Then I'll show you how it turned out more or less.
@josecorreia1631
@josecorreia1631 4 года назад
Hello MR. Robot Zero, I really appreciate your work on this tutorial. I did the implementation as in your tutorial and everything works fine, faces are enrolled OK and faces are detected OK; However, if a new face (one that is not enrolled) is presented to the ESP32-CAM then sometimes the system detects it as one of the enrolled faces. Is this the bug that you mention at 9:16 of your video? Is there a fix to this problem?
@robotzeroone
@robotzeroone 4 года назад
The problem mentioned was with an earlier version of the ESP32 Hardware library. In 1.0.4 it's fixed. If you are finding it detects different people as the same there's a setting that can be changed but without looking into it I think it might be only available in the IDF version at the moment. Checkout FACE_REC_THRESHOLD here: github.com/espressif/esp-face/blob/master/face_recognition/README.md
@josecorreia1631
@josecorreia1631 4 года назад
@@robotzeroone THANKS for your response. I find a FACE_REC_THRESHOLD, in the fr_forward.h file. It looks like: #define FACE_REC_THRESHOLD 0.5 I changed this to #define FACE_REC_THRESHOLD 0.7 It is working now but I cannot yet confirm that reliability has improved. I am going to test during the next few days. Meantime, if you have any suggestion, please let me know.
@gofarperdana2659
@gofarperdana2659 4 года назад
is the recognized face saved permanently? i mean did we lost the recognized face when we turn off the camera?
@robotzeroone
@robotzeroone 4 года назад
In this project the face is permanently saved.
@Dragons927
@Dragons927 4 года назад
#include"soc/soc.h" #include"soc/rtc_cntl_reg.h" void setup(){ WRITE_PERI_REG(RTC_CNTL_BROWN_OUT_REG,0);//disable brownout detector } This will help!
@lancelotnub
@lancelotnub 2 года назад
sir, can you add flash and stop camera ???
@javieramayav7533
@javieramayav7533 3 года назад
It worked perfect, thanks a lot!!!
@said7176
@said7176 3 года назад
Hai sir, I wonder if i can make the system recognize only 1 face in all faces in the db. For example like hardcode where face_id == 1, which system only recognize user where not the other. But it seem didnt work for the face_id. I also cant figure out how the enroll system save the face_id. Do you know what the return where I can make the == 1 to bind only 1 user? thank you..
@robotzeroone
@robotzeroone 3 года назад
Did you see the other tutorial here: robotzero.one/esp32-face-door-entry/ it's less complicated if you just want one face. Maybe the line if (matched_id >= 0) { could be changed to ==1?
@afifahtrielestari2637
@afifahtrielestari2637 2 года назад
when face detection and recognition turn on, why esp 32 cam is black and serial monitor is martix3du item alloc failed?
@robotzeroone
@robotzeroone 2 года назад
Which version of the ESP32 hardware library are you using? Do you have PSRAM enabled in the IDE?
@NathanNehemiah
@NathanNehemiah 4 года назад
Hey sir, can i connect this to lcd, so when it esp32cam detected someone, example me : nathan, my name will shows up in the lcd
@robotzeroone
@robotzeroone 4 года назад
Hi. Check out this video for connecting an LCD - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-j8lVFmjAARA.html You should be able to combine the code to do what you want.
@jorgevallejo8611
@jorgevallejo8611 3 года назад
Hi sir, great video I really enjoyed it but I have a question. How do you open the door in case that the light went out and in consequence the wifi stops working? how would you open the door in this case? greetings from Ecuador
@robotzeroone
@robotzeroone 3 года назад
Hi, this tutorial doesn't have the wifi- robotzero.one/esp32-face-door-entry/ so will work just running from a battery.
@marlonragusta3363
@marlonragusta3363 5 лет назад
sir good day just asking why is it that the face recognition partition scheme in my IDE is not showing even if i follow the direction you gave
@robotzeroone
@robotzeroone 5 лет назад
Hi, Did you restart your IDE after changing the boards.txt file?
@andreeasrh
@andreeasrh 2 года назад
Hello sir! I try to make this project but i have an error with fd_forward and fr_flash. Please, can u help me? Thanks a lot
@robotzeroone
@robotzeroone 2 года назад
Are you using 1.0.4 of the ESP32 hardware libraries? What is the error? Check the comments in the blog for more help.
@JugaaduJi
@JugaaduJi Год назад
Sir some problem this code #include fd_forwad.h , fr_forwad.h no such library. How to fix it ..
@robotzeroone
@robotzeroone Год назад
Probably the wrong version of the ESP32 hardware library. Try 1.0.5
@kamelboulenache3147
@kamelboulenache3147 4 года назад
Hello can i use servo motor instead of the lock used in the vid
@robotzeroone
@robotzeroone 4 года назад
Hi. You should be able to. Check out the servo tutorials on my blog: robotzero.one/?s=servo
@Carlos_Mtzv
@Carlos_Mtzv 4 года назад
Hi @kamel boulenache if you did it with the servo? I still want to do it like this but I don't know how
@utubekiranreddy
@utubekiranreddy 2 года назад
Does Enroll images saved even after Power ON and OFF of ESP32....?
@robotzeroone
@robotzeroone 2 года назад
In this project, yes.
@nosagigawidiansyah4016
@nosagigawidiansyah4016 Год назад
hello sir, while i compile the program, fatal error: camera_index.h: No such file or directory compilation terminated. how can i fix this problem? thankyou sir
@robotzeroone
@robotzeroone Год назад
Which version of the ESP32 Hardware Library are you using?
@wagnerjesus8353
@wagnerjesus8353 4 года назад
Hello. Thanks for sharing your knowledge with us enthusiasts. I have a problem and would like your help. The scket ran fine, but in time to capture the image of no face detect in google chrome. Then I close the page and open in Internet Explorer, the name is saved and I can open the door. But if I restart esp32cam add the names
@robotzeroone
@robotzeroone 4 года назад
Hi. Can you explain that again. I don't understand.
@fulltimebad
@fulltimebad 3 года назад
Dear sir one more question if i want to send user name to keep in Google Sheet (Log file or time Attendance) which Variable i can use to send it to google sheet
@robotzeroone
@robotzeroone 3 года назад
You want to grab the name from Websocket message? In the ws.onmessage method you need to do some sort of substring to get the name when the DOOR OPEN FOR... message comes in.
@fulltimebad
@fulltimebad 3 года назад
@@robotzeroone You want to grab the name from Websocket message? yes. or i can grab from ESP32-cam part ?
@fulltimebad
@fulltimebad 3 года назад
@@robotzeroone i found that variable "f->id_name" this one thx. for your support
@paololazzareschi5077
@paololazzareschi5077 4 года назад
Dear Robotzero.one , Thank you for sharing thsi amazing project. You have done a Great Job ! Everythings works fine and you explanation was perfect. For what I have seen at the beginning of the video , you have the ESP 32 CAM installed right at door entry, but I am wondering how do you manage the browser page. After faces recognition, I would like to make it works as a stand alone device, without any PC connected that is needed (or I am wrong..) Is that possible ? Do you have some suggetion to do these SW modification ? Thanks a lot anyway for this project!
@robotzeroone
@robotzeroone 4 года назад
Cool. I'm glad it's working for you. This one will work without being connected to a browser: robotzero.one/esp32-face-door-entry/ The easiest way is to have one sketch to add faces and another you flash that doesn't need browser to be connected. Alternatively, you could probably do one sketch with a timeout so after five minutes it stops the websockets connection and just runs face recognition.
@paololazzareschi5077
@paololazzareschi5077 4 года назад
@@robotzeroone Thank you for your kindly reply. I will go for your suggestion to have two source codes. I tried the link you attached but it doesn't work for me. It show me the error : [ assertion "l->size == size" failed: .... /fr_flash.c ] and ESP is rebooting continuosly.... :-( Anyway thanks a lot for your support.
@user-darkhan
@user-darkhan 4 года назад
@@paololazzareschi5077 Hello! I'm sorry, I have same problem. Have you solved this problem, Mr. Paolo? Thank you!
@paololazzareschi5077
@paololazzareschi5077 4 года назад
@@user-darkhan I am sorry but I don't have solved the problem. I will try again when I will have more time. I' ll let you know if having some good news.
@user-darkhan
@user-darkhan 4 года назад
@@paololazzareschi5077 Ok, Thank you! Happy New year, Mr. Paolo ! And I, if I'll solve this problem I let you know...
@ZiedKb
@ZiedKb 5 лет назад
Great video like always
@anamaryalvarez2993
@anamaryalvarez2993 Год назад
Excellent project, but i have a problem, i followed all the instructions, i can't compile de project, the arduino ide, doesn't recognize the libraries and it says: Compilation error: fd_forward.h: no such file or directory, May you help me??
@robotzeroone
@robotzeroone Год назад
Which version of the ESP32 Hardware libraries are you using? Needs to 1.0.4 or 1.0.5
@anamaryalvarez2993
@anamaryalvarez2993 Год назад
@@robotzeroone hi, i'm using the 2.0.5 version, i'm going to change it to that version, thank you so much, if it doesn't work i let you know
@jrxik2
@jrxik2 4 года назад
Congratulations for the tutorial, I followed everything clearly explained, but loading the http page only the part of the controls is visible but the streaming image of the camera is not visible
@robotzeroone
@robotzeroone 4 года назад
Does the CameraWebServer example work for you?
@jrxik2
@jrxik2 4 года назад
it works perfectly
@robotzeroone
@robotzeroone 4 года назад
In the browser, press F12 and look in the console tab to see if there are errors.
@jrxik2
@jrxik2 4 года назад
I SOLVED THANKS !!!!
@anorophile2841
@anorophile2841 4 года назад
How did you solve the problem of Console using F12...can you please tell???
@iotguy2423
@iotguy2423 4 года назад
good video ,do we have to press every time ACCESS CONTROL to get started when ever device restart
@robotzeroone
@robotzeroone 4 года назад
At the moment it doesn't run autonomously. I'll be creating another version soon.
@iotguy2423
@iotguy2423 4 года назад
@@robotzeroone your code is great only issue is it dosnt work at restart unless press Acess Control again.Would be waiting for your new version.
@yawarsaeed6499
@yawarsaeed6499 2 года назад
Hi dear, My system gets connected to the IP. The interface is working but it doesn't store my face ID. Arduino serial monitor shows fr_flash: Not found with different error numbers on each attempt. ESP32 Cam tries to get samples but it is not saved. I shall be highly obliged if you please guide me where I am getting wrong. Awaiting your response. Kind regards.
@robotzeroone
@robotzeroone 2 года назад
I'm not sure what the problem is. Which version of the ESP32 Hardware Library are you using?
@yawarsaeed6499
@yawarsaeed6499 2 года назад
@@robotzeroone Thanks for your quick response. I'm using ESP32 hardware library 1.0.5 for this project.
@giseric3249
@giseric3249 3 года назад
E (6438) fr_flash: Not found #sir kindly check my error I followed every single step but I get this error
@news247ng4
@news247ng4 4 года назад
Thank you very much sir for this wonderful video, but I have a question pls how can i change the code so that it will not capture one face with two different name, so that the system will prompt you that the face is already captured and has so and so name. Thanks you are my best mentor in IoT stuffs
@robotzeroone
@robotzeroone 4 года назад
You would have to rewrite the code to check if a face is recognised before running any other code.
@said7176
@said7176 3 года назад
Hello sir, wonderful tutorial. Just want to ask, can I extract the sample captured? will it be in picture format? if can, do I need to change into SD card partition or can use your created partition? sorry I a bit new in this area.
@robotzeroone
@robotzeroone 3 года назад
Hi. You want to save the data captured for the face? I've not done that yet but I imagine you can copy it off the fr partition to another location.
@said7176
@said7176 3 года назад
@@robotzeroone I see, so just to be clear. the partitions stored the face/user data but in other type like hex or byte is it? sorry I still dont know what is the partitions is.
@robotzeroone
@robotzeroone 3 года назад
@@said7176 The face data is a mathematical representation of the face. These are stored in the fr partition but I don't know how this is structured as a file system. You would have to look at the code in the Espressif IDF to see how it's done. Not really beginners level stuff.
@said7176
@said7176 3 года назад
@@robotzeroone I see, Thank you so much for the explaination. Help me understand further more. Thank..
@muchittt
@muchittt 2 года назад
thanks for the tutorial sir I want to know which program shows that the image is registered in flash memory? and I want to save the image on the SD memory card, how do I program it?
@robotzeroone
@robotzeroone 2 года назад
I don't really understand the first question. For the second you would have to combine this tutorial with one of the others on my blog where the image is saved to the SD card.
@muchittt
@muchittt 2 года назад
@@robotzeroone sorry i want to ask sir how to view face sample data file from flash memory? because I need face sample data
@robotzeroone
@robotzeroone 2 года назад
@@muchittt I don't know how you do that. I've seen other tutorials where the data is saved elsewhere but I don't have them to hand. It's probably quite complicated.
@muchittt
@muchittt 2 года назад
@@robotzeroone if the face is stored in a 4 mb flash memory, how much face data can be stored sir?
@robotzeroone
@robotzeroone 2 года назад
@@muchittt The face data is stored in a partition not the whole memory. I don't know how many.. Do some experiments. It will probably start to slow down before you run out of space.
@guchaves1976
@guchaves1976 4 года назад
Thank you so much MR. Robot Zero! Really nice work! How can I change the HTML to another language?
@robotzeroone
@robotzeroone 4 года назад
I don't understand. The HTML is used by the browser to display the interface.
@ichsandevandra
@ichsandevandra 4 года назад
@@robotzeroone hello mr. robot zero, is the web browser ide made by you or is it built-in by the Arduino program? thanks alot
@news247ng4
@news247ng4 5 лет назад
HELLO robotzero, please i am having this error 'face_id_name_list' was not declared in this scope what can i do please
@robotzeroone
@robotzeroone 5 лет назад
Hi. Probably you need to update the ESP32 hardware libraries to a newer version. Tools > Board > Boards Manager
@lukasweber2932
@lukasweber2932 3 года назад
Is it possible to run the recognition without opening the webpage? I changed the code already, so now the detection starts instant, when power ist connected. but before I have to open the webpage and I don't want that.
@robotzeroone
@robotzeroone 3 года назад
Check this tutorial for a version without the web browser. robotzero.one/esp32-face-door-entry/ Maybe you can load up the faces using the tutorial above and then switch to this one using the same faces.
@lukasweber2932
@lukasweber2932 3 года назад
@@robotzeroone I will try it, thanks for the answer!
@brianalmeida529
@brianalmeida529 Год назад
Just in case there is any possibility of performing facial recognition, but without the need to access the web server?, that is, that the esp32cam works independently of a web server, that its function is to recognize the face and open the lock.
@robotzeroone
@robotzeroone Год назад
Yep. Here's a version without the webserver: robotzero.one/esp32-face-door-entry/ You can mix and match from various tutorials on my blog.
@pokednaful
@pokednaful 3 года назад
So we need computer to image processing? Can we run it without computer?
@robotzeroone
@robotzeroone 3 года назад
The image recognition is all done on the device. Computer is just to view and control the system. Here's a version that runs without a computer if you want something stand alone: robotzero.one/esp32-face-door-entry/
@pokednaful
@pokednaful 3 года назад
@@robotzeroone can u make a color detection with ESP32 CAM. And if the camera detect red color, so the door will be open Can u? Thanks
@robotzeroone
@robotzeroone 3 года назад
@@pokednaful I think I've seen someone do that on the web but it's not something I've done.
@JamesJuanites-x2b
@JamesJuanites-x2b Год назад
is it possible to integrate the website will be integrated into the android application? and how?
@robotzeroone
@robotzeroone Год назад
You would have to know android development but I imagine you can connect to the IP address within an app
@zedhorn
@zedhorn 4 года назад
How hard or expensive is it to get liveness detection. I want to use it on a front door of a house. To open while walking towards it? Thanks
@robotzeroone
@robotzeroone 4 года назад
With the ESP32 it's going to be difficult. It's just not fast enough. There's this product (hard to find outside China though) - aliexpress.com/item/4000070597568.html?spm=a219c.12057483.0.0.5f1057ab3Yex4z that uses two cameras. Or with a PC (maybe Pi) something like this: www.pyimagesearch.com/2019/03/11/liveness-detection-with-opencv/ This one will probably be the best if you want to capture you face as you walk.
@zedhorn
@zedhorn 4 года назад
@@robotzeroone Yeah I think a PC would be the go. I want to connect other things in the house aswell, but the door system should be independent so it cant be hacked. The problem is I dont know how to code.
@robotzeroone
@robotzeroone 4 года назад
​ @Zed If you've not ever coded then this is jumping off into the deep end! The second link pyimagesearch has loads of tutorials but you'll probably need to learn some Python first. Loads of tutorials on RU-vid for that.
@Electronplus-un4ns
@Electronplus-un4ns Год назад
Sir, I mean great fan of yours. Above project is working good. Can you please modify the existing code so the esp32 cam keep working even without Android WiFi connectivity, as this system stops working when the mobile connection is lost for what ever reason. I mean the mobile user interface should only be used for face enrolment or to delete or add the users. With the existing system one needs to keep one Android phone to keep system up & running. An early response to my request will be highly appreciated. Kind regards
@robotzeroone
@robotzeroone Год назад
Here's a version that doesn't need a permanent connection. robotzero.one/esp32-face-door-entry/ I think there's also a version in the comments of this tutorial. Other tutorials that might be helpful: robotzero.one/esp32-camera-projects/
@Electronplus-un4ns
@Electronplus-un4ns Год назад
Thank you so much for your reply. Will try and get back to you. Take care
@user-waldner
@user-waldner Год назад
Hello sir, I am a newbie. I ran your project into the platform io process, and I encountered an undefined error on the operation function of face recognition (such as undefined reference to ''delete_face_id_in_flash_with_name'', etc...), how should I solve it? Also, do I need to put the two files fr_forward.c and fr_flash.c into the project? Because I saw from GitHub that they implemented the algorithm related to the face in the main program, and their .h files just declared and simply constructed them. How did you realize a series of functions such as recognition by only introducing their header files?
@robotzeroone
@robotzeroone Год назад
I can't really help because I've never used Platformio. This will only work with the version 1.0.4 and 1.0.5 of the ESP32 hardware libraries so I would start there.
@user-waldner
@user-waldner Год назад
@@robotzerooneOK, thanks. But why didn't you import the files fr_forward.c and fr_flash.c into the project? You just imported their .h files.Can you explain it to me a little bit if you can.
@robotzeroone
@robotzeroone Год назад
@@user-waldner I think that it just tells the script to use those files in the Expressif libraries.
@user-waldner
@user-waldner Год назад
@@robotzeroone Hello sir, I have a new question again, dl_matrix3du_t *image_matrix = dl_matrix3du_alloc(1, 320, 240, 3); Why are you allocating a huge array? Because when I am doing functional operations, sometimes the webpage will get stuck, and then the board will restart the server. Because when I am doing functional operations, sometimes the webpage will get stuck, and then the board will restart the server. The error prompted by the serial port is related to the allocation of the matrix.
@robotzeroone
@robotzeroone Год назад
@@user-waldner Explained here: techtutorialsx.com/2020/06/13/esp32-camera-face-detection/
@TheRealFrankWizza
@TheRealFrankWizza 3 года назад
Can you make another video like this where there is a second esp32 that activates the door lock when the one outside sees the face? This way someone can't just jump the relay from the outside.
@Jerseylance1
@Jerseylance1 5 лет назад
I have a pixie2, so do I need this to use for my robots Vision? Nice job.
@lucasmoniz4166
@lucasmoniz4166 5 лет назад
Excellent video. I'm a Brazilian student and is i'm realizing a similar project. I would like to know what the names of the components and schematics used, because i only know the ESP 32 - CAM. Thanks!
@robotzeroone
@robotzeroone 5 лет назад
Hi, This page has more info on the items used: robotzero.one/esp32-face-door-entry/ The door lock was one like this: es.aliexpress.com/item/32949292074.html
@yawarsaeed6499
@yawarsaeed6499 2 года назад
Thanks for sharing such an Awesome project. Can you please share , do I increase the number of people to be enrolled to 15 by making changes in code . An early response will be highly appreciated. Thanks & kind regards.
@robotzeroone
@robotzeroone 2 года назад
I think it's this number: #define FACE_ID_SAVE_NUMBER 7
@yawarsaeed6499
@yawarsaeed6499 2 года назад
@@robotzeroone Thank you very much
@mahadotube
@mahadotube 3 года назад
in 0:41 you can just cut the wires going inside and use a battery to unlock the door from outside ^^
@robotzeroone
@robotzeroone 3 года назад
Yep. It's just a demonstration not a finished product.
@haotang2806
@haotang2806 3 года назад
thank you, sir! Could you tell me where is the face data finally stored?
@robotzeroone
@robotzeroone 3 года назад
It's stored in the 'fr' partition in the flash.
@AbdulLadivVillarin
@AbdulLadivVillarin Год назад
Hi robozero1, i'm following your tutorials. I'd encounter this problem "E (46650) fr_flash: Not found". Can you help me out for this problem?
@robotzeroone
@robotzeroone Год назад
probably the wrong version of the ESP32 Hardware library is installed. Try 1.0.5
@zak_845
@zak_845 Год назад
@@robotzeroone how can i get this version ? i am searching that and i cant find it sorry if my english its so bad
@sushanthgoud2278
@sushanthgoud2278 9 месяцев назад
It doesn't detect the face even i enable the recognise and detect button...what can i do
@wagnerjesus8353
@wagnerjesus8353 4 года назад
Not detecting the face in google chrome. I ask to capture not create user. Then I close google chrome, when I open IE with ip, the name is there. I can open the door normally. But in IE also can not trigger users. When I reset esp32 cam the names disappear.
@robotzeroone
@robotzeroone 4 года назад
Something isn't set up correctly. Did you create the new partition? Browser doesn't affect it. Everything is done on the ESP32.
@that_one_who_knows
@that_one_who_knows Год назад
dear sir, can you share the partition script? i have uploaded like you said. but when i restart the esp cam it wont remamber the face's.. i have added the rzo-partitions and its still doent remamber the faces. thank you! amazing projact!
@robotzeroone
@robotzeroone Год назад
Which version of the ESP32 hardware library do you have installed?
@that_one_who_knows
@that_one_who_knows Год назад
@@robotzeroone 1.0.6
@robotzeroone
@robotzeroone Год назад
@@that_one_who_knows Not sure if it will work. Try 1.0.5 with the github files.
@firdoshdiakus4841
@firdoshdiakus4841 4 года назад
Hi great project, I don't see what is gonna keep the batteries charged??
@robotzeroone
@robotzeroone 4 года назад
The batteries were just for the demo.
@zobdog205
@zobdog205 4 года назад
Great project!
@luispabloalmadanieblas5510
@luispabloalmadanieblas5510 4 года назад
Hi, I would like to know the way to upload a image from esp32 camera to a webserver or google drive. Could you make a video about that?
@robotzeroone
@robotzeroone 4 года назад
Hi, I have a tutorial on my blog that might help with that - robotzero.one/time-lapse-esp32-cameras/
@haotang2806
@haotang2806 3 года назад
When I access the camera's IP address, I have a problem: The Serial print '[E][WiFiClient.cpp:392] write(): fail on fd 60, errno: 104, "Connection reset by peer" ' I would like to ask why this problem occurs and how to solve it
@haotang2806
@haotang2806 3 года назад
It happened after I deleted the face data, and downloading the sketch again could not solve the problem. How can ESP-CAM be restored to the original state?
@haotang2806
@haotang2806 3 года назад
when i cleared the flash and uploaded again, it recover working. So i think the problem happened when deleted face data.
@Jay-ik2ie
@Jay-ik2ie 2 года назад
can you help me sir, it is possible to have two esp32 cam to control the lock from outside and inside?
@robotzeroone
@robotzeroone 2 года назад
Both connected to the same lock? Yep. You could use two ESP32s and two relays connected to the same lock.
@Jay-ik2ie
@Jay-ik2ie 2 года назад
@@robotzeroone Hi sir thank you for your respond. Yes sir both connect to the same lock. I try it but everytime i put the NO pin on relay on both side( i have 2 channel relay ) it just unlock when both eps32 cam recognize the face but nothing happen when only one esp32 cam recognize the face. Please help me sir
@robotzeroone
@robotzeroone 2 года назад
@@Jay-ik2ie do you have a multimeter to see test when the relay pins are energised? Might need two separate relays depending on the wiring. The ESP32 doesn't output much current to energise the relay.
@Jay-ik2ie
@Jay-ik2ie 2 года назад
@@robotzeroone I try it already to separate relay it has the same result sir
@robotzeroone
@robotzeroone 2 года назад
@@Jay-ik2ie I'm not sure. It's a wiring thing. Should work but maybe there's a problem with the ground side of the wiring.
@ngocsang2541
@ngocsang2541 3 года назад
Hi, I don't know where is file html , I want design interface but I change file HTML interface code not working
@robotzeroone
@robotzeroone 3 года назад
HTML file is just the source file for the camera_index.h file. Check out this tutorial for details: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-bIJoVyjTf7g.html&ab_channel=robotzero.one
@ngocsang2541
@ngocsang2541 3 года назад
@@robotzeroone thanks you so much
@OMNI_INFINITY
@OMNI_INFINITY Год назад
So basically somebody could walk up and cut the wires and connect a 5V across those to open that door?
@robotzeroone
@robotzeroone Год назад
Yep. It's just a demo to show the circuit.
@gadgotkeys
@gadgotkeys 2 года назад
Sir I'd love to buy a lot of coffe but i'd like you to help me with the error "fd_forward.h: No such file or directory"
@robotzeroone
@robotzeroone 2 года назад
Which version of the ESP32 hardware library are you using?
@robotzeroone
@robotzeroone 2 года назад
see this: github.com/espressif/arduino-esp32/issues/5878
@יובלעובדיה-ש2י
@יובלעובדיה-ש2י Год назад
Hi, does this Face recognition can identify my DOG face? i tried this and it didn't work. waiting for your reply...
@robotzeroone
@robotzeroone Год назад
Hi, You probably want object recognition for that but it would have to be trained on dog faces.
@tulammoithich3390
@tulammoithich3390 4 года назад
Can it detect and open door for people with face mask? We are in pandemic time now.
@robotzeroone
@robotzeroone 4 года назад
Nope.. it takes measurements on the persons mouth so it won't work if it is covered.
@AronvanderWurff
@AronvanderWurff 4 года назад
I am getting this error: [D][WiFiClient.cpp:509] connected(): Disconnected: RES: -1, ERR: 104 [D][WiFiClient.cpp:509] connected(): Disconnected: RES: 0, ERR: 128 It's also not streaming my camera on the browser. It all worked but out of the sudden it stopped Does anyone know how to fix this?
@robotzeroone
@robotzeroone 4 года назад
It's best to start with the easiest example here: robotzero.one/esp32-cam-arduino-ide/ Make sure you have version 1.0.4 of the ESP32 libraries. Also check the antennae (as in the blog above)
@Carlos_Mtzv
@Carlos_Mtzv 4 года назад
Hi Aron, if you managed to solve this problem? I have the same problem, everything worked wonderfully, when suddenly I stopped giving access to the transmission from the browser
@AronvanderWurff
@AronvanderWurff 4 года назад
@@Carlos_Mtzv Hey Carlos! It worked for me again once but then the same problem happend again; I can't see the live video on the webpage
@Carlos_Mtzv
@Carlos_Mtzv 4 года назад
@@AronvanderWurff What did you change to make it work again?
@abithkumars7601
@abithkumars7601 4 года назад
I have done all the work as same in a video. But, it's not showing partition in bytes
@robotzeroone
@robotzeroone 4 года назад
In the IDE? Did you restart it?
@magnetronzion
@magnetronzion 5 лет назад
thank you, very good!!
@vivektodmal1
@vivektodmal1 3 года назад
Hello, i can't make the streaming work with the example given above, and i get the fr_flash error in serial monitor , what am i doing wrong here?
@robotzeroone
@robotzeroone 3 года назад
I think fr_flash error is normal when starting. Are you using version 1.0.5 of the hardware libraries. You can just upload the partitions.csv file with the sketch and not set up new partition as in the video.
@vivektodmal1
@vivektodmal1 3 года назад
@@robotzeroone hello sir, I tried that but the streaming dosent work in that, I thought maybe it's a fr_flash problem, so I asked, it complies, I tried with both paritions given in the Git, but the streaming does not start in the browser
@vivektodmal1
@vivektodmal1 3 года назад
@@robotzeroone Okay i found the solution, the streaming won't work in a SAFARI browser , only other browsers, please write a note sir.
@robotzeroone
@robotzeroone 3 года назад
@@vivektodmal1 Do you see errors in the console in Safari? Maybe the JavaScript isn't supported in Safari.
@vivektodmal1
@vivektodmal1 3 года назад
@@robotzeroone Yeaa it could be , will it be possibe to add cloud communication to this without adding more delays to it, cloud will be on a separate firebase connection
@lancelotnub
@lancelotnub 2 года назад
sir can you make 4mb size partitions for face detection and face recognition? because my sketch 3MB
@robotzeroone
@robotzeroone 2 года назад
Please don't ask the same question 4 times. This tutorial has it's own partition table. Does that not work for you?
@lancelotnub
@lancelotnub 2 года назад
@@robotzeroone i'm using board esp32cam version 1.0.6, i'm upload with partitions face recognition is error
@robotzeroone
@robotzeroone 2 года назад
@@lancelotnub Use 1.0.5
@lancelotnub
@lancelotnub 2 года назад
@@robotzeroone tutorial sir
@lancelotnub
@lancelotnub 2 года назад
@@robotzeroone board esp32cam version 1.0.5 use PartitionScheme = Face Recognition (2621440 bytes with OTA) or use HUGE APP 3MB?
@vilayet90436
@vilayet90436 2 года назад
Hello Mr. What is this version of Facedoorentryesp32campremium.zip. Without a browser version?
@robotzeroone
@robotzeroone 2 года назад
Hi, I don't really understand. Are you asking if this version works without the browser connected? This one works without the browser: robotzero.one/esp32-face-door-entry/
@vilayet90436
@vilayet90436 2 года назад
@@robotzeroone. Thanks for answering . I will check. Have you updated this page? I used to download from this page.
@abelferretti
@abelferretti 5 лет назад
AMAZING work! Congratulations. Can I build and use this idea? No profits for me...
@robotzeroone
@robotzeroone 5 лет назад
Yep.. you can do what you want with the code. Bear in mind it's a pretty basic system so don't use it on your front door for example!
@abelferretti
@abelferretti 5 лет назад
@@robotzeroone TKS
@x2419-n4j
@x2419-n4j 4 года назад
Great project well done
Далее
ESP32 CAM - 10 Dollar Camera for IoT Projects
29:39
Просмотров 781 тыс.
Теперь DOOM пройдёт каждый
00:17
Просмотров 195 тыс.
НИКИТА ПОДСТАВИЛ ДЖОНИ 😡
01:00
Просмотров 597 тыс.
Silent Hill 2 - Мульт Обзор
07:26
Просмотров 400 тыс.
How To Make Face Recognition Door Lock (Ep 03)
3:56
Просмотров 85 тыс.
ESP32 CAM Face Detection Door Lock System
8:13
Просмотров 309 тыс.
ESP-Eye: First Look [ESP32 Face Recognition]
4:49
Просмотров 208 тыс.
MAKE a DIY Security Camera with ESP32-CAM
6:37
Просмотров 12 тыс.