tesseract  v4.0.0-17-g361f3264
Open Source OCR Engine
OSResults Struct Reference

#include <osdetect.h>

Collaboration diagram for OSResults:

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]
 
UNICHARSETunicharset
 
OSBestResult best_result
 

Constructor & Destructor Documentation

◆ OSResults()

OSResults::OSResults ( )
inline

Member Function Documentation

◆ accumulate()

void OSResults::accumulate ( const OSResults osr)

◆ get_best_script()

int OSResults::get_best_script ( int  orientation_id) const

◆ print_scores() [1/2]

void OSResults::print_scores ( void  ) const

◆ print_scores() [2/2]

void OSResults::print_scores ( int  orientation_id) const

◆ set_best_orientation()

void OSResults::set_best_orientation ( int  orientation_id)

◆ update_best_orientation()

void OSResults::update_best_orientation ( )

◆ update_best_script()

void OSResults::update_best_script ( int  orientation_id)

Member Data Documentation

◆ best_result

OSBestResult OSResults::best_result

◆ orientations

float OSResults::orientations[4]

◆ scripts_na

float OSResults::scripts_na[4][kMaxNumberOfScripts]

◆ unicharset

UNICHARSET* OSResults::unicharset

The documentation for this struct was generated from the following files: