Creating an OCR Engine Instance

Show in webframe

The OcrEngineManager class and its methods are your entry to using the Leadtools.Forms.Ocr class library.

You use the OcrEngineManager.CreateEngine method to create an instance of the IOcrEngine interface. Afterwards, you can use the properties and methods of this interface to perform the various OCR tasks required.

There are two things to consider when creating an IOcrEngine instance:


OCR Engine Type

LEADTOOLS for .NET class library supports multiple OCR engines. All the engines supported implement the same interfaces defined in Leadtools.Forms.Ocr.dll. As a result, your application code does not need to change when you switch between the engines.

The first parameters to the OcrEngineManager.CreateEngine method (engineType) is a value of the OcrEngineType enumeration to specify the name of the OCR engine to load. Internally, the framework will use Assembly.Load to load the corresponding assembly and create the objects that implements the various public interfaces (for example, IOcrEngine).

Currently, LEADTOOLS for .NET class library supports the following engines:

Engine Description
OcrEngineType.Plus

LEADTOOLS OCR Plus engine. The OCR library inside Leadtools.Forms.Ocr.Plus.dll is loaded.

OcrEngineType.Professional

LEADTOOLS OCR Professional engine. The OCR library inside Leadtools.Forms.Ocr.Professional.dll is loaded.

OcrEngineType.Advantage

LEADTOOLS OCR Advantage engine. The OCR library inside Leadtools.Forms.Ocr.Advantage.dll is loaded.

OcrEngineType.Arabic

LEADTOOLS OCR Arabic engine. The OCR library inside Leadtools.Forms.Ocr.Arabic.dll is loaded.


Usage of the LEADTOOLS OCR Thunk Server

Refer to Multi-Threading with LEADTOOLS OCR.


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.