Version 16 of the LEADTOOLS OCR C API has changed from version 15 as follows:
LEAD'S robust OCR design now supports multiple OCR engines, giving you a choice of LEADTOOLS OCR Modules:
LEADTOOLS OCR Module - Professional: This new engine provides the fastest and most accurate automatic and manual zone detection, Unicode support, formatted output, auto-orientation, custom spelling dictionaries and MICR support. PDF and PDF/A output, ICR and OMR support is available.
The document handle for new engine is L_HDOC2.
The path for the new engine is available from the OCRPathProfessional16 key: HKEY_LOCAL_MACHINE\Software\LEAD Technologies, Inc.\OCRPathProfessional16.
The function naming convention for LEADTOOLS OCR Module - OmniPage Engine is L_Doc2xxx.
The demo naming convention for LEADTOOLS OCR Module - OmniPage Engine is Ocr2xxx.
LEADTOOLS OCR Module - Plus: our existing engine includes automatic and manual zone detection, formatted output, auto-orientation, custom spelling dictionaries and MICR support. PDF and PDF/A output, ICR and OMR support is also available.
The document handle for the existing engine remains L_HDOC.
The path for the previous engine is from the OCRPathPlus16 key: HKEY_LOCAL_MACHINE\Software\LEAD Technologies, Inc.\OCRPathPlus16.
Both engines can be installed on the same machine.
Continue to use existing code, with no code changes required.
At the same time, upgrade to the new engine for fastest possible performance on new or existing applications.
Both engines will run independently, with no conflict.
The following functions, structures, and enumerations are available only with OCR Plus. They do not have counterparts in LEADTOOLS OCR Module - OmniPage Engine:
L_DocSaveResultsToMemory
L_DocIsCharEnabled
L_DocIsParallelRecognitionEnabled
L_DocEnableParallelRecognition
DOCUMENTOPTIONS
PARAGRAPHOPTIONS
CHARACTEROPTIONS
MARKOPTIONS
FONTDEFINE
SELECTOR
LINESPACING
ALIGNMENT
PAPERTYPE
PAPERORIENTATION
LANGUAGE_RESULT
COLOR_RESULT
TABLEMETHOD
New Functions:
L_Doc2CreateSettingsCollection
L_Doc2DeleteSettingsCollection
L_Doc2FreeRecognizedCharacters
L_Doc2GetDefaultSpellLanguages
L_Doc2GetOcrZoneCount
L_Doc2GetRecognitionResultOptions
L_Doc2GetRecognizedCharactersColors
L_Doc2GetRecognizeModuleTradeOff
L_Doc2GetUserDictionarySectionItem
L_Doc2GetUserDictionarySection
L_Doc2GetUserZoneCount
L_Doc2RemoveItemFromUserDictionary
L_Doc2SetActiveSettingsCollection
L_Doc2SetRecognitionResultOptions
L_Doc2SetRecognizeModuleTradeOff
New Enumerations
New Callbacks
For more information, refer to: