ESP32 CAM with Python OpenCV Yolo V3 for object detection and Identification, Image Processing

Поділитися
Вставка
  • Опубліковано 24 лис 2024

КОМЕНТАРІ • 116

  • @ElectroniClinic
    @ElectroniClinic  Рік тому +5

    Watch my Latest Video on
    ESP32 Cam, Python, OpenCV, & Mediapipe based Diy Security Camera using Human Pose Landmarks
    ua-cam.com/video/pUByI_5saRs/v-deo.html

    • @ackj9766
      @ackj9766 Рік тому

      what is you esp32 board version camear ip didnt appear

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

      hello, I have a problem with detection. The Detection window pops up but stays black.
      There is a live transmission window, this works well.

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

    your cat is cute!!!!!!!!!
    🐈

  • @benj5279
    @benj5279 Рік тому +4

    You really help me a lot with your videos i hope i can support you somehow ❤️

    • @ElectroniClinic
      @ElectroniClinic  Рік тому +2

      you can support me and my channel by subscribing, or liking the videos, and comments. And by sharing videos with your friends.
      Today, i will upload a new video about car tracking and gate/barrier control system. I hope you will like the idea.

  • @SAYOOJS-n1b
    @SAYOOJS-n1b 2 місяці тому

    It worked all fine thanks a lot brother

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

    Tres bien exploque merci pour touts informationn

  • @shivaraghav2899
    @shivaraghav2899 Рік тому +1

    Mind blowing.... Super project

  • @muhammadsalem9924
    @muhammadsalem9924 Рік тому

    Thank you, professor
    Excellent work

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

    amazing really helpful

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

    thankss it is working perfect, why u didn't use newer models like yolov5 or yolov8

    • @yasirrakhurrafat1142
      @yasirrakhurrafat1142 28 днів тому

      Maybe they're more processing intensive, or maybe they weren't released yet at the time of making video.

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

    Want request may you make video about helmet and plate number detection ?

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

    Well I have plan to implement i
    This on my iot car parking project,
    To detect car ,for entry to the parking,is that hard to implement?

  • @vuthanhbinh9632
    @vuthanhbinh9632 4 місяці тому +1

    Is there a way to improve the FPS of Espcam?

  • @janarthanandayalan
    @janarthanandayalan 9 місяців тому +3

    Hi sir, is there a way we can give our very own data to train the camera?

    • @ElectroniClinic
      @ElectroniClinic  9 місяців тому +1

      Very soon I will make a video about this.

    • @WackAnimations
      @WackAnimations 4 місяці тому +1

      @@ElectroniClinichave you made it yet?

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

    "There are some objects that can't be found. How do I train the model further to recognize more?"

  • @CharlesMashava
    @CharlesMashava Рік тому +1

    I watch your videos.I find them very helpful for my own going project. However i am running the an application with same weights but its supper slow on detecting and sending information to the esp32. How can i optimize it to be fast??

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

      maybe you can try to use freeRTOS to manage the tasks

  • @DuhaMohammed-n7j
    @DuhaMohammed-n7j 10 місяців тому +1

    why did you do the image processing and objec detection on Raspberry Pi or Laptop, can't it be done on the ESP32?

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

      esp32 has very less ram and is only good for capturing image, it can no way run such a heavy model

  • @haven-hw2wl
    @haven-hw2wl Рік тому +1

    Hi sir your project is awesome, but when i try all of your instructions im having a problem with coco.names even if it's in the same folder but always displaying error that no coco.names found 😢

    • @aymanmrwan2410
      @aymanmrwan2410 Рік тому

      Yes me too

    • @haven-hw2wl
      @haven-hw2wl Рік тому

      @@aymanmrwan2410 bro i already did it, just use different format not notepad

    • @kris8167
      @kris8167 Рік тому

      @@haven-hw2wl Then I would like to ask what format you use, thank you.

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

    Thank you for the video. I want to do the exact same project but I will use the ESP32 as a soft access point. How should I modify the code?

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

      You got any solution bro?..even am looking for the same thing

  • @SwethaAnbalagan-s7y
    @SwethaAnbalagan-s7y 7 місяців тому

    how do i incorporate the same for yolo v8 model?

  • @sam-el
    @sam-el Рік тому

    I want to ask.
    Can you help me with a guide to create object detection using de1-soc

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

    Where did the "Cat and Bird Detection" file come from @3:39 ?

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

    Pls make esp32 cam based pick and place robot

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

    6:41 for its coming for me "camera fails"what should I do plse anyone suggest me

  • @muhammadsalem9924
    @muhammadsalem9924 Рік тому +1

    Please tell me what are the appropriate computer specifications for deep learning and machine learning ? Please answer

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

      Any computer with a GPU will work fine. But if you don't have that, you only need an internet connection. There are online tools like Google Collab that will provide you with an online jupyter notebook free of charge, you can use it for learning machine learning

  • @wdew1927
    @wdew1927 Рік тому

    Very nice subject !
    During compiling a message "cannot find webserver.h". My board version is 2.0.10 Do you have a solution for this ?

  • @Shykidss
    @Shykidss Рік тому

    Does it work with Yolo nas

  • @vikasreddy4864
    @vikasreddy4864 Рік тому

    Does object detection works for similar objects ?
    Does object detection works for identification of safflower stigma from saffron stigma?

    • @Shykidss
      @Shykidss Рік тому

      You can train custom dataset to the model

  • @palindrome3212
    @palindrome3212 Рік тому +1

    i have this error in line 71 saying:
    outputNames = [layernames[i[0] - 1] for i in net.getUnconnectedOutLayers()]
    IndexError: invalid index to scalar variable.
    Can you help me with the error?

    • @BuddhiniJayakody
      @BuddhiniJayakody Рік тому

      did you fix the issue? I also get the same issue

    • @auburngold4958
      @auburngold4958 Рік тому +2

      Fixed the issue, just remove the [0] and run the program. This only works on windows

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

      @@auburngold4958 thanks a lot

  • @unik8985
    @unik8985 7 місяців тому +5

    Hi, I've done everything right and have the live camera working but whenever I try to run the object detection code it gives me an error where:
    outputNames = [layernames[i[0]-1] for i in net.getUnconnectedOutLayers()]
    ~^^^
    IndexError: invalid index to scalar variable.
    and I can't seem to fix it

    • @jacobguttman4617
      @jacobguttman4617 3 місяці тому +2

      Try to get rid of the [0], it worked for me, just [layernames[i-1].....also comment :
      for i in indices:
      # i = i[0]

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

    i have this problem...
    cv2.error: OpenCV(4.5.3) C:\Users
    unneradmin\AppData\Local\Temp\pip-req-build-sn_xpupm\opencv\modules\dnn\src\darknet\darknet_io.cpp:900: error: (-212:Parsing error) Unknown layer type: in function 'cv::dnn::darknet::ReadDarknetFromCfgStream'
    anyone have the solution for this problem???

  • @manishuike3830
    @manishuike3830 Рік тому

    can you make one for nut and bolt identifying

  • @juantellez2176
    @juantellez2176 Рік тому

    would this work with a pretraining yolov8?

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

    im trying to do the same thing the only diference is that im using an esp32s3 camera that creates a webserver for the video but when i try to access the webserver ip my opencv crashes. Do you know what could have caused this?

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

      Been running into similar problem. Do you see your IP in serial monitor? I had it when I tried it some time ago, and now I can't get my IP built

  • @DexterAvejero
    @DexterAvejero Рік тому

    ERROR: Could not find a version that satisfies the requirement open-cv-python--4.5.3.56 (from versions: none)
    ERROR: No matching distribution found for open-cv-python--4.5.3.56
    in cmd 2nd step installing open cv

    • @Madaraa.
      @Madaraa. 20 днів тому

      Did u find the solution?? @DexterAvejero

    • @DexterAvejero
      @DexterAvejero 19 днів тому

      @@Madaraa. no, i just used ipcam instead of esp32cam

    • @Madaraa.
      @Madaraa. 19 днів тому +1

      @@DexterAvejero ok thx

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

    If my camera senses "Car" , any one of gpio should turn on in ESP32CAM . Help me

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

      I have done it. Check playlist or the related projects list in the description.

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

    I need your help, i have a project. The project is whe the detection image is succes the next step i want to make esp32cam give command to spray some plant? How to make the command?

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

      Use the if condition to turn ON/OFF a relay.

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

      @@ElectroniClinic can i get your contact to ask more?

  • @Jarniwan
    @Jarniwan Рік тому +5

    you should have at least tell us if the middle part was a sponsor segment. that was awful.

  • @Onkar.MendhapurkarBtech2022

    Hi, I want to make something similar, but instead of object detection, I want to make face detection system using esp32cam which will be used for storing student attendance, can you please help or provide some reference related to this.

    • @ElectroniClinic
      @ElectroniClinic  Рік тому

      for this you will need to train faces. I am working on a similar project. Its object the identification of other objects not available in the coco.names list.

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

    The serial monitor just show "CAMERA OK
    ", it did not show "......" line. How can i fix it ?

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

      Check lại tên wf và mk đúng chưa. Nếu đúng thì nó sẽ hiện ip của wf

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

      Bro I have same issue. Have you fix you?

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

    When I open the serial monitor it shows me to write a message how can I fix this

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

      Press reset button

  • @benj5279
    @benj5279 Рік тому

    Can this work if laptop and esp32 are connected to different wifi?

  • @Abhishek-f6d
    @Abhishek-f6d 6 місяців тому

    What should be the specification of camera for image detection or image processing into camera and then send only a small amount of data such as number of people passed through it etc to the network ?? Please help...🙂

  • @ChamalPathirana-c5i
    @ChamalPathirana-c5i Рік тому

    does this process can be run on raspberrypie without a computer after starting the process? i want make this for blind people which they can carry with them?

  • @didzi6728
    @didzi6728 Рік тому

    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?

  • @waleedhussain4409
    @waleedhussain4409 Рік тому

    can you please give the code for alert as an email or for arduino using gsm that you tell in last part of video it would e very helpul if you give code for it

    • @manojshyaam6683
      @manojshyaam6683 Рік тому +1

      Search for SMTP protocol for ESP 32
      Best wishes

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

    where is the main program file??

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

    Is it possible to do this without connecting it to pc

  • @benj5279
    @benj5279 Рік тому

    What do you use to run the python code?

    • @benj5279
      @benj5279 Рік тому +1

      Nvm i figured it out

    • @juantellez2176
      @juantellez2176 Рік тому

      I havent figured out what did u use to run python?

  • @eidgames8761
    @eidgames8761 Рік тому

    Failed to open the IP camera stream
    Process finished with exit code 0

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

      You solved this problem man! I also getting this

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

      ​@@parthimahi Did you solve this?

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

      @@dhivyabharathy3032 yes I solved

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

      @@parthimahi how ?

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

      @@dhivyabharathy3032 where are you facing the problem?

  • @tyronetyrone2652
    @tyronetyrone2652 Рік тому

    How to use IP CAM instead of ESP32CMA

  • @CsabaDzsurnik
    @CsabaDzsurnik Рік тому

    Hello! It's awesome! But I get the following error on my PC:
    File "C:\Users\PC\Desktop\esp32\ ESP32 CAM with Python OpenCV Yolo V3 for object detection and Identification, Image Processing\esp32CamTest-PC.py", line 19, in
    net = cv2.dnn.readNetFromDarknet(modelConfig,modelWeights)
    cv2.error: OpenCV(4.8.0) D:\a\opencv-python\opencv-python\opencv\modules\dnn\src\darknet\darknet_io.cpp:902: error: (-212:Parsing error) Unknown layer type: in function 'cv::dnn::darknet::ReadDarknetFromCfgStream'
    could you help me please?

    • @AkuDapi
      @AkuDapi Рік тому

      same case

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

      have you found the solution???

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

      @@orphaeel unfortunately not, but I found another tutorial that works on the same principle and is flawless.

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

      @@CsabaDzsurnik with same model and config??? Anyways can you give me the link... really need it for my final project... TIA

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

      @@CsabaDzsurnik can you tell me that tutorial, please???

  • @sontruongpham6883
    @sontruongpham6883 Рік тому

    Your guide is very helpful.
    But I got this error in line 30 of esp32cam.cpp file while compile the esp32camera test code:
    error: 'camera_sensor_info_t' was not declared in this scope
    camera_sensor_info_t* info = esp_camera_sensor_get_info(&sensor->id);
    error: 'info' was not declared in this scope
    camera_sensor_info_t* info = esp_camera_sensor_get_info(&sensor->id);
    error: 'esp_camera_sensor_get_info' was not declared in this scope
    camera_sensor_info_t* info = esp_camera_sensor_get_info(&sensor->id);
    Could you help me? Thanks.

    • @sontruongpham6883
      @sontruongpham6883 Рік тому

      Turn out the problem is I have the old arduino esp32 version which is 1.0.6. When upgrade to 2.0.x its run normally.

    • @albertobesozzi5825
      @albertobesozzi5825 Рік тому

      I've got the same problem but my arduino is already updated to 2.1.1

  • @PraveenKumar-vz4dy
    @PraveenKumar-vz4dy 7 місяців тому

    8:10 we can't do image processing in esp32 cam (not enough computational power ) is this what u r trying to say ?

  • @panduaksoro8845
    @panduaksoro8845 Рік тому

    where is the alert?

    • @ElectroniClinic
      @ElectroniClinic  Рік тому

      When it detects a cat and bird at the same time.

    • @panduaksoro8845
      @panduaksoro8845 Рік тому

      @@ElectroniClinic so the alert just like log in python app?

  • @urnoob5528
    @urnoob5528 4 місяці тому +2

    bro doesnt know that intel cpu has generations