tesseract  4.00.00dev
tesseract::ScoredFont Struct Reference

#include <fontinfo.h>

Public Member Functions

 ScoredFont ()
 
 ScoredFont (int font_id, uinT16 classifier_score)
 

Public Attributes

inT32 fontinfo_id
 
uinT16 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  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 tesseract::ScoredFont::fontinfo_id

Definition at line 45 of file fontinfo.h.

◆ score

uinT16 tesseract::ScoredFont::score

Definition at line 47 of file fontinfo.h.


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