Object Detection & Identification using ESP32 CAM Module & OpenCV

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ต.ค. 2021
  • Up to 20%-30% off for PCB & PCBA order:
    Only 0$ for 1-4 layer PCB Prototypes:
    www.nextpcb.com/?code=Htoeletric
    Register and get $100 from NextPCB:
    www.nextpcb.com/register?code...
    𝗣𝗿𝗼𝗷𝗲𝗰𝘁 𝗗𝗲𝘀𝗰𝗿𝗶𝗽𝘁𝗶𝗼𝗻:
    This tutorial introduces the topic of ESP32 CAM Based Object Detection & Identification with OpenCV. OpenCV is an open-sourced image processing library that is very widely used not just in industry but also in the field of research and development.
    Here for object detection, we have used the cvlib Library. The library uses a pre-trained AI model on the COCO dataset to detect objects. The name of the pre-trained model is YOLOv3.
    In this tutorial, we will go through its features, pins description, and the method to program ESP32 Camera Module using FTDI Module. We will also set up the Arduino IDE for the ESP32 Camera Module. We will also upload the firmware and then work on the object detection & identification part. The script for object detection is written in the python programming language, thus we will also have to install Python and its required Libraries.
    𝗣𝗿𝗼𝗷𝗲𝗰𝘁𝘀 𝗟𝗶𝗻𝗸𝘀 & 𝗦𝗼𝘂𝗿𝗰𝗲 𝗖𝗼𝗱𝗲: how2electronics.com/esp32-cam...
    ....................................................................................................................................................................................................................................
    Drop a like if you liked this video.
    Don't forget to subscribe to our channel for more Electronics projects and tutorials.
    Website: www.how2electronics.com
    Facebook: / how2electronics
    Instagram: / how2electronics
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 206

  • @user-xk5vv6wd8z
    @user-xk5vv6wd8z 2 ปีที่แล้ว +4

    Another amazing video back to back from you 😍😍 thank you so much 🥰😍

  • @fabricemotard4312
    @fabricemotard4312 2 ปีที่แล้ว +2

    It's very cool !! I will do this project when I 'll have my Esp32 cam thank you for your work ! 👍😉

  • @AW-xj4un
    @AW-xj4un ปีที่แล้ว +2

    Thanks for your efforts...it works well and is impressive.

  • @bratwizard
    @bratwizard 2 ปีที่แล้ว

    Nicely done! Thanks for the video and the info!

  • @danieleriksson3170
    @danieleriksson3170 ปีที่แล้ว +1

    The chickens in the background, are making this video so much more enjoyable to watch.

  • @mdandry
    @mdandry ปีที่แล้ว +8

    Excellent video, thank you. Could this camera be used for edge detection/avoidance?

  • @armansaif8447
    @armansaif8447 2 ปีที่แล้ว +1

    Another awesome video 👍👍

  • @userusms
    @userusms ปีที่แล้ว

    Very nice tutorial. Thank you.

  • @deone-entity3935
    @deone-entity3935 ปีที่แล้ว

    You are first science sceam students I saw on yt. ☺️☺️☺️

  • @SmartTronics
    @SmartTronics 2 ปีที่แล้ว +6

    Who is this new girl in how2electronics
    She has a nice voice 🙂but the first one is very good i fell in love with her voice

  • @vishal01mehra
    @vishal01mehra 2 ปีที่แล้ว +109

    The processing is being done on the host computer and not on Esp32 stop misleading on title of the video. Just wasted my time.

    • @vijay1808able
      @vijay1808able ปีที่แล้ว +6

      exactly mate its a fake video!!

    • @fb846
      @fb846 ปีที่แล้ว +22

      The title isn't misleading at all , the word "using" is correct. "Run" opencv on a ESP32 would be misleading. Imagine how slow and how hell of a headache it would be to handle opencv data with only 34 GPIO and 4MB of flash memory. Don't blame on others your misconception of the world

    • @schlingelgen
      @schlingelgen ปีที่แล้ว +1

      @@fb846 microcontrollers can be surprisingly efficient since they don’t have to waste a large part of their power on keeping an operating system running.
      In the fast moving it-world you can’t keep up with everything - it wouldn’t surprise me if there were some rudimentary solutions for object detection on such devices. And while I agree that the title is probably not misleading on purpose, it can still be misleading for people which are not up to date with every spec sheet
      👍🏼😃

    • @fb846
      @fb846 ปีที่แล้ว +2

      @@schlingelgen yes some microcontrollers are designed with AI and object detection in mind like the "Arduino Nicla Vision" but in this case the title clearly mentions ESP32 wich is not. For object detection there is the Pixy2 wich is compatible with most general microcontrollers. But my point was that the title wasn't misleading because it's very specific. "Using OpenCv & ESP32" is different than "object detection run on a microcontroller"

    • @schlingelgen
      @schlingelgen ปีที่แล้ว

      @@fb846 I get that, I just wanted to say that it’s not just black and white, misleading or not misleading. I think that depends, and all the information you just gave is not common knowledge you can expect everyone to have. I don’t think the creator is the one to blame, but I can also understand why some people are not satisfied with the solution since they were looking for something different.

  • @marcelobenitezabc
    @marcelobenitezabc ปีที่แล้ว +1

    Excellent video..thank you

  • @ajengnindi5083
    @ajengnindi5083 2 ปีที่แล้ว

    thank you hopefully it can help me in my project

  • @shakerileiwat4341
    @shakerileiwat4341 2 ปีที่แล้ว

    Amazing video ♥

  • @mramzadg
    @mramzadg 2 ปีที่แล้ว

    Awesome project

  • @Bianchi77
    @Bianchi77 2 ปีที่แล้ว

    Like it, thanks for the info :)

  • @Makerfabs
    @Makerfabs 2 ปีที่แล้ว

    😍😍This is super cool object detection & identification project, keep up your great work!

  • @assassinsgaming690
    @assassinsgaming690 2 ปีที่แล้ว

    Informative video 👍👍

  • @eduardopalma4607
    @eduardopalma4607 ปีที่แล้ว

    After finishing the programming and configuration, how do you power the card after installing it in the case?

  • @electronic7979
    @electronic7979 2 ปีที่แล้ว +1

    Very good 👏

  • @siddharthsoni4342
    @siddharthsoni4342 2 ปีที่แล้ว

    How can I make a trigger signal after detecting a person to a relay module for home automation using this same concept. As for image processing we need more RAM which is not possible in esp32 cam. So is it possible to trigger a relay after detecting humans (in this case you have done using laptop)?

  • @DhirajPatra
    @DhirajPatra ปีที่แล้ว

    Excellent thank you

  • @isurumadushanka7444
    @isurumadushanka7444 ปีที่แล้ว +1

    whoever program will detect some object ( only a bikes) if can i get a output form esp32 cam module.as a example if detect a bike open the gate.

  • @abdelrahmanmohamed8164
    @abdelrahmanmohamed8164 2 ปีที่แล้ว +5

    Very cool and awesome project, WELL DONE. How to play a sound when object is identified ?

    • @TechVegan
      @TechVegan ปีที่แล้ว +1

      Use NodeMCU & Fire HTTP Request using Python

    • @maxs4986
      @maxs4986 ปีที่แล้ว +1

      Spots dog* Starts playing mexican fiesta music*

  • @driesschreurs6828
    @driesschreurs6828 ปีที่แล้ว +6

    At 00:10, you say that the ESP32 module identifies objects. Isn't the ESP32 not just used for the video feed? Your Windows PC with openCV does the identification, no?

  • @santiagotello8747
    @santiagotello8747 ปีที่แล้ว

    Amazing!!

  • @coverrockstar1688
    @coverrockstar1688 2 ปีที่แล้ว

    Wonderful 👌

  • @JonnyWaldes
    @JonnyWaldes 8 หลายเดือนก่อน

    Good work

  • @amir_eshaqy
    @amir_eshaqy 2 ปีที่แล้ว

    nice work

  • @bestdealproductltd3397
    @bestdealproductltd3397 2 ปีที่แล้ว

    Would this application need wifi connection at all times. Is there any library function to convert the objct detected to speech.

  • @warjimingading740
    @warjimingading740 ปีที่แล้ว

    Hi friends, after finishing Python coding, what should I do next? transferred to ESP32 Cam or what? If it is transferred to ESP32, does the transfer coincide with the coding on Arduino (the Python coding is combined with the coding on the Arduini IDE)?? Please make a tutorial please..
    Thank you..

  • @collinsabraham8590
    @collinsabraham8590 ปีที่แล้ว

    Cool video, please I need to understand something.. how exactly does the computer communicate with the Esp32? is it via WiFi?

  • @tesleyanotida
    @tesleyanotida 4 หลายเดือนก่อน

    Good day everyone. Can this microcontroller be used for object counting?

  • @ericsiasiewwei5227
    @ericsiasiewwei5227 11 หลายเดือนก่อน

    I have a problem of the window tab created by cv2.inshow() always crashes automatically once running. I've installed all required library... Please help

  • @muhammadanshari3931
    @muhammadanshari3931 ปีที่แล้ว +1

    did this program work if you discoonect esp cam from pc/laptop?

  • @user-nd6ou2sg3v
    @user-nd6ou2sg3v 3 หลายเดือนก่อน

    How to use Arduino instead of ftdi programmer? Will there be any change in code?

  • @shraddhalone8151
    @shraddhalone8151 2 ปีที่แล้ว +1

    How much time it takes to open the 2 windows?

  • @Madu_Hitam
    @Madu_Hitam 2 ปีที่แล้ว

    hello, sorry to ask why when my python program is running it says unterminated string literal (detected at line 9)?

  • @jugalkishor2796
    @jugalkishor2796 8 หลายเดือนก่อน

    can we record a video and send to mobile, using this project

  • @afifahtrielestari2637
    @afifahtrielestari2637 2 ปีที่แล้ว

    when face detection and recognition turn on, why esp 32 cam is black and serial monitor is martix3du item alloc failed?

  • @mbudie1301
    @mbudie1301 2 ปีที่แล้ว

    Where can I buy one that works and is assembled? Thanks

  • @alimahmood9236
    @alimahmood9236 7 หลายเดือนก่อน

    i like this video but i wanna ask about calculate the destance between the camera and things

  • @o3745
    @o3745 6 หลายเดือนก่อน

    When the press on the "Run" , the syntax error (invalid non-printable character U+00A0 , why ?

  • @vaibhavbhardwaj8895
    @vaibhavbhardwaj8895 6 หลายเดือนก่อน

    Amazing

  • @lionellow105
    @lionellow105 2 ปีที่แล้ว

    Does this have to be connected to the computer or through wireless

  • @ArjunKohli
    @ArjunKohli 2 ปีที่แล้ว +1

    Multiple libraries were found for "WiFi.h" getting this error how to solve it

  • @opiritetariah
    @opiritetariah ปีที่แล้ว

    nice video but some many information missing.. Is it the ESP 32 CAM that is doing the object detection or the laptop?

  • @souvikkundu3682
    @souvikkundu3682 2 ปีที่แล้ว

    hello i have had a question i wanted to ask that is can it detect medicine pills kept on a flat surface?

  • @veda6165
    @veda6165 2 ปีที่แล้ว

    Hi! Does it require wireless network connectivity to work? Or it just needs the wireless connectivity as a way to view what the camera can see?

  • @flickmew99
    @flickmew99 ปีที่แล้ว

    miss what software to make a 3d model for 3d printer ?

  • @user-qy6ze4rw4h
    @user-qy6ze4rw4h 4 หลายเดือนก่อน

    how can i read the text like text and numeric from camera and get it into my excel

  • @xyliusdominicibayan6215
    @xyliusdominicibayan6215 2 ปีที่แล้ว

    Hi, How can I implement this in my raspberry pi 4B?

  • @spaciefiend
    @spaciefiend 2 ปีที่แล้ว

    Could this recognise bored, surprised, or happy expressions?

  • @didzi6728
    @didzi6728 11 หลายเดือนก่อน

    Hey. When I try to run the code in Python IDLE I get this error: "Failed to open the IP camera stream". While if I copy and past the camera's url in the web browser it works fine! Any ideas on how to fix it?

  • @tohsaka7919
    @tohsaka7919 ปีที่แล้ว

    hello does this work without a ftdi module and just using arduino UNO

  • @HackerBd
    @HackerBd 2 ปีที่แล้ว +1

    hi....... in my pc detection not responding. how can i fixed it?

  • @guillermosalfate4583
    @guillermosalfate4583 10 หลายเดือนก่อน

    do you have the vectors for print case?

  • @kaustubhshriyam3278
    @kaustubhshriyam3278 8 หลายเดือนก่อน

    I am looking for computer vision powered fire dector , i want to make it with arduino or pico becuse of my budget can u plz help me

  • @loveleshdebnath5479
    @loveleshdebnath5479 9 หลายเดือนก่อน +1

    Ma'am we are unable to run the python code for some unknown reason.... it asks for tensor flow.. Please help

  • @jasurbekkdyrbaev1037
    @jasurbekkdyrbaev1037 ปีที่แล้ว

    this project should work without internet. that is, directly connected to the esp32 camera's wifi. because if it works without internet, the camera will work without freezing? can you help me?

  • @benj5279
    @benj5279 ปีที่แล้ว

    How many pictures did you use to train?

  • @qiangzhang9368
    @qiangzhang9368 2 ปีที่แล้ว

    Can it be all computes in esp32?

  • @malikmalko1115
    @malikmalko1115 11 หลายเดือนก่อน

    Hi,i received my ESP32 CAM but the supply is missing 😢😢😢 what i do???

  • @codeforcoders69
    @codeforcoders69 4 หลายเดือนก่อน

    i love your voice

  • @naren309
    @naren309 10 หลายเดือนก่อน

    how to use it for pick and place on moving conveyor belt. can you develop we can buy the software from you

  • @sparcgarage1200
    @sparcgarage1200 ปีที่แล้ว

    bro I try to do this. actually my live stream is open but the detection window is not loading and it is showing that not responding. what i need to do. please reply bro

  • @namburipavankumar8529
    @namburipavankumar8529 9 หลายเดือนก่อน

    After execution, a different window for detection does not open.

  • @phenixisbest
    @phenixisbest 6 หลายเดือนก่อน

    Dog in the pic: Ma'am! Im an animal, not an object, thank you!

  • @ash_6437
    @ash_6437 2 ปีที่แล้ว

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

  • @abhignucreations9615
    @abhignucreations9615 ปีที่แล้ว

    Can you help me out to detect the fire using this esp 32

  • @ranjanavirkar
    @ranjanavirkar 4 หลายเดือนก่อน

    how to fix the problem of wifi failure in serial monitor pls reply

  • @viktorhugo8252
    @viktorhugo8252 8 หลายเดือนก่อน

    Is CVLIB compatible to OV5640?

  • @sharan5052
    @sharan5052 2 ปีที่แล้ว

    What algorithm is used in this

  • @rehan_alammmblogs
    @rehan_alammmblogs 2 ปีที่แล้ว

    Nice 👍😊

  • @DevasKarpDevas5000
    @DevasKarpDevas5000 2 ปีที่แล้ว +1

    Hey, I have a question. I ran the Python Code and both camera windows opened, but the detection window doesn't show any box at all, I tried showing different objects and even faces but it didn't show a single box. I literally only changed the IP address and added some comments to the code, but still no boxes. I was wondering if you would know a reason behind this. It's weird since I tried the Face Detection method from cvzone course, and it showed boxes.

  • @tohsaka7919
    @tohsaka7919 ปีที่แล้ว

    i got the following error while uploading the code "does not exist or your board is not connected"

  • @dienau6313
    @dienau6313 9 หลายเดือนก่อน

    I already installed matplotlib library, but it didnt work, may you provide me the right matplotlib library, please?

  • @kaushlyaparihar87
    @kaushlyaparihar87 8 หลายเดือนก่อน

    @HowtoElectronics plz help k ow I'm getting error saying No module found tensorflow.python

  • @KhoaNguyen-sm1ny
    @KhoaNguyen-sm1ny ปีที่แล้ว

    why my live trasmission is on but my detection is load and can see ?

  • @sarahhanine6638
    @sarahhanine6638 ปีที่แล้ว

    Hi. I hope to get a response to my question. If I use the esp32 Cam Dev board downloader, the Project can still run as expected in the video?

    • @HowtoElectronics
      @HowtoElectronics  ปีที่แล้ว

      Sorry to say I havent tested it. But you can try once, may be it might work.

    • @sarahhanine6638
      @sarahhanine6638 ปีที่แล้ว

      @@HowtoElectronics okay. Thank you i appreciate your response.

  • @anishsingh7766
    @anishsingh7766 ปีที่แล้ว

    Everything running but detection window is not responding. I've tried it many times . Please reply it's very important

  • @maheshambre03
    @maheshambre03 2 ปีที่แล้ว +2

    Can you make a detail video step by step on this. I found this video very much helpful. If I have to use this system in Poultry to count hen and eggs will this work? Thanks 👍

    • @HowtoElectronics
      @HowtoElectronics  2 ปีที่แล้ว

      Yes it will definitely work. The tutorial is written on website article too with full details. You can follow the guide.

  • @nileshgodhanipatel2211
    @nileshgodhanipatel2211 5 หลายเดือนก่อน

    Is this work wirelessly?

  • @SohidulIslam-hm5pg
    @SohidulIslam-hm5pg ปีที่แล้ว +1

    My heart detected 💘 your sweet voice 🥰🤩😅😅

  • @NaveenKumar-ir4si
    @NaveenKumar-ir4si ปีที่แล้ว

    Can use normal ip camera

  • @kartiksetia324
    @kartiksetia324 10 หลายเดือนก่อน

    Can someone help me pls
    I am just getting two black box
    Means not responding

  • @crickshowshorts
    @crickshowshorts 4 หลายเดือนก่อน

    in the detection dialoge it says not respondig please help me to fix it

  • @abhignucreations9615
    @abhignucreations9615 ปีที่แล้ว

    How can I detect fire by using esp 32

  • @user-zi7lv5fp6l
    @user-zi7lv5fp6l ปีที่แล้ว

    Hi please make a video with esp cam video transmission with lora

  • @user-qf2im2gg6g
    @user-qf2im2gg6g ปีที่แล้ว

    thank you for the video but can you give me the code source of python to link my esp32 with my own
    trained model please

  • @barnacode
    @barnacode 9 หลายเดือนก่อน

    ModuleNotFoundError: No module named 'cv2'
    Can someone help?

  • @user-hg1up3kf3e
    @user-hg1up3kf3e ปีที่แล้ว

    detection not responding error occuring bro/sis. what to do?

  • @shanejimenez9706
    @shanejimenez9706 2 ปีที่แล้ว

    Can i detect facemask using that technology ? How?

  • @sakthi1192
    @sakthi1192 2 ปีที่แล้ว

    Could you tell what is cam-hi.jpg

  • @ArjunKohli
    @ArjunKohli 2 ปีที่แล้ว

    all video i am getting same error. anyone who implemented. getting error in esp32 cam

  • @vadsunete23
    @vadsunete23 2 ปีที่แล้ว

    Does it work?

  • @jahanzaibbabar3696
    @jahanzaibbabar3696 2 ปีที่แล้ว

    When i compile the arduino code, the esp32cam.cpp showed many errors!!!!

  • @BarkhaMusic
    @BarkhaMusic ปีที่แล้ว

    I want to detect object of laptop screen ,is it Possible? Means what object is displayed on screen

    • @HowtoElectronics
      @HowtoElectronics  ปีที่แล้ว

      Check my latest video. The object detection and identification project is better done.

  • @techzoo3512
    @techzoo3512 2 ปีที่แล้ว

    Super 😗

  • @jerroldleung8065
    @jerroldleung8065 2 หลายเดือนก่อน

    hello guys , I wanted to ask why does the live transmission and the detection windows not responding..? i have checked my ip address and it was correct..

    • @BH_Hridoy
      @BH_Hridoy หลายเดือนก่อน

      How did you solved your issue?