L_OcrPageCharacters

Summary

Represents list of the recognized characters of a page.

Syntax

struct L_OcrPageCharacters 
{ 
   L_UINT StructSize; 
   L_OcrZoneCharacters* ZoneCharacters; 
   L_UINT ZoneCharacterCount; 
}; 
typedef struct L_OcrPageCharacters L_OcrPageCharacters; 

Members

StructSize

Structure size. It should be equal to sizeof(L_OcrPageCharacters).

ZoneCharacters

This is an array of L_OcrZoneCharacters structure, each element in this array contains list of recognized characters of particular zone inside the OCR page.

ZoneCharacterCount

This member represents the number of items in L_OcrPageCharacters.ZoneCharacters, this member should reflect the then number of zones in the page that contains characters after recognition, so if you have for example a page with 3 zones and after recognition one of these zones didn't contain text for some reason or maybe because it was a "Graphic" zone then this member will have the value 2 (which is the number of textual zones).

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.

Usage

Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS OCR Module - LEAD Engine C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.