Tesseract 3.01
|
Defines | |
#define | NUM_FX 3 |
#define | DEFAULT_FX 2 |
#define | DUMMY_ERROR 1 |
Typedefs | |
typedef CHAR_FEATURES(* | CF_FUNC )() |
Functions | |
void | ExtractorStub () |
CHAR_DESC | ExtractBlobFeatures (const FEATURE_DEFS_STRUCT &FeatureDefs, const DENORM &denorm, TBLOB *Blob) |
Variables | |
int | CurrentFx = DEFAULT_FX |
#define DEFAULT_FX 2 |
#define DUMMY_ERROR 1 |
#define NUM_FX 3 |
tables to keep track of the different low level feature extractors
typedef CHAR_FEATURES(* CF_FUNC)() |
CHAR_DESC ExtractBlobFeatures | ( | const FEATURE_DEFS_STRUCT & | FeatureDefs, |
const DENORM & | denorm, | ||
TBLOB * | Blob | ||
) |
Extract features from Blob by calling the feature extractor which is currently being used. This routine simply provides a high level interface to feature extraction. The caller can extract any type of features from a blob without understanding any lower level details.
FeatureDefs | definitions of feature types/extractors |
denorm | Normalize/denormalize to access original image |
Blob | blob to extract features from |
void ExtractorStub | ( | ) |
This routine is used to stub out feature extractors that are no longer used. It simply calls DoError.
int CurrentFx = DEFAULT_FX |