public enum PageSegmentationMode extends java.lang.Enum<PageSegmentationMode>
| Enum Constant and Description |
|---|
AUTOMATIC
Automatic without OSD.
|
AUTOMATIC_OSD
Automatic page segmentation with OSD.
|
CIRCLE_WORD
Assume a single word in a circle.
|
OSDONLY
Orientation and script detection (OSD).
|
RAW_LINE
Treat as a raw line with no input processing.
|
SINGLE_BLOCK
Assume a single block of text.
|
SINGLE_BLOCK_VERTICAL
Assume a single block of vertically aligned text.
|
SINGLE_CHAR
Assume a single char.
|
SINGLE_COLUMN
Assume a single column of text.
|
SINGLE_LINE
Assume a single line of text.
|
SINGLE_WORD
Assume a single word.
|
SPARSE_TEXT
Find all text in no particular order.
|
SPARSE_TEXT_OSD
Sparse text with OSD.
|
| Modifier and Type | Method and Description |
|---|---|
static PageSegmentationMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PageSegmentationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PageSegmentationMode OSDONLY
public static final PageSegmentationMode AUTOMATIC_OSD
public static final PageSegmentationMode AUTOMATIC
public static final PageSegmentationMode SINGLE_COLUMN
public static final PageSegmentationMode SINGLE_BLOCK_VERTICAL
public static final PageSegmentationMode SINGLE_BLOCK
public static final PageSegmentationMode SINGLE_LINE
public static final PageSegmentationMode SINGLE_WORD
public static final PageSegmentationMode CIRCLE_WORD
public static final PageSegmentationMode SINGLE_CHAR
public static final PageSegmentationMode SPARSE_TEXT
public static final PageSegmentationMode SPARSE_TEXT_OSD
public static final PageSegmentationMode RAW_LINE
public static PageSegmentationMode[] values()
for (PageSegmentationMode c : PageSegmentationMode.values()) System.out.println(c);
public static PageSegmentationMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null