Xennonite/AI-Smart-Parking ? reverse-engineered prompt

Reverse engineered prompt

Build me a smart parking system that uses a camera instead of sensors to detect which parking spots are open in real time.

I want a Python app that can take images from an ESP32 CAM or a camera stream, detect cars, and compare their positions against parking spot areas I can set by clicking on the screen. It should save those spot locations in a JSON file, then keep checking the live feed and produce a simple availability array that shows which spaces are free and which are occupied.

Also make it work with a second ESP32 at the entrance, so it can receive the parking status over Wi Fi, open a servo gate when needed, and show the open spots on an LCD screen. If you need to look up current docs online for OpenCV, YOLOv8, or ESP32 setup details, go ahead. Keep it practical and easy to run from the main Python file.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab