This is a proof of concept for live object detection using YOLO and ESP32 Cam.
- ESP32 Cam
- YOLOv3 Weight Click to Download
- Change WiFi credentials in the code it is on line number 9 & 10.
The whole project is build in PlatformIO in VSCode So if you are not comfortable with PlatformIO or don't know about it no problem just change the extention of ObjectDection.cpp to ObjectDection.ino and remove the Arduino.h header file line from the code. Now you can open it in Arduino IDE. First download YOLOv3 weight and put it in the src folder. Now just upload the code to ESP32Cam. After the upload go to the serial monitor and you will see the IP Address that is assigned. Now you are good to go, run the python file and it will start fetching the images from the ip address on which the ESP32Cam is serving the image. Now point the camera to some object and it will start its object detection.
It can used it projects like self driving cars, robots which can itself identify obstacles and overcome that obstacle.