00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef ADAPTMATCH_H
00019 #define ADAPTMATCH_H
00020
00024 #include "oldlist.h"
00025 #include "tessclas.h"
00026 #include "fxdefs.h"
00027 #include "matchdefs.h"
00028 #include "adaptive.h"
00029 #include "ocrfeatures.h"
00030 #include "ratngs.h"
00031
00032
00033
00034
00035 extern double_VAR_H(matcher_good_threshold, 0.125, "Good Match (0-1)");
00036 extern double_VAR_H(matcher_great_threshold, 0.0, "Great Match (0-1)");
00037 extern INT_VAR_H(matcher_failed_adaptations_before_reset, 150,
00038 "Number of failed adaptions before adapted templates reset");
00039 extern INT_VAR_H(matcher_min_examples_for_prototyping, 2,
00040 "Reliable Config Threshold");
00041 extern BOOL_VAR_H(tess_cn_matching, 0, "Character Normalized Matching");
00042 extern BOOL_VAR_H(tess_bn_matching, 0, "Baseline Normalized Matching");
00043 extern INT_VAR_H(classify_learning_debug_level, 0, "Learning Debug Level: ");
00044
00048 int GetAdaptiveFeatures(TBLOB *Blob,
00049 LINE_STATS *LineStats,
00050 INT_FEATURE_ARRAY IntFeatures,
00051 FEATURE_SET *FloatFeatures);
00052
00056 #endif