tesseract v5.3.3.20231005
|
#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 47 of file osdetect.h.
|
inline |
Definition at line 48 of file osdetect.h.
void tesseract::OSResults::accumulate | ( | const OSResults & | osr | ) |
Definition at line 145 of file osdetect.cpp.
int tesseract::OSResults::get_best_script | ( | int | orientation_id | ) | const |
Definition at line 113 of file osdetect.cpp.
void tesseract::OSResults::print_scores | ( | int | orientation_id | ) | const |
Definition at line 135 of file osdetect.cpp.
void tesseract::OSResults::print_scores | ( | void | ) | const |
Definition at line 127 of file osdetect.cpp.
void tesseract::OSResults::set_best_orientation | ( | int | orientation_id | ) |
Definition at line 85 of file osdetect.cpp.
void tesseract::OSResults::update_best_orientation | ( | ) |
Definition at line 63 of file osdetect.cpp.
void tesseract::OSResults::update_best_script | ( | int | orientation_id | ) |
Definition at line 90 of file osdetect.cpp.
OSBestResult tesseract::OSResults::best_result |
Definition at line 80 of file osdetect.h.
float tesseract::OSResults::orientations[4] |
Definition at line 75 of file osdetect.h.
float tesseract::OSResults::scripts_na[4][kMaxNumberOfScripts] |
Definition at line 77 of file osdetect.h.
UNICHARSET* tesseract::OSResults::unicharset |
Definition at line 79 of file osdetect.h.