Simple ESP32-CAM Object Detection

Поділитися
Вставка
  • Опубліковано 28 тра 2024
  • 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!
  • Навчання та стиль

КОМЕНТАРІ • 162

  • @Dronebotworkshop
    @Dronebotworkshop  4 місяці тому +12

    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 місяців тому +13

    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 місяців тому +2

    As usual, another fantastic tutorial. I really like having both the video and the written articles. Thank you!!

  • @anthonyd4539
    @anthonyd4539 7 місяців тому +1

    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.

  • @christopherleadholm6677
    @christopherleadholm6677 11 місяців тому +14

    This is *just* the type of video I was hoping for!

  • @mirekcolakov1730
    @mirekcolakov1730 7 місяців тому +1

    And of course, as always, thank you and well done. Thorough, detailed and explained so well!!!

  • @hamradio3716
    @hamradio3716 11 місяців тому +2

    Excellent. A lot of prep work. Thank you.😊

  • @svlaststar
    @svlaststar 10 місяців тому +1

    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!!!

  • @davydbar
    @davydbar 10 місяців тому +1

    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.

  • @ShawnHymel
    @ShawnHymel 11 місяців тому +19

    This is fantastic! You do a great job at clearly explaining the steps. And gotta love a Robie cameo :)

  • @rogermathura
    @rogermathura 11 місяців тому +2

    Glad i subscribed, so i didn't miss your excellent tutorial . Thanks.

  • @Gengh13
    @Gengh13 10 місяців тому +2

    As someone without any knowledge in this area this was a nice introduction.

  • @mrcairo4
    @mrcairo4 11 місяців тому +1

    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.

  • @fostee1
    @fostee1 4 місяці тому

    As always just what I was looking for. Best tutorials thank you

  • @edgarbaylosis1523
    @edgarbaylosis1523 10 місяців тому

    Finally the video that i've been lookin for months! Thanks!

  • @LIMUNQUE
    @LIMUNQUE 6 місяців тому +1

    Thanks a lot, I was spending time trying to use opencv for an academical project and I didn't think to use this.

  • @aladinmovies
    @aladinmovies 11 місяців тому +1

    You are nice teacher. Love your understanding material.

  • @dldldl8028
    @dldldl8028 Місяць тому

    Great tutorial, exactly what I'm looking for. Thanks a lot

  • @donkeypoopdragon
    @donkeypoopdragon 11 місяців тому

    Awesome topic, Bill! Keep 'em comin!

  • @michaelbarakat6095
    @michaelbarakat6095 5 місяців тому

    Great effort has been done in this tutorial thank you very much for this amazing work ☺️

  • @mikedoyle7546
    @mikedoyle7546 11 місяців тому +1

    Great and precise video tutorial.

  • @fremsoft
    @fremsoft 7 місяців тому +1

    Thank you for your explanation,I think I will introduce Edge Impulse in my classroom!
    This is very inspiring video 😄👍🏻

  • @NZHippie
    @NZHippie 11 місяців тому

    Thank you Bill, great video...

  • @gerdsfargen6687
    @gerdsfargen6687 11 місяців тому +1

    This is very sexy time for an esp32 cam. Cant wait to try this project out. Its brilliant!

  • @TheOldKid
    @TheOldKid 11 місяців тому

    A tutorial that is greatly needed is on the s3 wroom cam board.

  • @Bianchi77
    @Bianchi77 10 місяців тому +1

    Well done, keep it up, thanks for sharing it with us:)

  • @terrificmenace
    @terrificmenace 11 місяців тому

    Very informative 👏🏻 thank you 😊

  • @jeffschroeder4805
    @jeffschroeder4805 11 місяців тому

    Another informative video - Thank You

  • @adolphtrudeau
    @adolphtrudeau 11 місяців тому +1

    This is excellent, DroneBot Workshop--I can't wait to tell my kid and his robotics teammates

  • @ahmedihab9754
    @ahmedihab9754 25 днів тому

    I was searching for such a video for days

  • @GiC7
    @GiC7 11 місяців тому

    Thanks, love the study

  • @Jean-Naimar
    @Jean-Naimar 11 місяців тому

    Great tutorial 👍

  • @barnacode
    @barnacode 10 місяців тому +1

    Great video, very helpful. Can I implement the object detection on the car robot you built? Has it been done?
    Any help is appreciated.

  • @rubialugattimoreira1978
    @rubialugattimoreira1978 11 місяців тому

    Perfect! Sharing knologe always.

  • @devluz
    @devluz 11 місяців тому +3

    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 7 місяців тому

      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...

  • @Dazza_Doo
    @Dazza_Doo 10 місяців тому +1

    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!

  • @Ducerobot
    @Ducerobot 11 місяців тому

    I like this module . Ai camera works well. It's on the base for my project. 😁👍

  • @manusaini2192
    @manusaini2192 11 місяців тому +1

    A great contents, i love your video's. Lot's of love ❤ From India 🇮🇳. Thanks for sharing knowledge with us.

  • @brendanowen7563
    @brendanowen7563 11 місяців тому +2

    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.

  • @TheSelfUnemployed
    @TheSelfUnemployed 11 місяців тому +5

    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)

  • @ej21lalitkumawat81
    @ej21lalitkumawat81 11 місяців тому +2

    Lots of love and great video Proffecer love you From India❤❤

    • @UTube4075
      @UTube4075 11 місяців тому

      Aap engineer ho? Working professional??

  • @keshav2136
    @keshav2136 11 місяців тому

    I've a ESP-32. I'll try it.

  • @coolprojects5297
    @coolprojects5297 10 місяців тому

    Great Job Thank you very much

  • @andrebullitt7212
    @andrebullitt7212 8 місяців тому

    Dude, you are the coolest!

  • @Abdul-bv4ku
    @Abdul-bv4ku 11 місяців тому

    That's great! What was the frame rate achieved?

  • @arthus1971
    @arthus1971 3 місяці тому

    Bravooo!!! A powerfull Like to you!!! Thank you for teach us

  • @threewheeler624
    @threewheeler624 11 місяців тому +1

    Thank you for a good video. Have a great week. I miss Radio Shacks in the malls.

  • @yuriyyatsyshyn9717
    @yuriyyatsyshyn9717 4 місяці тому

    Thanks. Very usefull!!

  • @conversationwithgod272
    @conversationwithgod272 2 місяці тому

    Great job from great man.

  • @mdrakibhossen8681
    @mdrakibhossen8681 10 місяців тому +1

    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

  • @digihz_data
    @digihz_data 11 місяців тому

    Just great!

  • @AungZawMoe-zh8fu
    @AungZawMoe-zh8fu 4 місяці тому

    What a great job sir. This vd help me a lot for my project. And what a cute robot ROBIE

  • @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

  • @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.

  • @optipwr40
    @optipwr40 7 місяців тому +2

    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.

  • @nonel7215
    @nonel7215 Місяць тому +1

    Thanks!

  • @MUFATECHSOLUTIONS
    @MUFATECHSOLUTIONS 10 місяців тому

    thank you sir

  • @catalinalb1722
    @catalinalb1722 11 місяців тому +1

    Hi, I want to do a number plate recognition for my gate. Would this be good enough?

  • @luiklaus3024
    @luiklaus3024 8 місяців тому +1

    hi, is there a limit on how many different objects the esp32 cam can recognize?

  • @jamespletcher7574
    @jamespletcher7574 11 місяців тому

    Clever outro!

  • @ibekwekingsley8538
    @ibekwekingsley8538 9 місяців тому

    Is there a way to get the live feed video of the image classified in a bounding box?

  • @vinothn4228
    @vinothn4228 11 місяців тому +1

    Better way of explaining ❗

  • @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 ?

  • @user-hx5tg7yz2y
    @user-hx5tg7yz2y 10 місяців тому +1

    you should make a turntable that turns at an extremely slow rate for taking images.

  • @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 10 місяців тому

    great
    thanks a lot

  • @varun8154
    @varun8154 9 місяців тому

    can you use esp32 cam to control
    like servo based on object detection

  • @mirekcolakov1730
    @mirekcolakov1730 7 місяців тому

    Hello, what is the upper limit of the amount of objects the library and EspCam can handle ??? thank you

  • @iwandp8698
    @iwandp8698 11 місяців тому

    very helpfull

  • @abrarsahil2476
    @abrarsahil2476 9 днів тому

    Can we add a kaggle data set for training for obstacle detection in Edge impulses?

  • @w74anheda
    @w74anheda 23 дні тому

    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??

  • @darshanpatel805
    @darshanpatel805 10 місяців тому

    @Dronebotworkshop I like all your content
    can you please make video of speech recognition using ESP?
    Thank you

  • @christopherleadholm6677
    @christopherleadholm6677 11 місяців тому

    I totally remember that coin eating robot thing, btw. The good ol' days...

  • @stephankempa6914
    @stephankempa6914 9 місяців тому

    A slow running turn table and the ESP auto capturing.

  • @azizghazni2605
    @azizghazni2605 5 місяців тому

    is this suitable for eyes closure detection?

  • @cybercrazy1059
    @cybercrazy1059 11 місяців тому

    How many same object can esp32-cam detect at the same time?

  • @ibekwekingsley8538
    @ibekwekingsley8538 9 місяців тому

    Is there a way to view the live feed with the object detected in a bounding box

  • @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

  • @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?

  • @sam-el
    @sam-el 9 місяців тому

    How can object detection be implemented using de1-soc? I will like a guide please

  • @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?

  • @AtlantaTerry
    @AtlantaTerry 10 місяців тому

    Is there a parts list somewhere?

  • @carlosporras6905
    @carlosporras6905 9 місяців тому

    Señor lo amooo

  • @calmrelaxed7626
    @calmrelaxed7626 2 дні тому

    does the esp32 cam needs to be connected to com port always in order to work or is it wireless?

  • @letsgetcreativebyrishwin1238
    @letsgetcreativebyrishwin1238 11 місяців тому +2

    Bro, the Arduino uno rev 4 minima and the Arduino uno rev 4 wifi is out, plz to a review plz🥺🥺🥺

  • @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?

  • @AliHassan-jw5yq
    @AliHassan-jw5yq 2 місяці тому

    Hi, can you please guide me how we use esp32 cam for face detection and object detection in a single project??

  • @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.

  • @OverlordYashSrivastav
    @OverlordYashSrivastav 7 місяців тому

    i am using an ov7670 camera ,can it work with esp32 or pi pico

  • @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

  • @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

  • @Junior-fq8jo
    @Junior-fq8jo Місяць тому

    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😊

  • @juantellez2176
    @juantellez2176 6 місяців тому

    I dont have the mount board and i plan on using the regular esp32 cam by ai thinker version i believe with a regular esp32 wroom. Does anyone know the pinout connections for that or where i could find how to connect them so i have the usb input. I know buying a mount board might be easier but I am going to pair it with a thermal cam I have working with the esp32 wroom. thanks

  • @ibekwekingsley8538
    @ibekwekingsley8538 10 місяців тому

    Is there a way to run this with COCO dataset

  • @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

  • @wisnual-rasyid2598
    @wisnual-rasyid2598 10 місяців тому

    hmmm, i install the eloquent library but cant upload, it say the library is missing :(

  • @marsupialsrock010
    @marsupialsrock010 3 місяці тому

    Is this what Captcha is for? Training?

  • @Jonathan-ir5sy
    @Jonathan-ir5sy 3 місяці тому

    What's the maximum number of objects you can train it to detect