JaidedAI/EasyOCR ? reverse-engineered prompt
Reverse engineered prompt
Build me a ready to use Python OCR tool like EasyOCR. I want someone to be able to give it an image and get back the text it finds, along with where the text is in the image and a confidence score.
It should support many languages, including English, Chinese, Arabic, Devanagari, Cyrillic, and other common scripts. Make the basic use really simple, like creating a reader with a list of languages and then calling one function to read an image. It should work with a file path, image bytes, a raw image URL, or an image object if possible.
Please include a simple mode that only returns the detected words, plus a detailed mode with boxes and confidence. It should automatically download the needed language models, support CPU mode when there is no GPU, and include a command line version for reading an image from the terminal. Look up current docs online if you need to.
Are you gonna build this?
make sure you review the code using coderabbit