tesseract
5.0.0-alpha-619-ge9db
|
Go to the documentation of this file.
33 #define FEAT_NAME_SIZE 80
81 #define StartParamDesc(Name) const PARAM_DESC Name[] = {
82 #define DefineParam(Circular, NonEssential, Min, Max) \
88 (((Max) - (Min)) / 2.0), \
89 (((Max) + (Min)) / 2.0)},
91 #define EndParamDesc };
99 #define DefineFeature(Name, NL, NC, SN, PN) \
100 const FEATURE_DESC_STRUCT Name = {((NL) + (NC)), SN, PN};
void WriteFeatureSet(FEATURE_SET FeatureSet, STRING *str)
bool AddFeature(FEATURE_SET FeatureSet, FEATURE Feature)
FEATURE_SET NewFeatureSet(int NumFeatures)
void FreeFeature(FEATURE Feature)
FEATURE NewFeature(const FEATURE_DESC_STRUCT *FeatureDesc)
const FEATURE_DESC_STRUCT * Type
const PARAM_DESC * ParamDesc
void FreeFeatureSet(FEATURE_SET FeatureSet)
FEATURE_SET ReadFeatureSet(FILE *File, const FEATURE_DESC_STRUCT *FeatureDesc)