tesseract  v4.0.0-17-g361f3264
Open Source OCR Engine
tesseract::TrainingSampleSet::FontClassInfo Struct Reference
Collaboration diagram for tesseract::TrainingSampleSet::FontClassInfo:

Public Member Functions

 FontClassInfo ()
 
bool Serialize (FILE *fp) const
 
bool DeSerialize (bool swap, FILE *fp)
 

Public Attributes

int32_t num_raw_samples
 
int32_t canonical_sample
 
float canonical_dist
 
GenericVector< int32_t > samples
 
GenericVector< int > canonical_features
 
BitVector cloud_features
 
GenericVector< float > font_distance_cache
 
GenericVector< float > unichar_distance_cache
 
GenericVector< FontClassDistancedistance_cache
 

Constructor & Destructor Documentation

◆ FontClassInfo()

tesseract::TrainingSampleSet::FontClassInfo::FontClassInfo ( )

Member Function Documentation

◆ DeSerialize()

bool tesseract::TrainingSampleSet::FontClassInfo::DeSerialize ( bool  swap,
FILE *  fp 
)

◆ Serialize()

bool tesseract::TrainingSampleSet::FontClassInfo::Serialize ( FILE *  fp) const

Member Data Documentation

◆ canonical_dist

float tesseract::TrainingSampleSet::FontClassInfo::canonical_dist

◆ canonical_features

GenericVector<int> tesseract::TrainingSampleSet::FontClassInfo::canonical_features

◆ canonical_sample

int32_t tesseract::TrainingSampleSet::FontClassInfo::canonical_sample

◆ cloud_features

BitVector tesseract::TrainingSampleSet::FontClassInfo::cloud_features

◆ distance_cache

GenericVector<FontClassDistance> tesseract::TrainingSampleSet::FontClassInfo::distance_cache

◆ font_distance_cache

GenericVector<float> tesseract::TrainingSampleSet::FontClassInfo::font_distance_cache

◆ num_raw_samples

int32_t tesseract::TrainingSampleSet::FontClassInfo::num_raw_samples

◆ samples

GenericVector<int32_t> tesseract::TrainingSampleSet::FontClassInfo::samples

◆ unichar_distance_cache

GenericVector<float> tesseract::TrainingSampleSet::FontClassInfo::unichar_distance_cache

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