Enum PageSegMode
Tesseract page segmentation mode
public enum PageSegMode
Fields
Auto = 3
Fully automatic page segmentation, but no OSD.
AutoOnly = 2
Automatic page segmentation, but no OSD, or OCR.
AutoOsd = 1
Automatic page segmentation with orientation and script detection. (OSD)
CircleWord = 9
Treat the image as a single word in a circle.
Count = 14
Number of enum entries.
OsdOnly = 0
PageOrientation and script detection only.
RawLine = 13
Treat the image as a single text line, bypassing hacks that are Tesseract-specific.
SingleBlock = 6
Assume a single uniform block of text. (Default.)
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.
SparseText = 11
Find as much text as possible in no particular order.
SparseTextOsd = 12
Sparse text with orientation and script det.