#include <ccutil.h>
Public Member Functions | |
CCUtil () | |
virtual | ~CCUtil () |
void | main_setup (const char *argv0, const char *basename) |
CCUtil::main_setup - set location of tessdata and name of image. More... | |
ParamsVectors * | params () |
Public Attributes | |
STRING | datadir |
STRING | imagebasename |
STRING | lang |
STRING | language_data_path_prefix |
TessdataManager | tessdata_manager |
UNICHARSET | unicharset |
UnicharAmbigs | unichar_ambigs |
STRING | imagefile |
STRING | directory |
char * | m_data_sub_dir = "tessdata/" |
int | ambigs_debug_level = 0 |
bool | use_definite_ambigs_for_classifier = 0 |
bool | use_ambigs_for_adaption = 0 |
tesseract::CCUtil::CCUtil | ( | ) |
Definition at line 7 of file ccutil.cpp.
|
virtual |
Definition at line 23 of file ccutil.cpp.
void tesseract::CCUtil::main_setup | ( | const char * | argv0, |
const char * | basename | ||
) |
CCUtil::main_setup - set location of tessdata and name of image.
argv0 | - paths to the directory with language files and config files. An actual value of argv0 is used if not NULL, otherwise TESSDATA_PREFIX is used if not NULL, next try to use compiled in -DTESSDATA_PREFIX. If previous is not sucessul - use current directory. |
basename | - name of image |
< name of image
< data directory
Definition at line 53 of file mainblk.cpp.
|
inline |
int tesseract::CCUtil::ambigs_debug_level = 0 |
char* tesseract::CCUtil::m_data_sub_dir = "tessdata/" |
TessdataManager tesseract::CCUtil::tessdata_manager |
UnicharAmbigs tesseract::CCUtil::unichar_ambigs |
UNICHARSET tesseract::CCUtil::unicharset |
bool tesseract::CCUtil::use_ambigs_for_adaption = 0 |
bool tesseract::CCUtil::use_definite_ambigs_for_classifier = 0 |