ocropus add-ons

Functions

TESS_LOCAL void tesseract::TessBaseAPI::AdaptToCharacter (const char *unichar_repr, int length, float baseline, float xheight, float descender, float ascender)
TESS_LOCAL void tesseract::TessBaseAPI::DetectParagraphs (int debug_level)
TESS_LOCAL const PAGE_RES * tesseract::TessBaseAPI::GetPageRes () const
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)
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)

Detailed Description


Function Documentation

TESS_LOCAL void tesseract::TessBaseAPI::AdaptToCharacter ( const char *  unichar_repr,
int  length,
float  baseline,
float  xheight,
float  descender,
float  ascender 
) [protected, inherited]

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 ( int  debug_level  )  [protected, inherited]

After text is recognized, break each paragraph into blocks.

TESS_LOCAL const PAGE_RES* tesseract::TessBaseAPI::GetPageRes (  )  const [inline, protected, inherited]

Definition at line 751 of file baseapi.h.

TESS_LOCAL PAGE_RES* tesseract::TessBaseAPI::RecognitionPass1 ( BLOCK_LIST *  block_list  )  [protected, inherited]

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, inherited]
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, inherited]

Extract the OCR results, costs (penalty points for uncertainty), and the bounding boxes of the characters.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


cob_tesseract
Author(s): Richard Bormann
autogenerated on Fri Jan 11 12:14:45 2013