pysseract.PageSegMode

class pysseract.PageSegMode

Enumeration of page segmentation settings

Members:

OSD_ONLY : Segment the page in “OSD only” mode

AUTO_OSD : Segment the page in “Auto OSD” mode

AUTO_ONLY : Segment the page in “Automatic only” mode

AUTO : Segment the page in “Automatic” mode

SINGLE_COLUMN : Segment the page in “Single column” mode

SINGLE_BLOCK_VERT_TEXT : Segment the page in “Single block of vertical text” mode

SINGLE_BLOCK : Segment the page in “Single block” mode

SINGLE_LINE : Segment the page in “Single line” mode

SINGLE_WORD : Segment the page in “Single word” mode

CIRCLE_WORD : Segment the page in “Circle word” mode

SINGLE_CHAR : Segment the page in “Single character” mode

SPARSE_TEXT : Segment the page in “Sparse text” mode

SPARSE_TEXT_OSD : Segment the page in “Sparse text OSD” mode

RAW_LINE : Segment the page in “Raw line” mode

COUNT : Segment the page in “Count” mode

__init__(self: _pysseract.PageSegMode, arg0: int) → None

Methods