Enum ocr

PageSegmentationMode

Namespace: com::datalogics::PDFL

Description

Specify how the OCR engine will view the page, and how it detects text segments.

Values

AUTOMATIC

Automatic without OSD.

AUTOMATIC_OSD

Automatic page segmentation with OSD.

CIRCLE_WORD

Assume a single word in a circle.

OSDONLY

Orientation and script detection (OSD).

RAW_LINE

Treat as a raw line with no input processing.

SINGLE_BLOCK

Assume a single block of text.

SINGLE_BLOCK_VERTICAL

Assume a single block of vertically aligned text.

SINGLE_CHAR

Assume a single char.

SINGLE_COLUMN

Assume a single column of text.

SINGLE_LINE

Assume a single line of text.

SINGLE_WORD

Assume a single word.

SPARSE_TEXT

Find all text in no particular order.

SPARSE_TEXT_OSD

Sparse text with OSD.