#include <osdetect.h>
Definition at line 50 of file osdetect.h.
◆ OSResults()
Definition at line 51 of file osdetect.h.
52 for (
int i = 0; i < 4; ++i) {
◆ accumulate()
void OSResults::accumulate |
( |
const OSResults & |
osr | ) |
|
Definition at line 144 of file osdetect.cpp.
145 for (
int i = 0; i < 4; ++i) {
◆ get_best_script()
int OSResults::get_best_script |
( |
int |
orientation_id | ) |
const |
Definition at line 112 of file osdetect.cpp.
116 if (strcmp(script,
"Common") && strcmp(script,
"NULL")) {
◆ print_scores() [1/2]
void OSResults::print_scores |
( |
int |
orientation_id | ) |
const |
◆ print_scores() [2/2]
void OSResults::print_scores |
( |
void |
| ) |
const |
Definition at line 126 of file osdetect.cpp.
127 for (
int i = 0; i < 4; ++i) {
128 tprintf(
"Orientation id #%d", i);
◆ set_best_orientation()
void OSResults::set_best_orientation |
( |
int |
orientation_id | ) |
|
◆ update_best_orientation()
void OSResults::update_best_orientation |
( |
| ) |
|
Definition at line 62 of file osdetect.cpp.
71 for (
int i = 2; i < 4; ++i) {
◆ update_best_script()
void OSResults::update_best_script |
( |
int |
orientation_id | ) |
|
◆ best_result
◆ orientations
float OSResults::orientations[4] |
◆ scripts_na
◆ unicharset
The documentation for this struct was generated from the following files: