The OcrEngineManager Class is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.
Provides methods to create OCR engine instances.Visual Basic (Declaration) | |
---|---|
Public MustInherit NotInheritable Class OcrEngineManager |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As OcrEngineManager |
C# | |
---|---|
public static class OcrEngineManager |
C++/CLI | |
---|---|
public ref class OcrEngineManager abstract sealed |
The Leadtools.Forms.Ocr.OcrEngineManager class and its methods are your entry point to using the Leadtools.Forms.Ocr class library.
This class provides the methods you need to create an object of the IOcrEngine interface. Afterwards, you can use the properties and methods of this interface to perform your OCR tasks.
Based on the engine type passed to the CreateEngine methods, Leadtools.Forms.Ocr.OcrEngineManager will load the OCR engine defined in one of the supporting assemblies and return an interface to IOcrEngine. Use this interface and its included types to start using the Leadtools.Forms.Ocr class library. For more information about the engine types, refer to Leadtools.Forms.Ocr.OcrEngineType.
The CreateEngine method lets you create an instance of IOcrEngine, loading the corresponding Leadtools.Forms.Ocr.[EngineName].dll assembly using the .NET System.Reflection.Assembly.Load(string assemblyString) method. You cannot unload this assembly once it has been successfully loaded.
Depending on your application requirement, platform and OCR engine type; a "thunk" mechanism might be required. Refer to Multi-Threading with LEADTOOLS OCR for more information and on how to use the useThunkServer parameter of OcrEngineManager.CreateEngine.
System.Object
Leadtools.Forms.Ocr.OcrEngineManager
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
Reference
OcrEngineManager MembersLeadtools.Forms.Ocr Namespace
OcrEngineType Enumeration
IOcrEngine Interface
Programming with Leadtools .NET OCR
Creating an OCR Engine Instance
Starting and Shutting Down the OCR Engine
Multi-Threading with LEADTOOLS OCR
LEADTOOLS OCR Thunk Server
Files to be Included with Your Application