L_OcrPageSortedZonesIndexMapOptions

Summary

Represents the sorted zone index map generation options to use with an OCR page.

Syntax

typedef struct L_OcrPageSortedZonesIndexMapOptions 
{ 
   L_UINT StructSize; 
   L_OcrPageSortedZonesIndexMapFlags Flags; 
} L_OcrPageSortedZonesIndexMapOptions; 

Members

StructSize

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

Flags

Flags that specify how to perform the zone sorting process. Possible values are:

Value Meaning
L_OcrPageSortedZonesIndexMapFlags_None [0x00000000] None.
L_OcrPageSortedZonesIndexMapFlags_TableCellsAsOne [0x00000001] Treat a table with its own cells as one zone in the sorting process. Table cells will be sorted row by row from top to bottom, and within the row, cells are sorted from left to right.

Comments

L_OcrPageSortedZonesIndexMapOptions is used in L_OcrPage_GetSortedZonesIndexMap to control the sorting process of OCR zones.

Usage

See Also

Functions

Topics

Example

For an example, refer to L_OcrPage_GetRecognizedCharacters.

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 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.