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