tesseract  v4.0.0-17-g361f3264
Open Source OCR Engine
tesseract::CCUtil Class Reference

#include <ccutil.h>

Inheritance diagram for tesseract::CCUtil:
Collaboration diagram for tesseract::CCUtil:

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...
 
ParamsVectorsparams ()
 

Public Attributes

STRING datadir
 
STRING imagebasename
 
STRING lang
 
STRING language_data_path_prefix
 
UNICHARSET unicharset
 
UnicharAmbigs unichar_ambigs
 
STRING imagefile
 
STRING directory
 
tesseract::IntParam ambigs_debug_level
 
tesseract::BoolParam use_definite_ambigs_for_classifier
 
tesseract::BoolParam use_ambigs_for_adaption
 

Private Attributes

ParamsVectors params_
 

Constructor & Destructor Documentation

◆ CCUtil()

tesseract::CCUtil::CCUtil ( )

◆ ~CCUtil()

tesseract::CCUtil::~CCUtil ( )
virtualdefault

Member Function Documentation

◆ main_setup()

void tesseract::CCUtil::main_setup ( const char *  argv0,
const char *  basename 
)

CCUtil::main_setup - set location of tessdata and name of image.

Parameters
argv0- paths to the directory with language files and config files. An actual value of argv0 is used if not nullptr, otherwise TESSDATA_PREFIX is used if not nullptr, next try to use compiled in -DTESSDATA_PREFIX. If previous is not successful - use current directory.
basename- name of image

< name of image

◆ params()

ParamsVectors* tesseract::CCUtil::params ( )
inline

Member Data Documentation

◆ ambigs_debug_level

tesseract::IntParam tesseract::CCUtil::ambigs_debug_level

◆ datadir

STRING tesseract::CCUtil::datadir

◆ directory

STRING tesseract::CCUtil::directory

◆ imagebasename

STRING tesseract::CCUtil::imagebasename

◆ imagefile

STRING tesseract::CCUtil::imagefile

◆ lang

STRING tesseract::CCUtil::lang

◆ language_data_path_prefix

STRING tesseract::CCUtil::language_data_path_prefix

◆ params_

ParamsVectors tesseract::CCUtil::params_
private

◆ unichar_ambigs

UnicharAmbigs tesseract::CCUtil::unichar_ambigs

◆ unicharset

UNICHARSET tesseract::CCUtil::unicharset

◆ use_ambigs_for_adaption

tesseract::BoolParam tesseract::CCUtil::use_ambigs_for_adaption

◆ use_definite_ambigs_for_classifier

tesseract::BoolParam tesseract::CCUtil::use_definite_ambigs_for_classifier

The documentation for this class was generated from the following files: