#include <shapetable.h>
Definition at line 129 of file shapetable.h.
◆ UnicharAndFonts() [1/2]
tesseract::UnicharAndFonts::UnicharAndFonts |
( |
| ) |
|
|
inline |
◆ UnicharAndFonts() [2/2]
tesseract::UnicharAndFonts::UnicharAndFonts |
( |
int |
uni_id, |
|
|
int |
font_id |
|
) |
| |
|
inline |
Definition at line 131 of file shapetable.h.
133 }
std::vector< int32_t > font_ids
◆ DeSerialize()
bool tesseract::UnicharAndFonts::DeSerialize |
( |
TFile * |
fp | ) |
|
◆ Serialize()
bool tesseract::UnicharAndFonts::Serialize |
( |
FILE * |
fp | ) |
const |
Definition at line 65 of file shapetable.cpp.
65 {
67}
bool Serialize(FILE *fp, const std::vector< T > &data)
◆ SortByUnicharId()
int tesseract::UnicharAndFonts::SortByUnicharId |
( |
const void * |
v1, |
|
|
const void * |
v2 |
|
) |
| |
|
static |
Definition at line 75 of file shapetable.cpp.
75 {
78 return p1->unichar_id - p2->unichar_id;
79}
◆ StdSortByUnicharId()
Definition at line 81 of file shapetable.cpp.
81 {
82 return v1.unichar_id < v2.unichar_id;
83}
◆ font_ids
std::vector<int32_t> tesseract::UnicharAndFonts::font_ids |
◆ unichar_id
int32_t tesseract::UnicharAndFonts::unichar_id |
The documentation for this struct was generated from the following files:
- /media/home/debian/src/github/tesseract-ocr/tesseract/src/classify/shapetable.h
- /media/home/debian/src/github/tesseract-ocr/tesseract/src/classify/shapetable.cpp