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