17#ifndef TESSERACT_CCSTRUCT_PUBLICTYPES_H_
18#define TESSERACT_CCSTRUCT_PUBLICTYPES_H_
constexpr int kResolutionEstimationFactor
@ OEM_TESSERACT_LSTM_COMBINED
bool PTIsLineType(PolyBlockType type)
@ TEXTLINE_ORDER_LEFT_TO_RIGHT
@ TEXTLINE_ORDER_RIGHT_TO_LEFT
@ TEXTLINE_ORDER_TOP_TO_BOTTOM
bool PSM_OSD_ENABLED(int pageseg_mode)
@ PSM_CIRCLE_WORD
Treat the image as a single word in a circle.
@ PSM_OSD_ONLY
Orientation and script detection only.
@ PSM_COUNT
Number of enum entries.
@ PSM_SPARSE_TEXT
Find as much text as possible in no particular order.
@ PSM_AUTO_ONLY
Automatic page segmentation, but no OSD, or OCR.
@ PSM_SINGLE_BLOCK_VERT_TEXT
@ PSM_SINGLE_CHAR
Treat the image as a single character.
@ PSM_SINGLE_COLUMN
Assume a single column of text of variable sizes.
@ PSM_AUTO
Fully automatic page segmentation, but no OSD.
@ PSM_SINGLE_WORD
Treat the image as a single word.
@ PSM_SINGLE_BLOCK
Assume a single uniform block of text. (Default.)
@ PSM_SINGLE_LINE
Treat the image as a single text line.
@ PSM_SPARSE_TEXT_OSD
Sparse text with orientation and script det.
bool PSM_ORIENTATION_ENABLED(int pageseg_mode)
bool PSM_LINE_FIND_ENABLED(int pageseg_mode)
bool PSM_COL_FIND_ENABLED(int pageseg_mode)
bool PTIsImageType(PolyBlockType type)
constexpr int kMaxCredibleResolution
bool PSM_SPARSE(int pageseg_mode)
bool PTIsPulloutType(PolyBlockType type)
@ WRITING_DIRECTION_TOP_TO_BOTTOM
@ WRITING_DIRECTION_LEFT_TO_RIGHT
@ WRITING_DIRECTION_RIGHT_TO_LEFT
constexpr int kMinCredibleResolution
bool PTIsTextType(PolyBlockType type)
bool PSM_WORD_FIND_ENABLED(int pageseg_mode)
bool PSM_BLOCK_FIND_ENABLED(int pageseg_mode)
constexpr int kPointsPerInch