Tesseract
3.02
|
Public Member Functions | |
DocQualCallbacks (WERD_RES *word0) | |
void | CountMatchingBlobs (int index) |
void | CountAcceptedBlobs (int index) |
void | AcceptIfGoodQuality (int index) |
Public Attributes | |
WERD_RES * | word |
inT16 | match_count |
inT16 | accepted_match_count |
Definition at line 38 of file docqual.cpp.
tesseract::DocQualCallbacks::DocQualCallbacks | ( | WERD_RES * | word0 | ) | [inline, explicit] |
Definition at line 39 of file docqual.cpp.
: word(word0), match_count(0), accepted_match_count(0) {}
void tesseract::DocQualCallbacks::AcceptIfGoodQuality | ( | int | index | ) | [inline] |
Definition at line 52 of file docqual.cpp.
{ if (word->reject_map[index].accept_if_good_quality()) word->reject_map[index].setrej_quality_accept(); }
void tesseract::DocQualCallbacks::CountAcceptedBlobs | ( | int | index | ) | [inline] |
Definition at line 46 of file docqual.cpp.
{ if (word->reject_map[index].accepted()) ++accepted_match_count; ++match_count; }
void tesseract::DocQualCallbacks::CountMatchingBlobs | ( | int | index | ) | [inline] |
Definition at line 42 of file docqual.cpp.
{ ++match_count; }
Definition at line 59 of file docqual.cpp.
Definition at line 58 of file docqual.cpp.
Definition at line 57 of file docqual.cpp.