Table of Contents

Enum PageSegMode

Namespace
OpenCvSharp.Text
Assembly
OpenCvSharp.dll

Tesseract page segmentation mode.

public enum PageSegMode

Fields

Auto = 3

Fully automatic page segmentation, but no orientation and script detection.

AutoOnly = 2

Automatic page segmentation, but no orientation, script detection, or OCR.

AutoOsd = 1

Automatic page segmentation with orientation and script detection.

CircleWord = 9

Treat the image as a single word in a circle.

OsdOnly = 0

Orientation and script detection only.

SingleBlock = 6

Assume a single uniform block of text.

SingleBlockVertText = 5

Assume a single uniform block of vertically aligned text.

SingleChar = 10

Treat the image as a single character.

SingleColumn = 4

Assume a single column of text of variable sizes.

SingleLine = 7

Treat the image as a single text line.

SingleWord = 8

Treat the image as a single word.