Click or drag to resize

PageSegMode Enumeration

Represents the possible page segmentation modes of the Tesseract OCR engine.

Namespace:  Opait.Api
Assembly:  Opait.Core (in Opait.Core.dll) Version: 1.3.3.0
Syntax
C#
public enum PageSegMode
Members
  Member nameValueDescription
OsdOnly0 Orientation and Script Detection (OSD) only.
AutoOsd1 Automatic page segmentation with orientation and script detection (OSD).
AutoOnly2 Automatic page segmentation, but no OSD, or OCR.
Auto3 Fully automatic page segmentation, but no OSD.
SingleColumn4 Assume a single column of text of variable sizes.
SingleBlockVertText5 Assume a single uniform block of vertically aligned text.
SingleBlock6 Assume a single uniform block of text.
SingleLine7 Treat the image as a single text line.
SingleWord8 Treat the image as a single word.
CircleWord9 Treat the image as a single word in a circle.
SingleChar10 Treat the image as a single character.
SparseText11 Document contains sparse text.
SparseTextOsd12 Sparse text with orientation and script detection.
RawLine13 Treat the image as a single text line, bypassing hacks that are Tesseract-specific.
See Also