|
tesseract v5.3.3.20231005
|
#include <ratngs.h>
Public Member Functions | |
| BLOB_CHOICE () | |
| BLOB_CHOICE (UNICHAR_ID src_unichar_id, float src_rating, float src_cert, int script_id, float min_xheight, float max_xheight, float yshift, BlobChoiceClassifier c) | |
| BLOB_CHOICE (const BLOB_CHOICE &other) | |
| ~BLOB_CHOICE ()=default | |
| UNICHAR_ID | unichar_id () const |
| float | rating () const |
| float | certainty () const |
| int16_t | fontinfo_id () const |
| int16_t | fontinfo_id2 () const |
| const std::vector< ScoredFont > & | fonts () const |
| void | set_fonts (const std::vector< ScoredFont > &fonts) |
| int | script_id () const |
| const MATRIX_COORD & | matrix_cell () |
| float | min_xheight () const |
| float | max_xheight () const |
| float | yshift () const |
| BlobChoiceClassifier | classifier () const |
| bool | IsAdapted () const |
| bool | IsClassified () const |
| void | set_unichar_id (UNICHAR_ID newunichar_id) |
| void | set_rating (float newrat) |
| void | set_certainty (float newrat) |
| void | set_script (int newscript_id) |
| void | set_matrix_cell (int col, int row) |
| void | set_classifier (BlobChoiceClassifier classifier) |
| bool | PosAndSizeAgree (const BLOB_CHOICE &other, float x_height, bool debug) const |
| void | print (const UNICHARSET *unicharset) const |
| void | print_full () const |
Public Member Functions inherited from tesseract::ELIST_LINK | |
| ELIST_LINK () | |
| ELIST_LINK (const ELIST_LINK &) | |
| void | operator= (const ELIST_LINK &) |
Static Public Member Functions | |
| static BLOB_CHOICE * | deep_copy (const BLOB_CHOICE *src) |
| static int | SortByRating (const void *p1, const void *p2) |
|
inline |
Definition at line 58 of file ratngs.h.
| tesseract::BLOB_CHOICE::BLOB_CHOICE | ( | UNICHAR_ID | src_unichar_id, |
| float | src_rating, | ||
| float | src_cert, | ||
| int | src_script_id, | ||
| float | min_xheight, | ||
| float | max_xheight, | ||
| float | yshift, | ||
| BlobChoiceClassifier | c | ||
| ) |
Constructor to build a BLOB_CHOICE from a char, rating and certainty.
Definition at line 88 of file ratngs.cpp.
| tesseract::BLOB_CHOICE::BLOB_CHOICE | ( | const BLOB_CHOICE & | other | ) |
Constructor to build a BLOB_CHOICE from another BLOB_CHOICE.
Definition at line 113 of file ratngs.cpp.
|
default |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| bool tesseract::BLOB_CHOICE::PosAndSizeAgree | ( | const BLOB_CHOICE & | other, |
| float | x_height, | ||
| bool | debug | ||
| ) | const |
Definition at line 152 of file ratngs.cpp.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 100 of file ratngs.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |