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.22k stars 949 forks source link

SIGABRT From G8Tesseract.mm #364

Closed Finchiedev closed 5 years ago

Finchiedev commented 6 years ago

I was trying to create a basic OCR application and I get a SIGABRT error on line 196 of G8Tesseract.mm The code for line 196: int returnCode = _tesseract->Init(self.absoluteDataPath.UTF8String, self.language.UTF8String, and below is a screenshot of my code (No errors or warnings on my side): screen shot 2018-02-08 at 7 56 12 pm Any suggestions would be appreciated :) P.S. The IBOUTLET is connected properly

bududomasidet commented 6 years ago

same problem

asearson commented 6 years ago

+1 having same issue

asearson commented 6 years ago

Finally figured it out! The new English trained data file does not work. I had to use an old version as well as a number of other files associated with the trained language which was available via this tutorial. raywenderlich.com