public static final class TessBaseAPI.PageSegMode extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
TessBaseAPI.PageSegMode.Mode |
Modifier and Type | Field and Description |
---|---|
static int |
PSM_AUTO
Fully automatic page segmentation, but no OSD.
|
static int |
PSM_AUTO_ONLY
Fully 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_OSD_ONLY
Orientation and script detection only.
|
static int |
PSM_RAW_LINE
Treat the image as a single text line, bypassing hacks that are Tesseract-specific.
|
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.
|
Constructor and Description |
---|
PageSegMode() |
public static final int PSM_OSD_ONLY
public static final int PSM_AUTO_OSD
public static final int PSM_AUTO_ONLY
public static final int PSM_AUTO
public static final int PSM_SINGLE_COLUMN
public static final int PSM_SINGLE_BLOCK_VERT_TEXT
public static final int PSM_SINGLE_BLOCK
public static final int PSM_SINGLE_LINE
public static final int PSM_SINGLE_WORD
public static final int PSM_CIRCLE_WORD
public static final int PSM_SINGLE_CHAR
public static final int PSM_SPARSE_TEXT
public static final int PSM_SPARSE_TEXT_OSD
public static final int PSM_RAW_LINE