tesseract
3.03
|
Functions | |
TESS_LOCAL void | tesseract::TessBaseAPI::AdaptToCharacter (const char *unichar_repr, int length, float baseline, float xheight, float descender, float ascender) |
TESS_LOCAL PAGE_RES * | tesseract::TessBaseAPI::RecognitionPass1 (BLOCK_LIST *block_list) |
TESS_LOCAL PAGE_RES * | tesseract::TessBaseAPI::RecognitionPass2 (BLOCK_LIST *block_list, PAGE_RES *pass1_result) |
TESS_LOCAL void | tesseract::TessBaseAPI::DetectParagraphs (bool after_text_recognition) |
static TESS_LOCAL int | tesseract::TessBaseAPI::TesseractExtractResult (char **text, int **lengths, float **costs, int **x0, int **y0, int **x1, int **y1, PAGE_RES *page_res) |
TESS_LOCAL const PAGE_RES * | tesseract::TessBaseAPI::GetPageRes () const |
TESS_LOCAL void tesseract::TessBaseAPI::AdaptToCharacter | ( | const char * | unichar_repr, |
int | length, | ||
float | baseline, | ||
float | xheight, | ||
float | descender, | ||
float | ascender | ||
) | [protected] |
Adapt to recognize the current image as the given character. The image must be preloaded and be just an image of a single character.
TESS_LOCAL void tesseract::TessBaseAPI::DetectParagraphs | ( | bool | after_text_recognition | ) | [protected] |
TESS_LOCAL const PAGE_RES* tesseract::TessBaseAPI::GetPageRes | ( | ) | const [inline, protected] |
TESS_LOCAL PAGE_RES* tesseract::TessBaseAPI::RecognitionPass1 | ( | BLOCK_LIST * | block_list | ) | [protected] |
Recognize text doing one pass only, using settings for a given pass.
TESS_LOCAL PAGE_RES* tesseract::TessBaseAPI::RecognitionPass2 | ( | BLOCK_LIST * | block_list, |
PAGE_RES * | pass1_result | ||
) | [protected] |
static TESS_LOCAL int tesseract::TessBaseAPI::TesseractExtractResult | ( | char ** | text, |
int ** | lengths, | ||
float ** | costs, | ||
int ** | x0, | ||
int ** | y0, | ||
int ** | x1, | ||
int ** | y1, | ||
PAGE_RES * | page_res | ||
) | [static, protected] |
Extract the OCR results, costs (penalty points for uncertainty), and the bounding boxes of the characters.