Package net.sourceforge.tess4j
Interface ITessAPI.TessPageSegMode
-
- Enclosing interface:
- ITessAPI
public static interface ITessAPI.TessPageSegModePossible modes for page layout analysis. These *must* be kept in order of decreasing amount of layout analysis to be done, except forOSD_ONLY, so that the inequality test macros below work.
-
-
Field Summary
Fields Modifier and Type Field Description static intPSM_AUTOFully automatic page segmentation, but no OSD.static intPSM_AUTO_ONLYAutomatic page segmentation, but no OSD, or OCR.static intPSM_AUTO_OSDAutomatic page segmentation with orientation and script detection.static intPSM_CIRCLE_WORDTreat the image as a single word in a circle.static intPSM_COUNTNumber of enum entries.static intPSM_OSD_ONLYOrientation and script detection only.static intPSM_SINGLE_BLOCKAssume a single uniform block of text.static intPSM_SINGLE_BLOCK_VERT_TEXTAssume a single uniform block of vertically aligned text.static intPSM_SINGLE_CHARTreat the image as a single character.static intPSM_SINGLE_COLUMNAssume a single column of text of variable sizes.static intPSM_SINGLE_LINETreat the image as a single text line.static intPSM_SINGLE_WORDTreat the image as a single word.static intPSM_SPARSE_TEXTFind as much text as possible in no particular order.static intPSM_SPARSE_TEXT_OSDSparse text with orientation and script detection.
-
-
-
Field Detail
-
PSM_OSD_ONLY
static final int PSM_OSD_ONLY
Orientation and script detection only.- See Also:
- Constant Field Values
-
PSM_AUTO_OSD
static final int PSM_AUTO_OSD
Automatic page segmentation with orientation and script detection. (OSD)- See Also:
- Constant Field Values
-
PSM_AUTO_ONLY
static final int PSM_AUTO_ONLY
Automatic page segmentation, but no OSD, or OCR.- See Also:
- Constant Field Values
-
PSM_AUTO
static final int PSM_AUTO
Fully automatic page segmentation, but no OSD.- See Also:
- Constant Field Values
-
PSM_SINGLE_COLUMN
static final int PSM_SINGLE_COLUMN
Assume a single column of text of variable sizes.- See Also:
- Constant Field Values
-
PSM_SINGLE_BLOCK_VERT_TEXT
static final int PSM_SINGLE_BLOCK_VERT_TEXT
Assume a single uniform block of vertically aligned text.- See Also:
- Constant Field Values
-
PSM_SINGLE_BLOCK
static final int PSM_SINGLE_BLOCK
Assume a single uniform block of text.- See Also:
- Constant Field Values
-
PSM_SINGLE_LINE
static final int PSM_SINGLE_LINE
Treat the image as a single text line.- See Also:
- Constant Field Values
-
PSM_SINGLE_WORD
static final int PSM_SINGLE_WORD
Treat the image as a single word.- See Also:
- Constant Field Values
-
PSM_CIRCLE_WORD
static final int PSM_CIRCLE_WORD
Treat the image as a single word in a circle.- See Also:
- Constant Field Values
-
PSM_SINGLE_CHAR
static final int PSM_SINGLE_CHAR
Treat the image as a single character.- See Also:
- Constant Field Values
-
PSM_SPARSE_TEXT
static final int PSM_SPARSE_TEXT
Find as much text as possible in no particular order.- See Also:
- Constant Field Values
-
PSM_SPARSE_TEXT_OSD
static final int PSM_SPARSE_TEXT_OSD
Sparse text with orientation and script detection.- See Also:
- Constant Field Values
-
PSM_COUNT
static final int PSM_COUNT
Number of enum entries.- See Also:
- Constant Field Values
-
-