renard314/textfairy

How to use new traineddata manual added to the path '/textfee/tessdata' in android phone?

Closed this issue · 2 comments

Hi sir , I have installed textfairy in my phone, and then I added a new traineddata which I trained for new language to the path '/textfee/tessdata' which the other original traineddata file located in. But when I open textfairy app again, I can't find the new traineddata which I want to use.
Can you tell me how to use it ? Thank you very much!

You got 2 options:

  • Just rename it to a language that you wont use. For example deu.traineddata
  • add the new traineddata in the arrays.xml file and build text fairy from sources

Your first option is very good and simple, and your second option need to add the new traineddata to tessdata.zip in path 'app/src/main/assets/' , then build the sources and reinstall app.
Thanks for your answer!