tesseract
3.05.02
|
#include <cubeclassifier.h>
Public Member Functions | |
CubeClassifier (Tesseract *tesseract) | |
virtual | ~CubeClassifier () |
virtual int | UnicharClassifySample (const TrainingSample &sample, Pix *page_pix, int debug, UNICHAR_ID keep_this, GenericVector< UnicharRating > *results) |
virtual const ShapeTable * | GetShapeTable () const |
Public Member Functions inherited from tesseract::ShapeClassifier | |
virtual | ~ShapeClassifier () |
virtual int | BestShapeForUnichar (const TrainingSample &sample, Pix *page_pix, UNICHAR_ID unichar_id, ShapeRating *result) |
virtual const UNICHARSET & | GetUnicharset () const |
virtual void | DebugDisplay (const TrainingSample &sample, Pix *page_pix, UNICHAR_ID unichar_id) |
virtual int | DisplayClassifyAs (const TrainingSample &sample, Pix *page_pix, UNICHAR_ID unichar_id, int index, PointerVector< ScrollView > *windows) |
virtual void | UnicharPrintResults (const char *context, const GenericVector< UnicharRating > &results) const |
virtual void | PrintResults (const char *context, const GenericVector< ShapeRating > &results) const |
Additional Inherited Members | |
Protected Member Functions inherited from tesseract::ShapeClassifier | |
virtual int | ClassifySample (const TrainingSample &sample, Pix *page_pix, int debug, UNICHAR_ID keep_this, GenericVector< ShapeRating > *results) |
void | FilterDuplicateUnichars (GenericVector< ShapeRating > *results) const |
Definition at line 39 of file cubeclassifier.h.
|
explicit |
Definition at line 35 of file cubeclassifier.cpp.
|
virtual |
Definition at line 39 of file cubeclassifier.cpp.
|
virtual |
Provides access to the ShapeTable that this classifier works with.
Implements tesseract::ShapeClassifier.
Definition at line 74 of file cubeclassifier.cpp.
|
virtual |
Classifies the given [training] sample, writing to results. See ShapeClassifier for a full description.
Reimplemented from tesseract::ShapeClassifier.
Definition at line 44 of file cubeclassifier.cpp.