Click or drag to resize
PageSegMode Enumeration
Represents the possible modes for page layout analysis.

Namespace: Patagames.Ocr.Enums
Assembly: Patagames.Ocr (in Patagames.Ocr.dll) Version: 1.7.0.341
Syntax
public enum PageSegMode
Members
  Member nameValueDescription
PSM_OSD_ONLY0 Orientation and script detection only.
PSM_AUTO_OSD1 Automatic page segmentation with orientation and script detection. (OSD)
PSM_AUTO_ONLY2 Automatic page segmentation, but no OSD, or OCR.
PSM_AUTO3 Fully automatic page segmentation, but no OSD.
PSM_SINGLE_COLUMN4 Assume a single column of text of variable sizes.
PSM_SINGLE_BLOCK_VERT_TEXT5 Assume a single uniform block of vertically aligned text.
PSM_SINGLE_BLOCK6 Assume a single uniform block of text. (Default.)
PSM_SINGLE_LINE7 Treat the image as a single text line.
PSM_SINGLE_WORD8 Treat the image as a single word.
PSM_CIRCLE_WORD9 Treat the image as a single word in a circle.
PSM_SINGLE_CHAR10 Treat the image as a single character.
PSM_SPARSE_TEXT11 Find as much text as possible in no particular order.
PSM_SPARSE_TEXT_OSD12 Sparse text with orientation and script det.
PSM_RAW_LINE13 Treat the image as a single text line, bypassing hacks that are Tesseract-specific.
See Also