Re: [tesseract-ocr] Detecting language automatically

2022-08-06 Thread redsto...@163.com
Have you solved the problem? 在2021年3月26日星期五 UTC+8 09:55:53 写道: > Hi, > > >>>The OSD module does not detect language - it detect script, as you also > >>>noted earlier: > It detects language by using OSD in tesseract and tesseract also provides > DetectOrientationScript function. > >

Re: [tesseract-ocr] Detecting language automatically

2021-03-25 Thread Charles Cho
Hi, >>>The OSD module does not detect language - it detect script, as you also >>>noted earlier: It detects language by using OSD in tesseract and tesseract also provides DetectOrientationScript function. api.Init("/Users/renard/devel/textfairy/tessdata", "osd",

Re: [tesseract-ocr] Detecting language automatically

2021-03-25 Thread Merlijn B.W. Wajer
Hi, On 25/03/2021 19:04, Charles Cho wrote: > Hi. > > Thank you very much for your kind help, shree. > I tried to detect script by your help and it worked. Great. > > I have some questions. > 1. If the image contains texts of different languages in a page, is there > any way to detect all of

Re: [tesseract-ocr] Detecting language automatically

2021-03-25 Thread Charles Cho
Hi. Thank you very much for your kind help, shree. I tried to detect script by your help and it worked. Great. I have some questions. 1. If the image contains texts of different languages in a page, is there any way to detect all of the languages? Now it detects only one language. 2. It detects

Re: [tesseract-ocr] Detecting language automatically

2021-03-25 Thread shree
See https://github.com/tesseract-ocr/tessdoc/blob/master/examples/OSD_example.cc //Get OSD - new code int orient_deg; float orient_conf; const char* script_name; float script_conf; api->DetectOrientationScript(_deg, _conf, _name, _conf); printf("\n Orientation

Re: [tesseract-ocr] Detecting language automatically

2021-03-25 Thread Charles Cho
Hi, I have investigated on trying to detect language automatically. I referred to these links. Thank you, Merlijin. https://archive.org/services/docs/api/ocr.html#autonomous-mode https://git.archive.org/www/tesseract/-/blob/master/main.py#L757 So in my analysis, it used OSD of tesseract engine

Re: [tesseract-ocr] Detecting language automatically

2021-03-21 Thread Charles Cho
Hi, Merlijn. Thanks for your kind response. Regarding autonomous mode, I'm trying to find such module for Android. But I found nothing. I will try more. >I am not sure what you're finding on google play store, but I have found >there to be no limitation to the amount of languages that can be

Re: [tesseract-ocr] Detecting language automatically

2021-03-20 Thread Merlijn B.W. Wajer
Hi, On 19/03/2021 10:11, Charles Cho wrote: > Hello, > I'm working on a ocr android app based on tesseract. > I want to add feature that detects language automatically and recognize > at least 2 languages at once. > I have investigated on that for a while so I know that I have to specify >

[tesseract-ocr] Detecting language automatically

2021-03-19 Thread Charles Cho
Hello, I'm working on a ocr android app based on tesseract. I want to add feature that detects language automatically and recognize at least 2 languages at once. I have investigated on that for a while so I know that I have to specify language for tesseract. Then how can I implement auto