Hi there,
does anyone knows how to detect the installed OCR-Languages?
in previews versions there was a TesseractDictionary (enum).
But now we have only the path to the files.
Did I miss something in the docu, or is it gone?
Detect aviable languages
- Appstalden
- Posts: 3
- Joined: Thu Jun 06, 2013 11:09 am
- Location: Obstalden, Switzerland
- Contact:
- Appstalden
- Posts: 3
- Joined: Thu Jun 06, 2013 11:09 am
- Location: Obstalden, Switzerland
- Contact:
Re: Detect aviable languages
I found a way to do it.
not nice, not secure (because of other files matching the pattern), but it works for me.
Code: Select all
System.IO.DirectoryInfo di = new System.IO.DirectoryInfo(ocr);
string[] lang = di.GetFiles("???.*").Select(f => f.Name.Substring(0,3)).Distinct().ToArray();
Re: Detect aviable languages
Hello,
here you are with the current release:
https://www.gdpicture.com/guides/gdpicture/web ... ges().html
here you are with the current release:
https://www.gdpicture.com/guides/gdpicture/web ... ges().html
Who is online
Users browsing this forum: No registered users and 0 guests