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

#include <shapetable.h>

Collaboration diagram for tesseract::UnicharRating:

Public Member Functions

 UnicharRating ()
 
 UnicharRating (int u, float r)
 
void Print () const
 

Static Public Member Functions

static int SortDescendingRating (const void *t1, const void *t2)
 
static int FirstResultWithUnichar (const GenericVector< UnicharRating > &results, UNICHAR_ID unichar_id)
 

Public Attributes

UNICHAR_ID unichar_id
 
float rating
 
bool adapted
 
uint8_t config
 
uint16_t feature_misses
 
GenericVector< ScoredFontfonts
 

Constructor & Destructor Documentation

◆ UnicharRating() [1/2]

tesseract::UnicharRating::UnicharRating ( )
inline

◆ UnicharRating() [2/2]

tesseract::UnicharRating::UnicharRating ( int  u,
float  r 
)
inline

Member Function Documentation

◆ FirstResultWithUnichar()

int tesseract::UnicharRating::FirstResultWithUnichar ( const GenericVector< UnicharRating > &  results,
UNICHAR_ID  unichar_id 
)
static

◆ Print()

void tesseract::UnicharRating::Print ( ) const
inline

◆ SortDescendingRating()

static int tesseract::UnicharRating::SortDescendingRating ( const void *  t1,
const void *  t2 
)
inlinestatic

Member Data Documentation

◆ adapted

bool tesseract::UnicharRating::adapted

◆ config

uint8_t tesseract::UnicharRating::config

◆ feature_misses

uint16_t tesseract::UnicharRating::feature_misses

◆ fonts

GenericVector<ScoredFont> tesseract::UnicharRating::fonts

◆ rating

float tesseract::UnicharRating::rating

◆ unichar_id

UNICHAR_ID tesseract::UnicharRating::unichar_id

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