#include <errorcounter.h>
|
static double | ComputeErrorRate (ShapeClassifier *classifier, int report_level, CountTypes boosting_mode, const FontInfoTable &fontinfo_table, const GenericVector< Pix *> &page_images, SampleIterator *it, double *unichar_error, double *scaled_error, STRING *fonts_report) |
|
static void | DebugNewErrors (ShapeClassifier *new_classifier, ShapeClassifier *old_classifier, CountTypes boosting_mode, const FontInfoTable &fontinfo_table, const GenericVector< Pix *> &page_images, SampleIterator *it) |
|
|
| ErrorCounter (const UNICHARSET &unicharset, int fontsize) |
|
| ~ErrorCounter ()=default |
|
bool | AccumulateErrors (bool debug, CountTypes boosting_mode, const FontInfoTable &font_table, const GenericVector< UnicharRating > &results, TrainingSample *sample) |
|
bool | AccumulateJunk (bool debug, const GenericVector< UnicharRating > &results, TrainingSample *sample) |
|
double | ReportErrors (int report_level, CountTypes boosting_mode, const FontInfoTable &fontinfo_table, const SampleIterator &it, double *unichar_error, STRING *fonts_report) |
|
◆ ErrorCounter()
tesseract::ErrorCounter::ErrorCounter |
( |
const UNICHARSET & |
unicharset, |
|
|
int |
fontsize |
|
) |
| |
|
private |
◆ ~ErrorCounter()
tesseract::ErrorCounter::~ErrorCounter |
( |
| ) |
|
|
privatedefault |
◆ AccumulateErrors()
◆ AccumulateJunk()
◆ ComputeErrorRate()
◆ ComputeRates()
bool tesseract::ErrorCounter::ComputeRates |
( |
const Counts & |
counts, |
|
|
double |
rates[CT_SIZE] |
|
) |
| |
|
staticprivate |
◆ DebugNewErrors()
◆ ReportErrors()
◆ ReportString()
bool tesseract::ErrorCounter::ReportString |
( |
bool |
even_if_empty, |
|
|
const Counts & |
counts, |
|
|
STRING * |
report |
|
) |
| |
|
staticprivate |
◆ bad_score_hist_
STATS tesseract::ErrorCounter::bad_score_hist_ |
|
private |
◆ font_counts_
◆ multi_unichar_counts_
GenericVector<int> tesseract::ErrorCounter::multi_unichar_counts_ |
|
private |
◆ ok_score_hist_
STATS tesseract::ErrorCounter::ok_score_hist_ |
|
private |
◆ rating_epsilon_
double tesseract::ErrorCounter::rating_epsilon_ |
|
private |
◆ scaled_error_
double tesseract::ErrorCounter::scaled_error_ |
|
private |
◆ unichar_counts_
◆ unicharset_
const UNICHARSET& tesseract::ErrorCounter::unicharset_ |
|
private |
The documentation for this class was generated from the following files:
- /home/stephane/src/tesseract/src/classify/errorcounter.h
- /home/stephane/src/tesseract/src/classify/errorcounter.cpp