rmtheis / tess-two

Fork of Tesseract Tools for Android
Apache License 2.0
3.76k stars 1.38k forks source link

app crash when using two languages #201

Closed nouhahammami closed 7 years ago

nouhahammami commented 7 years ago

Summary: thanks for this solution for Android, but i have an issue, is that i can't use two languages (ara+fra , ara+eng ....), the app crash frequently specially when i pass a big text for tesseract

Actual result: crash with this error

image image

PS : numa it's my traindata for digit numbers, i got the same problem when i used ara+fra or fra+eng Tess-two version: 6.3.0

Android version: 5.1

Phone/device model: huawei, samsung

Phone/device architecture : armeabi, armeabi-v7a

rmtheis commented 7 years ago

Arabic requires using Cube or combined modes.

Otherwise the problem is likely to be with your custom training data. Please open a new issue if this problem is reproducible with the regular training data.

nouhahammami commented 7 years ago

@rmtheis but it's the same problem when i use ara+fra or ara+eng

rmtheis commented 7 years ago

Please see my comment above about Arabic (ara) and open a new issue if necessary with a description of a single problem and all the minimal steps necessary to exactly reproduce the issue.

nouhahammami commented 7 years ago

okay thanks for your reply