Tesseract 3.01
|
Modules | |
ThresholderParams | |
fxn for setting truth_* in WERD_RES | |
Functions | |
void | tesseract::TessBaseAPI::AdaptToCharacter (const char *unichar_repr, int length, float baseline, float xheight, float descender, float ascender) |
PAGE_RES * | tesseract::TessBaseAPI::RecognitionPass1 (BLOCK_LIST *block_list) |
PAGE_RES * | tesseract::TessBaseAPI::RecognitionPass2 (BLOCK_LIST *block_list, PAGE_RES *pass1_result) |
static int | tesseract::TessBaseAPI::TesseractExtractResult (char **text, int **lengths, float **costs, int **x0, int **y0, int **x1, int **y1, PAGE_RES *page_res) |
const PAGE_RES * | tesseract::TessBaseAPI::GetPageRes () const |
Variables | |
Tesseract * | tesseract::TessBaseAPI::tesseract_ |
The underlying data object. | |
Tesseract * | tesseract::TessBaseAPI::osd_tesseract_ |
For orientation & script detection. | |
ImageThresholder * | tesseract::TessBaseAPI::thresholder_ |
Image thresholding module. | |
BLOCK_LIST * | tesseract::TessBaseAPI::block_list_ |
The page layout. | |
PAGE_RES * | tesseract::TessBaseAPI::page_res_ |
The page-level data. | |
STRING * | tesseract::TessBaseAPI::input_file_ |
Name used by training code. | |
STRING * | tesseract::TessBaseAPI::output_file_ |
Name used by debug code. | |
STRING * | tesseract::TessBaseAPI::datapath_ |
Current location of tessdata. | |
STRING * | tesseract::TessBaseAPI::language_ |
Last initialized language. | |
OcrEngineMode | tesseract::TessBaseAPI::last_oem_requested_ |
Last ocr language mode requested. | |
bool | tesseract::TessBaseAPI::recognition_done_ |
page_res_ contains recognition data. | |
TruthCallback * | tesseract::TessBaseAPI::truth_cb_ |
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.
const PAGE_RES* tesseract::TessBaseAPI::GetPageRes | ( | ) | const [inline, protected] |
PAGE_RES * tesseract::TessBaseAPI::RecognitionPass1 | ( | BLOCK_LIST * | block_list | ) | [protected] |
Recognize text doing one pass only, using settings for a given pass.
PAGE_RES * tesseract::TessBaseAPI::RecognitionPass2 | ( | BLOCK_LIST * | block_list, |
PAGE_RES * | pass1_result | ||
) | [protected] |
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.
BLOCK_LIST* tesseract::TessBaseAPI::block_list_ [protected] |
The page layout.
STRING* tesseract::TessBaseAPI::datapath_ [protected] |
Current location of tessdata.
STRING* tesseract::TessBaseAPI::input_file_ [protected] |
Name used by training code.
STRING* tesseract::TessBaseAPI::language_ [protected] |
Last initialized language.
OcrEngineMode tesseract::TessBaseAPI::last_oem_requested_ [protected] |
Last ocr language mode requested.
Tesseract* tesseract::TessBaseAPI::osd_tesseract_ [protected] |
For orientation & script detection.
STRING* tesseract::TessBaseAPI::output_file_ [protected] |
Name used by debug code.
PAGE_RES* tesseract::TessBaseAPI::page_res_ [protected] |
The page-level data.
bool tesseract::TessBaseAPI::recognition_done_ [protected] |
page_res_ contains recognition data.
Tesseract* tesseract::TessBaseAPI::tesseract_ [protected] |
The underlying data object.
ImageThresholder* tesseract::TessBaseAPI::thresholder_ [protected] |
Image thresholding module.
TruthCallback* tesseract::TessBaseAPI::truth_cb_ [protected] |