Tesseract-OCR-iOS icon indicating copy to clipboard operation
Tesseract-OCR-iOS copied to clipboard

Crashed with [tesseract recognize];

Open chenshipeng opened this issue 7 years ago • 2 comments

hello,i use version 4.0.0 and crashed at [tesseract recognize];.

here is my code G8Tesseract *tesseract = [[G8Tesseract alloc] initWithLanguage:@"eng"]; tesseract.image = image; [tesseract recognize]; crashed with EXC_BAD_ACCESS(code=1,address=...)

chenshipeng avatar May 12 '17 02:05 chenshipeng

The eng.traineddata is having an issue of sorts. Try using this one. It should work.

PS: Ensure BitCode is set to NO

chaitanya-ramji avatar May 16 '17 01:05 chaitanya-ramji

I create a new project and use Tesseract-OCR-iOS,and everything is ok,it works fine.but I use it in my project,it will crashed at [tesseract recognize];I really do not know why. 

here is my code G8Tesseract *tesseract = [[G8Tesseract alloc] initWithLanguage:@"eng"]; tesseract.image = image; [tesseract recognize]; crashed with EXC_BAD_ACCESS(code=1,address=...)

chenshipeng avatar May 17 '17 07:05 chenshipeng