tesseract
5.0.0-alpha-619-ge9db
|
Go to the documentation of this file.
50 return results->
size();
71 int shape_id = unichar_id;
75 if (shape_id < 0)
return index;
77 tprintf(
"No built-in templates for class/shape %d\n", shape_id);
const ShapeTable * shape_table() const
const UNICHARSET & GetUnicharset() const override
const ShapeTable * GetShapeTable() const override
int UnicharClassifySample(const TrainingSample &sample, Pix *page_pix, int debug, UNICHAR_ID keep_this, GenericVector< UnicharRating > *results) override
int CharNormTrainingSample(bool pruner_only, int keep_this, const TrainingSample &sample, GenericVector< UnicharRating > *results)
int DisplayClassifyAs(const TrainingSample &sample, Pix *page_pix, int unichar_id, int index, PointerVector< ScrollView > *windows) override
DLLSYM void tprintf(const char *format,...)
INT_TEMPLATES PreTrainedTemplates
void ShowBestMatchFor(int shape_id, const INT_FEATURE_STRUCT *features, int num_features)
#define UnusedClassIdIn(T, c)