b1tg/win11-oneocr ? reverse-engineered prompt
Reverse engineered prompt
Build me a small Windows 11 C++ app that adds OCR to the Snipping Tool style workflow.
I want to be able to take a screenshot, run OCR on it, and show the extracted text clearly in a simple window or output panel. Keep it lightweight, and make it work on Windows 11 using the same kind of offline OCR setup the Snipping Tool uses. If it needs extra files, assume they can be copied next to the exe from the Snipping Tool folder. Use OpenCV if that helps with image handling.
Please make it easy to build from source, and include whatever code is needed so I can compile and run it on my machine. If you need to check current details for the Windows OCR files or build setup, look up the latest docs online.
Are you gonna build this?
make sure you review the code using coderabbit