tesseract
5.0.0-alpha-619-ge9db
|
Go to the documentation of this file.
23 #ifndef TESSERACT_CLASSIFY_SHAPECLASSIFIER_H_
24 #define TESSERACT_CLASSIFY_SHAPECLASSIFIER_H_
35 template <
typename T>
class PointerVector;
39 class TrainingSampleSet;
124 #endif // TESSERACT_CLASSIFY_SHAPECLASSIFIER_H_
virtual void DebugDisplay(const TrainingSample &sample, Pix *page_pix, UNICHAR_ID unichar_id)
virtual void UnicharPrintResults(const char *context, const GenericVector< UnicharRating > &results) const
virtual const ShapeTable * GetShapeTable() const =0
virtual int UnicharClassifySample(const TrainingSample &sample, Pix *page_pix, int debug, UNICHAR_ID keep_this, GenericVector< UnicharRating > *results)
virtual int DisplayClassifyAs(const TrainingSample &sample, Pix *page_pix, UNICHAR_ID unichar_id, int index, PointerVector< ScrollView > *windows)
virtual int BestShapeForUnichar(const TrainingSample &sample, Pix *page_pix, UNICHAR_ID unichar_id, ShapeRating *result)
void FilterDuplicateUnichars(GenericVector< ShapeRating > *results) const
virtual void PrintResults(const char *context, const GenericVector< ShapeRating > &results) const
virtual int ClassifySample(const TrainingSample &sample, Pix *page_pix, int debug, UNICHAR_ID keep_this, GenericVector< ShapeRating > *results)
virtual ~ShapeClassifier()=default
virtual const UNICHARSET & GetUnicharset() const