gali8 / Tesseract-OCR-iOS

Tesseract OCR iOS is a Framework for iOS7+, compiled also for armv7s and arm64.
http://www.nexor.it
MIT License
4.2k stars 947 forks source link

Different ocr results with almost same image using lstm only single line mode #393

Open shishaozheng opened 5 years ago

shishaozheng commented 5 years ago

Hi, I used the tesseract 4.0.0 version for ios branched by chaoskyme I try to use it for almost same images with following language and mode (official fast eng tessdata):

let tesseract:G8Tesseract = G8Tesseract(language: "eng", engineMode: G8OCREngineMode.lstmOnly) tesseract.pageSegmentationMode = .singleLine

I try three times, but the result is quite different, just first one is correct, the other two results is so confused.

image

image

image