ashomokdev / Tess-two_example

tess-two usage example. This Android project uses Tesseract for performing OCR.
105 stars 51 forks source link

How to do multi-language Tess-two-ocr? #2

Open watcharaphol-d opened 7 years ago

watcharaphol-d commented 7 years ago

I want to develop this application by do multi-language OCR. If I want to do multi-language OCR what should I do or change from this project code?

For now, I changes lang into String lang = "eng+tha" , and add tha.traineddata in assets already but the output is not thai language (it still eng). Then I change lang="eng" to lang="tha" one language only, it does not work. The android monitor says, that "Could not initialize Tesseract API with language=tha!"

What should i do? I do not know how to deal with them. T^T Thanks in advance.

ghost commented 7 years ago

I am also facing the same issue. I have a document which contains Devanagari and English. And I am trying to OCR that document. Initially the output was acceptable at some point but running the application again and again on the same document, the output varies and not understandable. I think we need to make lot of changes to get the desired result no matter how many times we run the application.