![robotzero.one](/img/default-banner.jpg)
- Видео 9
- Просмотров 349 200
robotzero.one
Испания
Добавлен 16 апр 2017
Tutorials for ESP32-CAM, face recognition, micro-controllers. Projects for ESP32, ESP8266 and Arduino Boards
ESP32-CAM + TFT Screen + 3D Print - SelfieCam
An ESP32-CAM 3D printed camera. ST7735S TFT screen and browser interface to view and delete images.
Blog post: robotzero.one/esp32-cam-tft-selfie/
Code: github.com/robotzero1/esp32cam-selfiecam
Links mentioned in video:
ESP32-CAM introduction: ruclips.net/video/U5uvl6kDFJY/видео.html
Data folder uploader: github.com/me-no-dev/arduino-esp32fs-plugin
TFT_eSPI library: github.com/Bodmer/TFT_eSPI
TFT_eFEX library: github.com/me-no-dev/arduino-esp32fs-plugin
Web server library: github.com/me-no-dev/ESPAsyncWebServer/
3D Model in TinkerCad - www.tinkercad.com/things/5fHl1Nb8gHa
Flash and Clip 3D Models - www.tinkercad.com/things/bMHwKzBiP4A
STL File for 3D Printer: github.com/robotzero1/esp32cam-selfiecam...
Blog post: robotzero.one/esp32-cam-tft-selfie/
Code: github.com/robotzero1/esp32cam-selfiecam
Links mentioned in video:
ESP32-CAM introduction: ruclips.net/video/U5uvl6kDFJY/видео.html
Data folder uploader: github.com/me-no-dev/arduino-esp32fs-plugin
TFT_eSPI library: github.com/Bodmer/TFT_eSPI
TFT_eFEX library: github.com/me-no-dev/arduino-esp32fs-plugin
Web server library: github.com/me-no-dev/ESPAsyncWebServer/
3D Model in TinkerCad - www.tinkercad.com/things/5fHl1Nb8gHa
Flash and Clip 3D Models - www.tinkercad.com/things/bMHwKzBiP4A
STL File for 3D Printer: github.com/robotzero1/esp32cam-selfiecam...
Просмотров: 27 097
Видео
Face Tracking Robot using an ESP32-CAM
Просмотров 25 тыс.4 года назад
Using an ESP32-CAM and and an Elegoo Tumbller to detect the location and distance of a face and track the person as they move around. Blog post: robotzero.one/face-tracking-robot/ Code: github.com/robotzero1/face-follow-robot If you found this useful and want to say thanks you can buy me a coffee here: www.buymeacoffee.com/robotzero
ESP32-CAM Face Recognition Open Door Lock
Просмотров 119 тыс.4 года назад
Use an ESP32-CAM to unlock a door when a face is recognized. Create a name based access control system with face recognition using an ESP32-CAM and an electric lock. From release 1.0.5 the custom partition table can be uploaded with the Sketch and doesn't need to be added to the IDE. This makes this project much easier. The section 2m41s to 4m08s can be ignored. Face recognition doesn't work in...
ESP32-CAM Remote Control Car with Onboard Camera
Просмотров 21 тыс.5 лет назад
Retro-fitting a toy radio control car with an ESP32-CAM to enable Wi-Fi control and video streaming on a mobile phone. Blog version here: robotzero.one/esp32-cam-rc-car/ If you found this useful and want to say thanks you can buy me a coffee here: www.buymeacoffee.com/robotzero
Editing Camera Web Server HTML Source Code for the ESP32-CAM
Просмотров 32 тыс.5 лет назад
How to use an online tool to convert HTML to a hex array to use in the Arduino and IDF This is the easiest way I found to make your own custom HTML page to use with the camera web server example sketch for the ESP32-CAM Blog version here: robotzero.one/esp32-cam-custom-html/ If you found this useful and want to say thanks you can buy me a coffee here: www.buymeacoffee.com/robotzero
ESP32-CAM Camera for Arduino IDE
Просмотров 87 тыс.5 лет назад
Setting up the ESP32-CAM using the Arduino IDE and a brief demonstration of the video streaming, face detection and face recognition capabilities of the ESP-WHO framework. Note: Face recognition doesn't work in versions 2.x.x of the ESP32 Hardware Libraries Install details on my blog: robotzero.one/esp32-cam-arduino-ide/ If you found this useful and want to say thanks you can buy me a coffee he...
Solar Powered Peltier Mini Air Conditioner Experiment
Просмотров 2,3 тыс.5 лет назад
Testing the air cooling capacity of a Peltier cooler using a 100W solar panel. Using BME280 sensors, an ESP8266, a DS18B20 temperature sensor and Google Charts. More details and code on my blog: robotzero.one/solar-peltier-aircon-investigation/ If you found this useful and want to say thanks you can buy me a coffee here: www.buymeacoffee.com/robotzero
ESP-WHO Framework on AI-Thinker ESP32-CAM
Просмотров 21 тыс.5 лет назад
Testing the face detection and face recognition capabilities of the ESP-WHO framework with a $7 ESP32 based camera module. Face Detection 0:14 Face Learning 1:07 Recognition Same Photos 4:00 Recognition Different Photos 5:50 Install details for this library on this device on my blog: robotzero.one/esp32-camera-module/ Also a video for setting up this camera in the Arduino IDE: ruclips.net/video...
Face Recognition Raspberry Pi Zero Party Greeter
Просмотров 16 тыс.5 лет назад
Using the Raspberry Pi Zero W to recognize friends and welcome them to a party with face recognition and speech synthesis via Bluetooth speaker. Video includes a tutorial for installing dlib, the face_recognition python library and espeak. March 2021 Update: I've rewritten the tutorial for this for the latest version of Raspberry Pi OS LITE. dlib does not need to be compiled any more which make...
Thanks! I’ve been battling insomnia, tinnitus, and a covid vaccination caused a hemorrhage in one eye, so thanks for sharing that robot code to make it easier to make one.
"Arduinowebsockets.h no file or directory found" i am getting this error even after downloading the websocket library Please help me
What version did you download
I had an error when compiling: error: no return statement in function returning non-void [-Werror=return-type] Solution: static esp_err_t send_face_list(WebsocketsClient &client) replace: void send_face_list(WebsocketsClient &client) And static esp_err_t delete_all_faces(WebsocketsClient &client) replace: void delete_all_faces(WebsocketsClient &client)
I'm not sure. It's quite an old tutorial and the libraries have been updated several times. Are you using 1.0.5?
Hello author, may I ask if you have launched any projects recently?
Not for a while. I have some in progress but nothing completed.
ROBOT ZERO, is there any possibility of using this screen and having it perform facial annealing on it, instead of connecting through an IP in my browser to the web server?
I have no idea what that is. What did you want to do?
@@robotzeroone I want the ESP32-CAM connected to a TFT screen to be able to make all that connection to the server and from there do the facial recognition. Without using a laptop or computer to address the web server.
@@robotzeroone I don't know if I explain myself.
@@brianalmeida529 You could combine this project and this one: robotzero.one/esp32-cam-scene-analyzer/ to send the image to a server and print the name of the recognised face back into the screen.
Hello I'm aminul I am working on ESP32 CAM to access camera web server but every time when I open serial monitor it shows me a error I've trying for past 3 days on this error "No core dump partition found!" I've also tried all of the methods which are discussed in many pages on this forum if you solve it kindly guide me on this problem Thanks in advance. ...The settings which I have done... 1: Selected board: AI Thinker ESP32 CAM (Also selected ESP32 Wroover Module but same error) 2: CPU Frequency: 240MHz (Wifi/BT) 3: Flash Frequency: 80MHz 4: Flash Mode: QIO 5: Partition Scheme: Huge App...
I don't know what that error is. If that's the standard camerawebserver example it sounds maybe a hardware problem.
I don't think there is any problem with the camera module. Because "wifi scan", "LED blinking switch webserver" and other programs were running fine.
error is "No Core Dump Partition Found"
@@aminulhaque3253 Looking on Reddit it seems the camera is broken. Did you try the camerawebserver example? It's an old tutorial but here robotzero.one/esp32-cam-arduino-ide/ with 1.0.4 of the ESP32 hardware libraries. If it doesn't work I think your camera is broken.
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?
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.
@@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.
@@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.
@@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/
@@robotzeroone Thanks, this will help me. Then I'll show you how it turned out more or less.
fr_flash: Not found using 1.0.5 version
I think it shows that the first time it runs because it has to make the file.
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 how can i fix it
Which version of the ESP32 hardware library do you have installed. 1.0.4 or 1.0.5 works best.
Can you share program to show esp32cam to LCD in 3:35 please ? 🙏
I don't really have to time to extract it but the code is in this sketch: github.com/robotzero1/esp32cam-selfiecam/blob/master/SelfieCam.ino
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
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.
yep i managed to do that but i cant see the partition scheme for some reason@@robotzeroone
Can you change the board to AIThinker ESP32 Cam? Maybe that will work with Huge App selected
when i select ESP32 CAM it wont let me change the partition scheme at all@@robotzeroone
Would be great if you had a code for just live video output from esp32 cam camera to st7735 display cause ive been looking for code and i have tried so much thing please 🙏🙏
Shouldn't be too hard to remove what you don't need from the code. The hardest part is knowing which pins to connect. robotzero.one/esp32-cam-tft-selfie/
@@robotzeroone thanks for the response
@@robotzeroone sadly it didnt help much because i cant properly remove the parts of code i dont need they just turn into errors
camera web server is open and streaming is good, but it does not recognise the face and not showing,"intruder" or 'hello subject'.please rectify this problem
Is this the example that comes with the IDE? Are you on version 1.0.4 or 5 of the hardware libraries? I know the recent version only does face detection but not recognition.
It doesn't detect the face even i enable the recognise and detect button...what can i do
The relay I'm using is different does this matter ?
Probably. Does it have the same trigger voltage? They have to be quite sensitive because the ESP doesn't output much current.
Arduino: 1.8.19 (Windows 10), Board: "ESP32 Dev Module, Disabled, Enabled, No OTA (2MB APP/2MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 921600, Core 1, Core 1, None, Disabled" In file included from C:\Users\joud\Documents\Arduino\libraries\fd_forward.h/fd_forward.h:31, from C:\Users\joud\Documents\Arduino\SelfieCam\SelfieCam.ino:5: C:\Users\joud\Documents\Arduino\libraries\image_util/image_util.h:9:10: fatal error: include/cef_image.h: No such file or directory #include "include/cef_image.h" ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. exit status 1 Error compiling for board ESP32 Dev Module. This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences. I have tried everything single thing! it just wont work :(
This library file - /cef_image.h I don't recognise that.
@@robotzeroone me too. Your not using this library in the code! What can I do to fix it? Does it have to do with the esp32 filesystem uploader? Because I dont need the numbers and the esp32 filesystem uploader is not working, I dont see the tool once I go to arduino.
@@justadude5160 I'm not sure. The project is quite old and the libraries change. Did you see it on my blog? robotzero.one/esp32-cam-tft-selfie/ You could try from scratch and use the libraries that have the same date as the publish date of the tutorial.
@@robotzerooneI managed to get it working by changing the esp32 library to an older version, thanks
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
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/
Thank you so much for your reply. Will try and get back to you. Take care
Дуже дякую. Ваша інформація мені допомогла у проекті.
is it possible to integrate the website will be integrated into the android application? and how?
You would have to know android development but I imagine you can connect to the IP address within an app
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
It will be way too slow for that. It can barely manage face recognition and in the latest libraries they've dropped that.
@@robotzeroone Thank you for the answer... I understand from this that I cannot use Esp32 because it has limited capabilities, right?
Yep. @@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
sorry to bother you but I have a question, the picture is showing on the corner of the screen with bad colors, do you have any idea why this is happening? (i m using an st7789)
How can you without any green filter. My ESP32CAM have a green filter on every photo.
On the photo or the screen? Screen will be the wrong screen chosen in the settings. Photo will be a dodgy camera connection or broken camera.
@@robotzeroone photo. Looks like you wearing the night vision goggle. But it is normal when the cam in video mode. So stranger.
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.
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.
So basically somebody could walk up and cut the wires and connect a 5V across those to open that door?
Yep. It's just a demo to show the circuit.
Awesome video. I would like to use this setup to generate water as I am in the desert.
I am getting the error No serial data received Can anyone solve this issue?
thanks for the great video. but can ask one question about this program. What method is used in this face recognition process?
Disponibiliza o código
All here: github.com/robotzero1/esp32cam-selfiecam
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
How the display start streaming the video? I only get the IP, and, is necessary the SD card?
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
Which version of the ESP32 Hardware Library are you using?
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?
long interval = 5000; // open lock for ... milliseconds
Can I ask the schematic design pls
for which part? There's a wiring diagram on my blog,
esp32wrover.menu.PartitionScheme.rzo_partition=Face Recognition (2621440 bytes) esp32wrover.menu.PartitionScheme.rzo_partition.build.partitions=rzo_partitions esp32wrover.menu.PartitionScheme.rzo_partition.upload.maximum_size=2621440
I am running the 1.0.5 version and i cant even get as much as a detection of my face at all. and the quality of the video is very poor.
Does the CameraWebServer example work for you? Could be a dodgy board.
@@robotzeroone Its not an issue with the board bc when ran on a version like 2.0.8 i get no issues and smooth video. I am working on this as a final project and need it complete by next week. if you could share a way i could get the lock to open based on at least face detection and would most llikley have to be on 2.0.8 because of the video issue. Please get back to me when you can thanks.
to specify yes i ran the camerawebserver example on 2.0.8 and no issues.
if there is somewhere better we can communicate that would be great
@@gabesantiago6941 I don't really have time to look at this but you just need to find the code that does the face detection in 2.0.8 and hook in some code to open the relay. I don't know why the camera would be OK in 2.0.8 and not 1.0.5. It's not a Wi-fi thing is is it? Here's two tutorials that use 1.0.4 for face detection. Might be something helpful in them: github.com/robotzero1/esp32cam-selfiecam/blob/master/SelfieCam.ino robotzero.one/unlock-door-face-detection-sonoff/
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.
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?
probably the wrong version of the ESP32 Hardware library is installed. Try 1.0.5
@@robotzeroone how can i get this version ? i am searching that and i cant find it sorry if my english its so bad
very confusing, you have not shown it properly,
Hi . How can I reach you I have some problems to run the project can you help me out ?
You can comment on this project in my blog and I might be able to help if it's something quick.
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?
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.
@@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.
@@user-waldner I think that it just tells the script to use those files in the Expressif libraries.
@@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.
@@user-waldner Explained here: techtutorialsx.com/2020/06/13/esp32-camera-face-detection/
this does not work anymore I tried it, different errors when trying your method
Maybe with the new versions of the ESP32 hardware libraries the HTML is encoded differently.
Do the gearmotors have any feedback on them? They appear to be regular brushed DC motors but I can't tell if there is an encoder of some type attached and there is no closeup shot of them.
This is the kit. You can see a good photo of the motor. Probably more info on the Elegoo site as well. amzn.to/2yJ3OAG
Sir some problem this code #include fd_forwad.h , fr_forwad.h no such library. How to fix it ..
Probably the wrong version of the ESP32 hardware library. Try 1.0.5
hello can i combie the arduino uno and esp32 cam in 1 web site, like the webcam sees it and the arduino uno can detect the metal
or can i put an mic output to the website? using the arduino
@@michaelguablas1669 I don't really understand. What is it you want to do?
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!
Which version of the ESP32 hardware library do you have installed?
@@robotzeroone 1.0.6
@@that_one_who_knows4311 Not sure if it will work. Try 1.0.5 with the github files.
Hi, this project seems to only work for me when my ESP32-CAM is connected to my computer. So I don't have an FTDI programmer, but I have a shield that came with the ESP32-CAM, and the webserver seems to work when it's powered with the shield connected. However, it doesn't work when I power my ESP32-CAM with my 5v external power supply without the shield. Any idea why this is happening? All I did was connect the 5v and gnd pins, and power seems to be going through with 5v, so i have no idea what's going on. Do i really need the FTDI programmer in order to get this to work? I really want to be able to work this without the board having to connect to my computer, so help would be appreciated. OTL
HI, It should work. Could be the power supply or connectors aren't providing enough current. The ESP32 uses a lot when the Wi-Fi starts up. Does the CameraWebServer example work? .
@@robotzeroone Yes, the CameraWebServer example does work, but only when connected to the computer via shield. As for the current, I checked that there was current, so it's probably just because i need an FTDI (which is confusing, but i gotta try something.) I just got an FTDI programmer, so i can also include a simple circuit to test while connected to my computer. I just need to see if my theory works. If it doesn't, then idk what i'm doing wrong...
@@robotzeroone Besides the hardware though, I noticed that when using the webserver for this code, it does not stop sampling the faces, and the count goes and repeats 1, 2, 3, 4, 7 instead of doing only the four samples 1, 2, 3, 4 and then stopping and saving the face like in your video. Any idea why this is happening? is there a part of the code i need to change? Edit: I realized that the states defined ENROLL_COMPLETE and DELETE_ALL are not used at all. Is there a reason why? Edit2: Does it matter if i have the AI thinker or the Wrover kit Module? Because I have the AI thinker, and it only works if i put the board setting that way in tools, but the partition scheme selection disappears, so i can't select the face recognition. Edit3: Okay, i was able to fix the face capturing after seeing someone else go through the same problem, so I fixed the face count variable if statement to stop counting when less-than-or-equal-to 0 since idk how to make the variable not skip 0.
@@KristellaJackson IT sounds like somethings not set up correctly from the beginning. I had the face counting above 4 problem once when testing this on a different versions and it was because I'd missed a step. I don't remember exactly. Are you following this tutorial? robotzero.one/access-control-with-face-recognition/ ? Using the files here: github.com/robotzero1/esp32cam-access-control it should just work.
@@robotzeroone Okay, yeah, i did not realize i only had to put the partitions.csv file in the same folder with the sketch file. Fixing the code back to test for fr_flash.h return value is 0, it works properly now; the enrolled faces stay permanently in the webserver even when powering off and then back on the ESP32-CAM. Thank you 👍
Awesome however there is a problem. With the new camera example this solution doesn't work.
help me C:\Users\admin\Documents\Arduino\FaceDoorEntryESP32Cam\FaceDoorEntryESP32Cam.ino: In function 'mtmn_config_t app_mtmn_config()': FaceDoorEntryESP32Cam:52:15: error: 'struct mtmn_config_t' has no member named 'type' mtmn_config.type = FAST; ^ FaceDoorEntryESP32Cam:52:22: error: 'FAST' was not declared in this scope mtmn_config.type = FAST; ^ FaceDoorEntryESP32Cam:55:15: error: 'struct mtmn_config_t' has no member named 'pyramid_times' mtmn_config.pyramid_times = 4; ^ Multiple libraries were found for "WiFi.h" Used: C:\Users\admin\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.2\libraries\WiFi Not used: C:\Program Files (x86)\Arduino\libraries\WiFi exit status 1 'struct mtmn_config_t' has no member named 'type'
Probably the wrong ESP32 hardware libraries. Check the github for help
Hello, amazing project, but please sir would you post a picture of the connection (connecting the materials with the Arduino) because I will do the same as your project and I don't know the connection....
connections are pretty simple. You can see them from here: ruclips.net/video/cdpqpqMnBwI/видео.html