This gist setups a simple debug tool for your pure ESP32 camera motion detection project. It lets you visualize the video streaming from the camera and highlights the differences from a frame to the previous.
To make it work you need to:
- upload the ESP32 naive motion detection sketch to your ESP32 camera
- put the two files below in a folder
- connect your ESP32 to your PC, set the serial port on the Python script accordingly and run the script
- start a webserver in the folder and open the
motion_visualizer.html
file in your browser
You should be able to see a grid on top of the video streaming highlighting the cells that triggered motion.
Please, before asking for help, try to debug for yourself, the whole project is only few lines of code you should be able to understand on your own.