LEADTOOLS Support
Document
Document SDK FAQ
How do I recognize other languages than English using LEADTOOLS?
#1
Posted
:
Friday, March 31, 2017 4:49:50 PM(UTC)
Groups: Registered
Posts: 119
Was thanked: 4 time(s) in 4 post(s)
When working with the LEADTOOLS OCR SDK you have the ability to recognize many languages other than English. The SDK supports more than 40 different languages and you can see a list of some of the languages here:
https://www.leadtools.com/sdk/ocrIf you are wanting to recognize more than the English language, then you can call "EnableLanguages()" inside of the OCR language manager. Here is a small code snippet as to how you would do this:
Code:
using (IOcrEngine ocrEngine = OcrEngineManager.CreateEngine(OcrEngineType.LEAD, false))
{
// Start the engine using default parameters
ocrEngine.Startup(null, null, null, LEAD_VARS.OcrLEADRuntimeDir);
//Enable German
ocrEngine.LanguageManager.EnableLanguages(new string[] { "de" });
//Check current enabled languages
string[] enabledLanguages = ocrEngine.LanguageManager.GetEnabledLanguages();
Console.WriteLine("Current enabled languages in the engine are:");
foreach (string language in enabledLanguages)
Console.WriteLine(language);
}
This code snippet can also be found under the IOcrLanguageManager Interface here:
https://www.leadtools.com/help/sdk/dh/fo/iocrlanguagemanager.htmlEdited by moderator Wednesday, December 27, 2023 3:55:29 PM(UTC)
| Reason: Updated
Nick Villalobos
Developer Support Engineer
LEAD Technologies, Inc.
LEADTOOLS Support
Document
Document SDK FAQ
How do I recognize other languages than English using LEADTOOLS?
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.