Tesseract
3.02
|
Public Member Functions | |
void | Initialize () |
Public Attributes | |
inT32 | BlobLength |
int | NumMatches |
bool | HasNonfragment |
ScoredClass | match [MAX_NUM_CLASSES] |
ScoredClass | best_match |
CLASS_PRUNER_RESULTS | CPResults |
Definition at line 91 of file adaptmatch.cpp.
void ADAPT_RESULTS::Initialize | ( | ) | [inline] |
Initializes data members to the default values. Sets the initial rating of each class to be the worst possible rating (1.0).
Definition at line 101 of file adaptmatch.cpp.
{ BlobLength = MAX_INT32; NumMatches = 0; HasNonfragment = false; best_match.unichar_id = NO_CLASS; best_match.shape_id = -1; best_match.rating = WORST_POSSIBLE_RATING; best_match.adapted = false; best_match.config = 0; best_match.fontinfo_id = kBlankFontinfoId; best_match.fontinfo_id2 = kBlankFontinfoId; }
Definition at line 96 of file adaptmatch.cpp.
Definition at line 92 of file adaptmatch.cpp.
Definition at line 97 of file adaptmatch.cpp.
Definition at line 94 of file adaptmatch.cpp.
ScoredClass ADAPT_RESULTS::match[MAX_NUM_CLASSES] |
Definition at line 95 of file adaptmatch.cpp.
Definition at line 93 of file adaptmatch.cpp.