d-souptik24/ecg-image-digitizer ? reverse-engineered prompt

Reverse engineered prompt

Build me a system that lets a user take a photo of a paper ECG and turn it into a clean digital 12 lead record.

I want a mobile app where someone can upload or capture an ECG image, see the processing status, and then view the reconstructed waveform clearly as clinical style plots. The app should feel simple and polished, and it should work for Android and web.

On the backend, make it handle the image processing and AI inference automatically, then return the digitized signal data and saved plots in a way that can be used later for storage or research. If needed, look up current docs online for any tricky setup details.

Also include the ESP32 camera capture side so the photo can be sent to the same backend with one button press, and it should have a basic live view so framing the ECG is easy. The whole thing should work well over local Wi Fi, without needing complicated infrastructure.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab