L_OcrZoneCharacters - OCR Module - LEAD Engine C++ API Help

L_OcrZoneCharacters

struct L_OcrZoneCharacters 
{ 
   L_UINT StructSize; 
   L_OcrCharacter* Characters; 
   L_UINT CharacterCount; 
}; 
typedef struct L_OcrZoneCharacters L_OcrZoneCharacters; 

The recognized characters list of a zone inside a page.

Member Description
StructSize Structure size. It should be equal to sizeof(L_OcrZoneCharacters).
Characters This member contains list of recognized characters of a particular zone inside the OCR page.
CharacterCount This member represents the number of characters in L_OcrZoneCharacters.Characters.

Comments

To get the recognized characters of a page, call L_OcrPage_GetRecognizedCharacters after L_OcrPage_Recognize.

To update the recognized characters of a page, call L_OcrPage_SetRecognizedCharacters before calling L_OcrDocument_Save or L_OcrDocument_SaveXml.

L_OcrPageCharacters contains a list of the characters of the zones.

L_OcrZoneCharacters contains a list of the characters for a particular zone.

This structure is used inside the L_OcrPageCharacters which in turn is used by the following functions:

L_OcrPage_GetRecognizedCharacters

L_OcrPage_SetRecognizedCharacters

L_OcrPage_FreePageCharacters

L_OcrPage_GetZoneWords

Help Version 20.0.2018.6.21
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS OCR Module - LEAD Engine C API Help