29 #ifndef CONV_NET_CLASSIFIER_H 30 #define CONV_NET_CLASSIFIER_H 46 static const float kFoldingRatio = 0.75;
80 virtual bool Init(
const string &data_file_path,
const string &
lang,
83 bool LoadNets(
const string &data_file_path,
const string &
lang);
85 virtual bool LoadFoldingSets(
const string &data_file_path,
94 #endif // CONV_NET_CLASSIFIER_H
virtual bool SetLearnParam(char *var_name, float val)
virtual CharAltList * Classify(CharSamp *char_samp)
ConvNetCharClassifier(CharSet *char_set, TuningParams *params, FeatureBase *feat_extract)
virtual int CharCost(CharSamp *char_samp)
virtual ~ConvNetCharClassifier()
virtual bool Train(CharSamp *char_samp, int ClassID)
void SetNet(tesseract::NeuralNet *net)