Represents the sorted zone index map generation options to use with an OCR page.
typedef struct L_OcrPageSortedZonesIndexMapOptions
{
L_UINT StructSize;
L_OcrPageSortedZonesIndexMapFlags Flags;
} L_OcrPageSortedZonesIndexMapOptions;
Structure size. It should be equal to sizeof(L_OcrPageSortedZonesIndexMapOptions).
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. |
L_OcrPageSortedZonesIndexMapOptions is used in L_OcrPage_GetSortedZonesIndexMap to control the sorting process of OCR zones.
For an example, refer to L_OcrPage_GetRecognizedCharacters.