Enum OcrPageSegmentation

Namespace
SoftZenPdf.Ocr
Assembly
SoftZenPdf.Ocr.dll

How Tesseract divides an image into blocks, lines and words before recognising them.

public enum OcrPageSegmentation

Fields

Auto = 0

Find columns, blocks and lines automatically. Best for whole pages.

SingleColumn = 1

Treat the image as a single column of text of variable sizes.

SingleBlock = 2

Treat the image as one uniform block of text.

SingleLine = 3

Treat the image as a single line of text.

SingleWord = 4

Treat the image as a single word.

SparseText = 5

Find as much text as possible in no particular order, such as labels on a form or receipt.