20 #ifndef TESSERACT_CCSTRUCT_PUBLICTYPES_H_ 21 #define TESSERACT_CCSTRUCT_PUBLICTYPES_H_ 286 #endif // TESSERACT_CCSTRUCT_PUBLICTYPES_H_ bool PSM_OSD_ENABLED(int pageseg_mode)
bool PTIsTextType(PolyBlockType type)
const char * kPolyBlockNames[]
constexpr int kMinCredibleResolution
Treat the image as a single character.
Assume a single uniform block of text. (Default.)
Treat the image as a single word.
bool PSM_SPARSE(int pageseg_mode)
bool PSM_BLOCK_FIND_ENABLED(int pageseg_mode)
constexpr int kPointsPerInch
bool PSM_ORIENTATION_ENABLED(int pageseg_mode)
bool PSM_WORD_FIND_ENABLED(int pageseg_mode)
Treat the image as a single word in a circle.
bool PSM_COL_FIND_ENABLED(int pageseg_mode)
Assume a single column of text of variable sizes.
bool PTIsPulloutType(PolyBlockType type)
Treat the image as a single text line.
Automatic page segmentation, but no OSD, or OCR.
Find as much text as possible in no particular order.
constexpr int kMaxCredibleResolution
constexpr int kResolutionEstimationFactor
Sparse text with orientation and script det.
Fully automatic page segmentation, but no OSD.
bool PSM_LINE_FIND_ENABLED(int pageseg_mode)
bool PTIsImageType(PolyBlockType type)
Orientation and script detection only.
bool PTIsLineType(PolyBlockType type)