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