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

Can't run G8Tesseract in Swift #353

Open jickabyte opened 7 years ago

jickabyte commented 7 years ago

Hi every one. I had some issue this is my first ios app I use swift 3.2 after I setup all about Tesseract

let tesseract : G8Tesseract = G8Tesseract(language:"eng", engineMode:G8OCREngineMode.cubeOnly)

or

let tesseract : G8Tesseract = G8Tesseract(language:"eng")

when running to this line my XCODE throw this error

Thread 1: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)

How i fix it? Thank you

gabrielcatice commented 6 years ago

I am with the some problem, is there any update?