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

`engineMode` doesn't working after build->run #368

Open amarildolucas opened 6 years ago

amarildolucas commented 6 years ago

On xCode 9.2/iOS 10, the property engineMode doesn't working after build->run. Shows this error on xCode console:

Cube ERROR (CubeRecoContext::Load): unable to read cube language model params from /var/containers/Bundle/Application/8373D562-A62B-4ACB-904C-C0CF9E04BE94/Karga.app/tessdata/por.cube.lm
Cube ERROR (CubeRecoContext::Create): unable to init CubeRecoContext object
init_cube_objects(false, &tessdata_manager):Error:Assert failed:in file tessedit.cpp, line 199
warning: could not execute support code to read Objective-C class data in the process. This may reduce the quality of type information available.