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