tesseract  3.03
tesseract::DocQualCallbacks Struct Reference

List of all members.

Public Member Functions

 DocQualCallbacks (WERD_RES *word0)
void CountMatchingBlobs (int index)
void CountAcceptedBlobs (int index)
void AcceptIfGoodQuality (int index)

Public Attributes

WERD_RESword
inT16 match_count
inT16 accepted_match_count

Detailed Description

Definition at line 36 of file docqual.cpp.


Constructor & Destructor Documentation

Definition at line 37 of file docqual.cpp.

    : word(word0), match_count(0), accepted_match_count(0) {}

Member Function Documentation

Definition at line 50 of file docqual.cpp.

                                      {
    if (word->reject_map[index].accept_if_good_quality())
      word->reject_map[index].setrej_quality_accept();
  }

Definition at line 44 of file docqual.cpp.

                                     {
    if (word->reject_map[index].accepted())
      ++accepted_match_count;
    ++match_count;
  }

Definition at line 40 of file docqual.cpp.

                                     {
    ++match_count;
  }

Member Data Documentation


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines