rmtheis / tess-two

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

chinese language init failed #184

Closed maxiaoyi closed 7 years ago

maxiaoyi commented 7 years ago

chinese language init failed,at TessBaseAPI.init();

rmtheis commented 7 years ago

Please open a new issue with the text of the error message that you received. Also, are you using the new training data from the tessdata repo? chi_sim or chi_tra?

maxiaoyi commented 7 years ago

I have used the latest training data,It crashed on TessBaseAPI.init();

At boolean success = nativeInitOem(mNativeData, datapath, language, ocrEngineMode);

Both English and Korean have been used successfully except Chinese; The parameters of the method are all normal

rmtheis commented 7 years ago
  1. What's the text of the error message you receive?
  2. Are you using the new training data from the tessdata repo?
  3. Which version of tess-two are you using?
  4. What's the value of ocrEngineMode?
maxiaoyi commented 7 years ago
  1. No error message,native method crashed
  2. The training data from 'https://github.com/tesseract-ocr/tessdata/'
  3. com.rmtheis:tess-two:6.1.1
  4. 0
rmtheis commented 7 years ago
  1. Was that before or after the "Added LSTM models" commit? Does the earlier version work?
rmtheis commented 7 years ago

See #188.