tesseract  5.0.0-alpha-619-ge9db
tesseract::ScoredFont Struct Reference

#include <fontinfo.h>

Public Member Functions

 ScoredFont ()
 
 ScoredFont (int font_id, uint16_t classifier_score)
 

Public Attributes

int32_t fontinfo_id
 
uint16_t score
 

Detailed Description

Definition at line 38 of file fontinfo.h.

Constructor & Destructor Documentation

◆ ScoredFont() [1/2]

tesseract::ScoredFont::ScoredFont ( )
inline

Definition at line 39 of file fontinfo.h.

39 : fontinfo_id(-1), score(0) {}

◆ ScoredFont() [2/2]

tesseract::ScoredFont::ScoredFont ( int  font_id,
uint16_t  classifier_score 
)
inline

Definition at line 40 of file fontinfo.h.

41  : fontinfo_id(font_id), score(classifier_score) {}

Member Data Documentation

◆ fontinfo_id

int32_t tesseract::ScoredFont::fontinfo_id

Definition at line 45 of file fontinfo.h.

◆ score

uint16_t tesseract::ScoredFont::score

Definition at line 47 of file fontinfo.h.


The documentation for this struct was generated from the following file:
tesseract::ScoredFont::fontinfo_id
int32_t fontinfo_id
Definition: fontinfo.h:45
tesseract::ScoredFont::score
uint16_t score
Definition: fontinfo.h:47