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

NameSummary
PxAttrLevel_BlockA block of text, image, or separator (RIL_BLOCK).
PxAttrLevel_LineA line within a paragraph (RIL_TEXTLINE).
PxAttrLevel_PageThe whole page.
PxAttrLevel_ParaA paragraph within a block (RIL_PARA).
PxAttrLevel_SymbolA symbol (character) within a word (RIL_SYMBOL).
PxAttrLevel_WordA word within a line (RIL_WORD).
Top