public static interface ITessAPI.TessPageSegMode
OSD_ONLY
, so that the inequality test macros below work.Modifier and Type | Field and Description |
---|---|
static int |
PSM_AUTO
Fully automatic page segmentation, but no OSD.
|
static int |
PSM_AUTO_ONLY
Automatic page segmentation, but no OSD, or OCR.
|
static int |
PSM_AUTO_OSD
Automatic page segmentation with orientation and script detection.
|
static int |
PSM_CIRCLE_WORD
Treat the image as a single word in a circle.
|
static int |
PSM_COUNT
Number of enum entries.
|
static int |
PSM_OSD_ONLY
Orientation and script detection only.
|
static int |
PSM_SINGLE_BLOCK
Assume a single uniform block of text.
|
static int |
PSM_SINGLE_BLOCK_VERT_TEXT
Assume a single uniform block of vertically aligned text.
|
static int |
PSM_SINGLE_CHAR
Treat the image as a single character.
|
static int |
PSM_SINGLE_COLUMN
Assume a single column of text of variable sizes.
|
static int |
PSM_SINGLE_LINE
Treat the image as a single text line.
|
static int |
PSM_SINGLE_WORD
Treat the image as a single word.
|
static int |
PSM_SPARSE_TEXT
Find as much text as possible in no particular order.
|
static int |
PSM_SPARSE_TEXT_OSD
Sparse text with orientation and script detection.
|
static final int PSM_OSD_ONLY
static final int PSM_AUTO_OSD
static final int PSM_AUTO_ONLY
static final int PSM_AUTO
static final int PSM_SINGLE_COLUMN
static final int PSM_SINGLE_BLOCK_VERT_TEXT
static final int PSM_SINGLE_BLOCK
static final int PSM_SINGLE_LINE
static final int PSM_SINGLE_WORD
static final int PSM_CIRCLE_WORD
static final int PSM_SINGLE_CHAR
static final int PSM_SPARSE_TEXT
static final int PSM_SPARSE_TEXT_OSD
static final int PSM_COUNT