tesseract
4.0.0-1-g2a2b
|
#include <osdetect.h>
Public Member Functions | |
OSResults () | |
void | update_best_orientation () |
void | set_best_orientation (int orientation_id) |
void | update_best_script (int orientation_id) |
TESS_API int | get_best_script (int orientation_id) const |
void | accumulate (const OSResults &osr) |
void | print_scores (void) const |
void | print_scores (int orientation_id) const |
Public Attributes | |
float | orientations [4] |
float | scripts_na [4][kMaxNumberOfScripts] |
UNICHARSET * | unicharset |
OSBestResult | best_result |
Definition at line 49 of file osdetect.h.
|
inline |
Definition at line 50 of file osdetect.h.
void OSResults::accumulate | ( | const OSResults & | osr | ) |
Definition at line 144 of file osdetect.cpp.
int OSResults::get_best_script | ( | int | orientation_id | ) | const |
Definition at line 112 of file osdetect.cpp.
void OSResults::print_scores | ( | void | ) | const |
Definition at line 126 of file osdetect.cpp.
void OSResults::print_scores | ( | int | orientation_id | ) | const |
Definition at line 134 of file osdetect.cpp.
void OSResults::set_best_orientation | ( | int | orientation_id | ) |
Definition at line 84 of file osdetect.cpp.
void OSResults::update_best_orientation | ( | ) |
Definition at line 62 of file osdetect.cpp.
void OSResults::update_best_script | ( | int | orientation_id | ) |
Definition at line 89 of file osdetect.cpp.
OSBestResult OSResults::best_result |
Definition at line 81 of file osdetect.h.
float OSResults::orientations[4] |
Definition at line 76 of file osdetect.h.
float OSResults::scripts_na[4][kMaxNumberOfScripts] |
Definition at line 78 of file osdetect.h.
UNICHARSET* OSResults::unicharset |
Definition at line 80 of file osdetect.h.