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

#include <shapetable.h>

Public Member Functions

 ShapeRating ()
 
 ShapeRating (int s, float r)
 

Static Public Member Functions

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

Public Attributes

int shape_id
 
float rating
 
float raw
 
float font
 
bool joined
 
bool broken
 

Constructor & Destructor Documentation

◆ ShapeRating() [1/2]

tesseract::ShapeRating::ShapeRating ( )
inline

◆ ShapeRating() [2/2]

tesseract::ShapeRating::ShapeRating ( int  s,
float  r 
)
inline

Member Function Documentation

◆ FirstResultWithUnichar()

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

◆ SortDescendingRating()

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

Member Data Documentation

◆ broken

bool tesseract::ShapeRating::broken

◆ font

float tesseract::ShapeRating::font

◆ joined

bool tesseract::ShapeRating::joined

◆ rating

float tesseract::ShapeRating::rating

◆ raw

float tesseract::ShapeRating::raw

◆ shape_id

int tesseract::ShapeRating::shape_id

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