L_OcrCharacterPositions

Summary

Recognition character data position information.

Syntax

enum 
{ 
   L_OcrCharacterPositions_None = 0, 
   L_OcrCharacterPositions_EndOfLine = 1 << 0, 
   L_OcrCharacterPositions_EndOfParagraph = 1 << 1, 
   L_OcrCharacterPositions_EndOfWord = 1 << 2, 
   L_OcrCharacterPositions_EndOfZone = 1 << 3, 
   L_OcrCharacterPositions_EndOfPage = 1 << 4, 
   L_OcrCharacterPositions_EndOfCell = 1 << 5, 
}; 
typedef L_UINT L_OcrCharacterPositions; 

Members

L_OcrCharacterPositions_None

None.

L_OcrCharacterPositions_EndOfLine

This is the last character in a line.

L_OcrCharacterPositions_EndOfParagraph

This is the last character in a paragraph.

L_OcrCharacterPositions_EndOfWord

This is the last character of a word.

L_OcrCharacterPositions_EndOfZone

This is the last character in a zone.

L_OcrCharacterPositions_EndOfPage

This is the last character on a page.

L_OcrCharacterPositions_EndOfCell

This is the last character in a cell. (applicable only for L_OcrZoneType_Table type zones).

Comments

This enumerated type is used by the following structure:

L_OcrCharacter

Since the recognition character data does not contain extra characters for marking the ends of lines, paragraphs, pages, etc, these pieces of information are stored for the particular characters in the L_OcrCharacter.Positions.

The values of L_OcrCharacterPositions can be combined together (OR-ed).

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.