tesseract  4.00.00dev
tesseract::CCStruct Class Reference

#include <ccstruct.h>

Inheritance diagram for tesseract::CCStruct:
tesseract::CUtil tesseract::CCUtil tesseract::Classify tesseract::Wordrec tesseract::Tesseract

Public Member Functions

 CCStruct ()
 
 ~CCStruct ()
 
- Public Member Functions inherited from tesseract::CUtil
 CUtil ()
 
 ~CUtil ()
 
void read_variables (const char *filename, bool global_only)
 
- Public Member Functions inherited from tesseract::CCUtil
 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 ()
 

Static Public Attributes

static const double kDescenderFraction = 0.25
 
static const double kXHeightFraction = 0.5
 
static const double kAscenderFraction = 0.25
 
static const double kXHeightCapRatio
 

Additional Inherited Members

- Public Attributes inherited from tesseract::CCUtil
STRING datadir
 
STRING imagebasename
 
STRING lang
 
STRING language_data_path_prefix
 
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
 

Detailed Description

Definition at line 25 of file ccstruct.h.

Constructor & Destructor Documentation

◆ CCStruct()

tesseract::CCStruct::CCStruct ( )

Definition at line 31 of file ccstruct.cpp.

31 {}

◆ ~CCStruct()

tesseract::CCStruct::~CCStruct ( )

Definition at line 33 of file ccstruct.cpp.

33  {
34 }

Member Data Documentation

◆ kAscenderFraction

const double tesseract::CCStruct::kAscenderFraction = 0.25
static

Definition at line 35 of file ccstruct.h.

◆ kDescenderFraction

const double tesseract::CCStruct::kDescenderFraction = 0.25
static

Definition at line 33 of file ccstruct.h.

◆ kXHeightCapRatio

const double tesseract::CCStruct::kXHeightCapRatio
static

◆ kXHeightFraction

const double tesseract::CCStruct::kXHeightFraction = 0.5
static

Definition at line 34 of file ccstruct.h.


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