mad-hav-22-07/Digital_OMR_Reader — reverse-engineered prompt

Reverse engineered prompt

I want a simple Python tool that can handle the full OMR workflow for basic exam sheets.

Please make it generate a clean printable OMR PDF with fields for roll number and 5 subjects with 20 questions each, and also keep the fake data generator so I can create filled sample images for testing without needing a scanner. Then finish the scanning part so I can feed it a scanned image or photo of one of these sheets and have it detect the marked bubbles, read the roll number if that is part of the sheet design, and give me the answers in a usable format. If possible, also save the results to a CSV file.

Keep it practical and easy to run from the command line, with sensible output files in the data folder. I would also like the code cleaned up enough that I can understand where sheet generation, test image creation, and scanning happen. Add a short README update with exact run commands. Look up current docs online if you need to.

Want more depth? Deep Reverse