Simple ESP32-CAM Object Detection

  Рет қаралды 152,673

DroneBot Workshop

DroneBot Workshop

Күн бұрын

Train an ESP32-CAM for Object Detection using a free Edge Impulse account. All without writing any code!
Article with full instructions: dronebotworkshop.com/esp32-ob...
More articles and tutorials: dronebotworkshop.com
Join the conversation on the forum: forum.dronebotworkshop.com
Subscribe to the newsletter and stay in touch: dronebotworkshop.com/subscribe/
Object Detection is a Machine Learning (ML) technique that uses a computer with a camera to identify classes of objects it has been trained to recognize. Although this used to require massive computers and large datasets, it is now possible to perform decent object detection using microcontrollers.
While most microcontroller-based object detection projects use 64-bit chips like the powerful Kendryte K210, you can also use a 32-bit ESP32 to get the job done. And that’s exactly what we will do today - take a 9-dollar ESP32-CAM board and train it to detect objects.
I’ll be using a lantern battery and Robie, a 40-year-old Radio Shack robot, as my two “test objects” We’ll train a model using the powerful online neural network services of Edge Impulse; you’ll need an account, but don’t worry, it’s completely free.
Once we have our model trained, we’ll export it in the form of an Arduino Library. The library even includes a sample sketch we can use to test our model; no code to write! I’ll try it on an ESP32-CAM and ESP-EYE board.
Here is the Table of Contents for today's video:
00:00 - Introduction
02:34 - Object Detection
06:27 - Edge Impulse
08:15 - Workflow
10:47 - Look at ESP32-CAM & ESP-EYE
12:48 - Capturing Images - Webcam Setup
14:34 - Edge Impulse Setup
15:39 - Image Capture
17:57 - Label Images
20:32 - Create an Impulse
24:52 - Export to an Arduino Library
25:25 - Importing Library to Arduino IDE
27:41 - Testing with ESP-EYE
29:43 - Testing with ESP32-CAM
32:04 - EloquentESP32CAM Library
34:14 - Collect Images Sketch
35:35 - Capturing Images - ESP32-CAM
39:12 - Import & Label with Edge Impulse
42:46 - Build & Deploy Impulse
46:45 - Testing with ESP32-CAM
48:28 - EloquentArduino Code & Demo
51:32 - Conclusion
53:25 - Robie the Robot!
I will actually show you two methods of capturing images of your subject(s) - using a webcam or using the ESP32-CAM board itself. I’ll also introduce you to a library that can make doing all of this a lot easier.
The results are good, good enough to consider using the ESP32-CAM as an inexpensive object detection sensor.
Hope you enjoy the video!

Пікірлер: 165
@Dronebotworkshop
@Dronebotworkshop 4 ай бұрын
Hi everyone - It's come to my attention that there has been someone masquerading as myself, responding to some comments here with a link to a Telegram chat to win a prize from me. THIS IS A SCAM, I am not holding a contest, nor do I have a Telegram account. PLEASE DO NOT RESPOND TO THESE MESSAGES!! It's happening on a lot of my videos, I'm taking steps to remove them manually, but as I have 162 videos, it will take some time. If you do run across a suspicious comment, I would appreciate you letting me know at info@dronebotworkshop.com. Thanks! Bill (The real one!)
@GabbyShimoni
@GabbyShimoni 11 ай бұрын
I've just taken some training on the topic of deep learning and this video completes my quest for an easy way to incorporate the subject into my students projects. Thanks a lot for another well done video
@dakcn
@dakcn 9 ай бұрын
As usual, another fantastic tutorial. I really like having both the video and the written articles. Thank you!!
@anthonyd4539
@anthonyd4539 7 ай бұрын
I really appreciate the time you take to give instructions. Your lessons give me the confidence to try new things and peak over the barriers that I will soon knock down.
@ShawnHymel
@ShawnHymel 11 ай бұрын
This is fantastic! You do a great job at clearly explaining the steps. And gotta love a Robie cameo :)
@raulsw9088
@raulsw9088 4 ай бұрын
👍🏻
@edgarbaylosis1523
@edgarbaylosis1523 10 ай бұрын
Finally the video that i've been lookin for months! Thanks!
@svlaststar
@svlaststar 10 ай бұрын
Wow!!! Excellent video and project. IT is one that's been on my list for a while and you just inspired me to move it up the list. Thanks for making your videos. Great job!!!
@Gengh13
@Gengh13 11 ай бұрын
As someone without any knowledge in this area this was a nice introduction.
@mirekcolakov1730
@mirekcolakov1730 8 ай бұрын
And of course, as always, thank you and well done. Thorough, detailed and explained so well!!!
@hamradio3716
@hamradio3716 11 ай бұрын
Excellent. A lot of prep work. Thank you.😊
@davydbar
@davydbar 10 ай бұрын
Excellent tutorial!! Like all your videos, I want to thank you, since you have inspired me to continue in robotics projects. Greetings from Santa Fe, Argentina.
@LIMUNQUE
@LIMUNQUE 7 ай бұрын
Thanks a lot, I was spending time trying to use opencv for an academical project and I didn't think to use this.
@rogermathura
@rogermathura 11 ай бұрын
Glad i subscribed, so i didn't miss your excellent tutorial . Thanks.
@fostee1
@fostee1 4 ай бұрын
As always just what I was looking for. Best tutorials thank you
@donkeypoopdragon
@donkeypoopdragon 11 ай бұрын
Awesome topic, Bill! Keep 'em comin!
@adolphtrudeau
@adolphtrudeau 11 ай бұрын
This is excellent, DroneBot Workshop--I can't wait to tell my kid and his robotics teammates
@christopherleadholm6677
@christopherleadholm6677 11 ай бұрын
This is *just* the type of video I was hoping for!
@mrcairo4
@mrcairo4 11 ай бұрын
It is a very easy training scenario. I've tested with voice recognition and now I'll try it with different "generic" humans vs. dogs and cats.
@gerdsfargen6687
@gerdsfargen6687 11 ай бұрын
This is very sexy time for an esp32 cam. Cant wait to try this project out. Its brilliant!
@fremsoft
@fremsoft 7 ай бұрын
Thank you for your explanation,I think I will introduce Edge Impulse in my classroom! This is very inspiring video 😄👍🏻
@ahmedihab9754
@ahmedihab9754 Ай бұрын
I was searching for such a video for days
@dldldl8028
@dldldl8028 2 ай бұрын
Great tutorial, exactly what I'm looking for. Thanks a lot
@aladinmovies
@aladinmovies 11 ай бұрын
You are nice teacher. Love your understanding material.
@mikedoyle7546
@mikedoyle7546 11 ай бұрын
Great and precise video tutorial.
@TheSelfUnemployed
@TheSelfUnemployed 11 ай бұрын
I just built a tiny robot using an esp32-cam and now im going to attempt to add this badass functionality. great video and ive always loved your channel. thanks for sharing your knowledge with us!
@karimaaqa
@karimaaqa 4 ай бұрын
hello when using edge impulse, which board did you chose? the espressif esp32 eye? since i am going to get the esp32 cam (the one without usb)
@micmike
@micmike 2 күн бұрын
Nice demo of capabilities. Thanks
@michaelbarakat6095
@michaelbarakat6095 5 ай бұрын
Great effort has been done in this tutorial thank you very much for this amazing work ☺️
@NZHippie
@NZHippie 11 ай бұрын
Thank you Bill, great video...
@jeffschroeder4805
@jeffschroeder4805 11 ай бұрын
Another informative video - Thank You
@Bianchi77
@Bianchi77 10 ай бұрын
Well done, keep it up, thanks for sharing it with us:)
@TheOldKid
@TheOldKid 11 ай бұрын
A tutorial that is greatly needed is on the s3 wroom cam board.
@terrificmenace
@terrificmenace 11 ай бұрын
Very informative 👏🏻 thank you 😊
@manusaini2192
@manusaini2192 11 ай бұрын
A great contents, i love your video's. Lot's of love ❤ From India 🇮🇳. Thanks for sharing knowledge with us.
@devluz
@devluz 11 ай бұрын
Oh love seeing another one with the ESP32-Cam! I already have two of these in my network as cheap surveillance camera running my own software. I am curious if there are any good upgrade paths for higher frame rate / higher resolution cameras? Also more ports available to control a robot would be neat.
@mirekcolakov1730
@mirekcolakov1730 8 ай бұрын
use espnow or mqtt protocol so multiple esp32s can talk to each other and do the heavy compute on a proper machine that is connected wireless so the robot does not need to carry it...
@itamariliuk
@itamariliuk 11 ай бұрын
Amazing. Thank you so much.
@rhandynastor4866
@rhandynastor4866 5 күн бұрын
good as always
@ej21lalitkumawat81
@ej21lalitkumawat81 11 ай бұрын
Lots of love and great video Proffecer love you From India❤❤
@UTube4075
@UTube4075 11 ай бұрын
Aap engineer ho? Working professional??
@Jean-Naimar
@Jean-Naimar 11 ай бұрын
Great tutorial 👍
@rubialugattimoreira1978
@rubialugattimoreira1978 11 ай бұрын
Perfect! Sharing knologe always.
@Dazza_Doo
@Dazza_Doo 10 ай бұрын
You know these are the types projects I'm looking for (I've found the DroidsVader will be pleased), this can be extremely useful. Thank you!
@andrebullitt7212
@andrebullitt7212 8 ай бұрын
Dude, you are the coolest!
@brendanowen7563
@brendanowen7563 11 ай бұрын
Great video. Looking forward to having a go with my ESP32 Cam. My only comment is you probably got the 100% on your second example because you had multiple images that are nearly exactly the same. These would have been randomly distributed between the 80% training and 20% testing sets. You probably ended up with same images used in training and testing which would not give you a good measure of confidence. Again another great video, thank you.
@Ducerobot
@Ducerobot 11 ай бұрын
I like this module . Ai camera works well. It's on the base for my project. 😁👍
@threewheeler624
@threewheeler624 11 ай бұрын
Thank you for a good video. Have a great week. I miss Radio Shacks in the malls.
@barnacode
@barnacode 10 ай бұрын
Great video, very helpful. Can I implement the object detection on the car robot you built? Has it been done? Any help is appreciated.
@AungZawMoe-zh8fu
@AungZawMoe-zh8fu 5 ай бұрын
What a great job sir. This vd help me a lot for my project. And what a cute robot ROBIE
@conversationwithgod272
@conversationwithgod272 3 ай бұрын
Great job from great man.
@ulzs7683
@ulzs7683 4 ай бұрын
This ones not in the ESP32 playlist is it? I think its a good addition to the collection along with the 2024 guide.
@yuriyyatsyshyn9717
@yuriyyatsyshyn9717 4 ай бұрын
Thanks. Very usefull!!
@Abdul-bv4ku
@Abdul-bv4ku 11 ай бұрын
That's great! What was the frame rate achieved?
@coolprojects5297
@coolprojects5297 11 ай бұрын
Great Job Thank you very much
@arthus1971
@arthus1971 3 ай бұрын
Bravooo!!! A powerfull Like to you!!! Thank you for teach us
@mdrakibhossen8681
@mdrakibhossen8681 10 ай бұрын
helo sir, this is a great video. i have one question. can i add a servo to this project so that when it detects robot or battery the servo will rotate?
@sudedemmanuel2975
@sudedemmanuel2975 11 ай бұрын
Thank you very useful
@optipwr40
@optipwr40 7 ай бұрын
Do you know if it's possible to use RectLabel (An offline image annotation labeling tool) which has limited export options? For custom object detection I'd prefer not to upload all of my images into an online source.
@keshav2136
@keshav2136 11 ай бұрын
I've a ESP-32. I'll try it.
@luiklaus3024
@luiklaus3024 8 ай бұрын
hi, is there a limit on how many different objects the esp32 cam can recognize?
@digihz_data
@digihz_data 11 ай бұрын
Just great!
@jamespletcher7574
@jamespletcher7574 11 ай бұрын
Clever outro!
@ibekwekingsley8538
@ibekwekingsley8538 10 ай бұрын
Is there a way to get the live feed video of the image classified in a bounding box?
@catalinalb1722
@catalinalb1722 11 ай бұрын
Hi, I want to do a number plate recognition for my gate. Would this be good enough?
@MUFATECHSOLUTIONS
@MUFATECHSOLUTIONS 10 ай бұрын
thank you sir
@nonel7215
@nonel7215 Ай бұрын
Thanks!
@Dronebotworkshop
@Dronebotworkshop Ай бұрын
And thank you as well!
@abrarsahil2476
@abrarsahil2476 17 күн бұрын
Can we add a kaggle data set for training for obstacle detection in Edge impulses?
@vinothn4228
@vinothn4228 11 ай бұрын
Better way of explaining ❗
@renznormanpalma6312
@renznormanpalma6312 Ай бұрын
Might be new here, but I would like to ask if its possible to control other peripheral based from the label it detected?
@calmrelaxed7626
@calmrelaxed7626 11 күн бұрын
does the esp32 cam needs to be connected to com port always in order to work or is it wireless?
@raulsw9088
@raulsw9088 5 ай бұрын
Hi, you have very good projects. Can this object detection project be done with the Xiao esp32s3 sense?
@transientaardvark6231
@transientaardvark6231 11 ай бұрын
Does this have any way to train using the COCO data set ?
@w74anheda
@w74anheda Ай бұрын
hi, thanks for your helpful tutorial, i have a question: how can connect and stream cam a esp32 cam with cable to pc or raspberry pi??
@user-hx5tg7yz2y
@user-hx5tg7yz2y 10 ай бұрын
you should make a turntable that turns at an extremely slow rate for taking images.
@mirekcolakov1730
@mirekcolakov1730 8 ай бұрын
Hello, what is the upper limit of the amount of objects the library and EspCam can handle ??? thank you
@varun8154
@varun8154 9 ай бұрын
can you use esp32 cam to control like servo based on object detection
@alexandrecrt
@alexandrecrt 4 күн бұрын
Master, what if the object is on a mat? Does detection also happen assertively? Thank you very much.
@azizghazni2605
@azizghazni2605 6 ай бұрын
is this suitable for eyes closure detection?
@angelaponte4413
@angelaponte4413 3 ай бұрын
Maravilloso video, si les sale error al subir a la tarjeta Esp32, revisen la versión de la tarjeta que están usando, a mí me sirvió con la versión 2.0.10
@karaniii
@karaniii 8 ай бұрын
I have been trying to do some research on this but haven't found answers yet. Can edge impulse be used for face recognition?
@darshanpatel805
@darshanpatel805 10 ай бұрын
@Dronebotworkshop I like all your content can you please make video of speech recognition using ESP? Thank you
@letgodigital6787
@letgodigital6787 8 ай бұрын
Hello sir Which variable from the codes store's the output of the detection I want to make decisions wit h the Arduino to turn on a fan
@erment55
@erment55 6 ай бұрын
I follow your educational videos with great interest.I would be very happy if you could share a video on how to use the esp32 camera module in IoT Blynk 2.0.
@rostykromanyshyn6616
@rostykromanyshyn6616 11 ай бұрын
great thanks a lot
@christopherleadholm6677
@christopherleadholm6677 11 ай бұрын
I totally remember that coin eating robot thing, btw. The good ol' days...
@opdino8577
@opdino8577 4 ай бұрын
i just have one question can the detection be with voice. like can the model speak what kind of object is in front
@ibekwekingsley8538
@ibekwekingsley8538 10 ай бұрын
Is there a way to view the live feed with the object detected in a bounding box
@saysanvicente5238
@saysanvicente5238 2 ай бұрын
Is it possible to make an alarm connected to esp32?For example, the program object to detect is paper and plastic only. When the camera detected the plastic it will make an alarm. We're planning to make a detection system of paper and plastic waste for our capstone project.
@iwandp8698
@iwandp8698 11 ай бұрын
very helpfull
@stephankempa6914
@stephankempa6914 9 ай бұрын
A slow running turn table and the ESP auto capturing.
@cybercrazy1059
@cybercrazy1059 11 ай бұрын
How many same object can esp32-cam detect at the same time?
@sam-el
@sam-el 9 ай бұрын
How can object detection be implemented using de1-soc? I will like a guide please
@AliHassan-jw5yq
@AliHassan-jw5yq 3 ай бұрын
Hi, can you please guide me how we use esp32 cam for face detection and object detection in a single project??
@vivekent4422
@vivekent4422 7 ай бұрын
hey the eye board is not available i have an esp 32 its base and arduino is there any way i can still use edge impulse as these boards are not mentioned in the list of the software
@AtlantaTerry
@AtlantaTerry 10 ай бұрын
Is there a parts list somewhere?
@HEILZEUS
@HEILZEUS Ай бұрын
can i like, upload my own trained model onto edge impulse ? also, please mention that the auto labeller is enabled in your project because you have an enterprise edition and not the free community edition
@OverlordYashSrivastav
@OverlordYashSrivastav 8 ай бұрын
i am using an ov7670 camera ,can it work with esp32 or pi pico
@marsupialsrock010
@marsupialsrock010 3 ай бұрын
Is this what Captcha is for? Training?
@wisnual-rasyid2598
@wisnual-rasyid2598 11 ай бұрын
hmmm, i install the eloquent library but cant upload, it say the library is missing :(
@LucasFerreira-qz1ib
@LucasFerreira-qz1ib 8 ай бұрын
Hello, i've tried running this code on the arduino IDE, using the esp32 cam, but the code won't compile, perhaps it's a configuration issue in the ide?
@Junior-fq8jo
@Junior-fq8jo 2 ай бұрын
Hi Mr Bill thx for ur helpful video. I followed all the steps of your process but during that i have met a problem as :"error for the ardûino borad Ai thinker Esp32-cam. If u can help me thx😊
@stanwilliams7337
@stanwilliams7337 7 ай бұрын
Hi, I just found your site and have a question. I am working on automating my roll off roof observatory and have one big issue. I need a way to let the software I use know that my telescope is in it's "Parked" or "Home" position so the roof can open or close safely. I was thinking an ultrasonic or an IR sensor. Does one of these sound reasonable, or do you recommend something else? I am using an arduino board with sensors to say when the roof is open or closed. I am using NINA, RRCI and SkyRoof to operate a garage door opener to move the roof. Any suggestions would be greatly appreciated.
@stanwilliams7337
@stanwilliams7337 4 ай бұрын
I received an email from you saying I won a prize. Is this from you or is it a phishing scam?
@carlosporras6905
@carlosporras6905 9 ай бұрын
Señor lo amooo
LoRa - Long-Range Radio for IoT | Arduino, ESP32, RPI Pico
1:07:58
DroneBot Workshop
Рет қаралды 291 М.
🔴 Let's build SIGNAL with REACT NATIVE! (Navigation, Expo & Firebase)
3:36:56
СҰЛТАН СҮЛЕЙМАНДАР | bayGUYS
24:46
bayGUYS
Рет қаралды 828 М.
Hot Ball ASMR #asmr #asmrsounds #satisfying #relaxing #satisfyingvideo
00:19
Oddly Satisfying
Рет қаралды 21 МЛН
Black Magic 🪄 by Petkit Pura Max #cat #cats
00:38
Sonyakisa8 TT
Рет қаралды 37 МЛН
ESP32 based omnidirectional robots w/ camera | makermoekoe
13:41
maker.moekoe
Рет қаралды 1,3 МЛН
Build Your Own Object Detection System with Machine Learning
22:56
Edge Impulse
Рет қаралды 55 М.
ESP32-CAM MicroSD Card - Saving images with the ESP32-Cam
36:01
DroneBot Workshop
Рет қаралды 130 М.
Cheap Remote Monitoring for ANY 3D Printer! #3dprinting
13:56
Nero3D the Canuck Creator
Рет қаралды 48 М.
ESP32 CAM with Google drive
5:45
Theinfoflux
Рет қаралды 3,8 М.
ESP32 Guide 2024 | Choosing and Using an ESP32 Board
41:06
DroneBot Workshop
Рет қаралды 226 М.
Making the most EQUIPPED DIY Security Camera with ESP32-CAM
26:36
Max Imagination
Рет қаралды 332 М.
10 Great Artificial Intelligence projects using ESP32-CAM!!!
7:18
ToP Projects Compilation
Рет қаралды 139 М.
Programmable Wildlife / Security / Timelapse Camera Projects with an ESP-32 CAM
1:11:38
Sibling love ❤️ Amor de irmãos #shorts
0:12
Toia e Ro
Рет қаралды 4,3 МЛН
new best toys #rptoybill #toys #tillatoyzing
0:31
RVCV Toys
Рет қаралды 14 МЛН
Как быстро замутить ЭлектроСамокат
0:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 12 МЛН
One Pack Of Pringles Contained M&M's And Coca-Cola🤪😃
0:43
BorisKateFamily
Рет қаралды 5 МЛН
Backstage 🤫 tutorial #elsarca #tiktok
0:13
Elsa Arca
Рет қаралды 6 МЛН