gali8/tesseract-ocr-ios ? reverse-engineered prompt
Reverse engineered prompt
Build me an iOS OCR framework that I can drop into a Swift or Objective C app and use to read text from photos.
I want it to work on iOS 9 and later, be easy to integrate with Carthage, and include a simple example project that shows how to load an image, run OCR, and display the extracted text. Please make sure the framework is set up so the required language files live in a tessdata folder and the app can find them without extra hassle.
If there are any current setup details I should know about, like the best way to build it in Xcode or include the right language packs, please wire that in too. Keep it simple and practical, with a clean demo and enough tests or sample code that I can see it working right away.
Are you gonna build this?
make sure you review the code using coderabbit