PxAttrLevel Enumeration
typedef enum { ... } PxAttrLevel;
The granularity of a recognised-text attribute: the level in the page hierarchy (page, block, paragraph, line, word, or symbol) it applies to.
Overview
The block-through-symbol levels match Tesseract’s page-iterator levels (RIL_*); PxAttrLevel_Page is an additional whole-page level.
Enumeration Cases
| Name | Summary |
|---|---|
| PxAttrLevel_Block | A block of text, image, or separator (RIL_BLOCK). |
| PxAttrLevel_Line | A line within a paragraph (RIL_TEXTLINE). |
| PxAttrLevel_Page | The whole page. |
| PxAttrLevel_Para | A paragraph within a block (RIL_PARA). |
| PxAttrLevel_Symbol | A symbol (character) within a word (RIL_SYMBOL). |
| PxAttrLevel_Word | A word within a line (RIL_WORD). |