| 
    tesseract
    5.0.0-alpha-619-ge9db
    
   | 
 
 
 
 
Go to the documentation of this file.
   17 #ifndef TESSERACT_CLASSIFY_SAMPLEITERATOR_H_ 
   18 #define TESSERACT_CLASSIFY_SAMPLEITERATOR_H_ 
   26 class TrainingSampleSet;
 
   27 struct UnicharAndFonts;
 
  138     return *charset_map_;
 
  182   int shape_char_index_;
 
  183   int num_shape_chars_;
 
  185   int shape_font_index_;
 
  186   int num_shape_fonts_;
 
  195 #endif  // TESSERACT_CLASSIFY_SAMPLEITERATOR_H_ 
  
 
int GlobalSampleIndex() const
 
int GetCompactClassID() const
 
double NormalizeSamples()
 
const ShapeTable * shape_table() const
 
void Init(const IndexMapBiDi *charset_map, const ShapeTable *shape_table, bool randomize, TrainingSampleSet *sample_set)
 
const TrainingSampleSet * sample_set() const
 
const TrainingSample & GetSample() const
 
void MapSampleFeatures(const IntFeatureMap &feature_map)
 
int GetSparseClassID() const
 
TrainingSample * MutableSample() const
 
int SparseCharsetSize() const
 
const IndexMapBiDi & charset_map() const
 
int CompactCharsetSize() const