Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Friday, March 31, 2017 4:49:50 PM(UTC)
Nick Villalobos

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/ocr

If 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.html

Edited by moderator Wednesday, December 27, 2023 3:55:29 PM(UTC)  | Reason: Updated

Nick Villalobos
Developer Support Engineer
LEAD Technologies, Inc.

LEAD Logo
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

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.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.059 seconds.