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