Why Tesseract OCR library (iOS) cannot recognize text at all?

后端 未结 5 2316
失恋的感觉
失恋的感觉 2020-12-07 16:47

I\'m trying to use Tesseract OCR library in my iOS application. I downloaded tesseract-ios library from github and when I tried to recognize a simple text image

5条回答
  •  有刺的猬
    2020-12-07 17:42

    Like Adam said, if you want good results, you'll have to do some image processing and configure some settings (white-listing certain characters, etc).

    For anyone else stumbling upon this question, I've put together a sample project here that does some white-listing and image processing:https://github.com/mstrchrstphr/OCR-iOS-Example

提交回复
热议问题