|
tesseract
3.03
|
Go to the source code of this file.
Functions | |
| CHAR_DESC | ExtractBlobFeatures (const FEATURE_DEFS_STRUCT &FeatureDefs, const DENORM &bl_denorm, const DENORM &cn_denorm, const INT_FX_RESULT_STRUCT &fx_info, TBLOB *Blob) |
| void | ExtractorStub () |
| CHAR_DESC ExtractBlobFeatures | ( | const FEATURE_DEFS_STRUCT & | FeatureDefs, |
| const DENORM & | bl_denorm, | ||
| const DENORM & | cn_denorm, | ||
| const INT_FX_RESULT_STRUCT & | fx_info, | ||
| 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 |
Definition at line 51 of file extract.cpp.
{
return ExtractFlexFeatures(FeatureDefs, Blob, bl_denorm, cn_denorm, fx_info);
} /* ExtractBlobFeatures */
| void ExtractorStub | ( | ) |
This routine is used to stub out feature extractors that are no longer used. It simply calls DoError.
Definition at line 63 of file extract.cpp.
{
DoError (DUMMY_ERROR, "Selected feature extractor has been stubbed out!");
} /* ExtractorStub */