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:54:50 PM(UTC)
Nick Villalobos

Groups: Registered, Manager, Tech Support, Administrators
Posts: 79

Was thanked: 2 time(s) in 2 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.Advantage, false)) 
   { 
      // Start the engine using default parameters 
      ocrEngine.Startup(null, null, null, LEAD_VARS.OcrAdvantageRuntimeDir); 

     //Enable German
     ocrEngine.LanguageManager.EnableLanguages(new string[] { name, "de" });

    //Check current enabled languages
    string[] enabledLanguages = ocrEngine.LanguageManager.GetEnabledLanguages(); 
    Console.WriteLine("Current enabled languages in the engine are:"); 
}



This code snippet can also be found under the IOcrLanguageManager Interface here:
https://www.leadtools.co...iocrlanguagemanager.html

Edited by moderator Friday, April 7, 2017 9:15:07 AM(UTC)  | Reason: Not specified

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-2017, Yet Another Forum.NET
This page was generated in 0.110 seconds.