Tesseract
3.02
|
#include <tuning_params.h>
Definition at line 33 of file tuning_params.h.
Definition at line 39 of file tuning_params.h.
tesseract::TuningParams::TuningParams | ( | ) | [inline] |
Definition at line 45 of file tuning_params.h.
{}
virtual tesseract::TuningParams::~TuningParams | ( | ) | [inline, virtual] |
Definition at line 46 of file tuning_params.h.
{}
int tesseract::TuningParams::BeamWidth | ( | ) | const [inline] |
Definition at line 53 of file tuning_params.h.
{ return beam_width_; }
double tesseract::TuningParams::CharBigramWgt | ( | ) | const [inline] |
Definition at line 50 of file tuning_params.h.
{ return char_bigrams_wgt_; }
double tesseract::TuningParams::CombinerClassifierThresh | ( | ) | const [inline] |
Definition at line 63 of file tuning_params.h.
{ return combiner_classifier_thresh_; }
double tesseract::TuningParams::CombinerRunThresh | ( | ) | const [inline] |
Definition at line 62 of file tuning_params.h.
{ return combiner_run_thresh_; }
int tesseract::TuningParams::ConvGridSize | ( | ) | const [inline] |
Definition at line 56 of file tuning_params.h.
{ return conv_grid_size_; }
int tesseract::TuningParams::HistWindWid | ( | ) | const [inline] |
Definition at line 57 of file tuning_params.h.
{ return hist_wind_wid_; }
virtual bool tesseract::TuningParams::Load | ( | string | file_name | ) | [pure virtual] |
Implemented in tesseract::CubeTuningParams.
int tesseract::TuningParams::MaxSegPerChar | ( | ) | const [inline] |
Definition at line 52 of file tuning_params.h.
{ return max_seg_per_char_; }
double tesseract::TuningParams::MaxSpaceHeightRatio | ( | ) | const [inline] |
Definition at line 61 of file tuning_params.h.
{ return max_space_height_ratio_; }
double tesseract::TuningParams::MaxWordAspectRatio | ( | ) | const [inline] |
Definition at line 59 of file tuning_params.h.
{ return max_word_aspect_ratio_; }
int tesseract::TuningParams::MinConCompSize | ( | ) | const [inline] |
Definition at line 58 of file tuning_params.h.
{ return min_con_comp_size_; }
double tesseract::TuningParams::MinSpaceHeightRatio | ( | ) | const [inline] |
Definition at line 60 of file tuning_params.h.
{ return min_space_height_ratio_; }
double tesseract::TuningParams::RecoWgt | ( | ) | const [inline] |
Definition at line 48 of file tuning_params.h.
{ return reco_wgt_; }
virtual bool tesseract::TuningParams::Save | ( | string | file_name | ) | [pure virtual] |
Implemented in tesseract::CubeTuningParams.
void tesseract::TuningParams::SetBeamWidth | ( | int | beam_width | ) | [inline] |
Definition at line 73 of file tuning_params.h.
{ beam_width_ = beam_width; }
void tesseract::TuningParams::SetCharBigramWgt | ( | double | wgt | ) | [inline] |
Definition at line 68 of file tuning_params.h.
{ char_bigrams_wgt_ = wgt; }
void tesseract::TuningParams::SetHistWindWid | ( | int | hist_wind_wid | ) | [inline] |
Definition at line 78 of file tuning_params.h.
{ hist_wind_wid_ = hist_wind_wid; }
void tesseract::TuningParams::SetMaxSegPerChar | ( | int | max_seg_per_char | ) | [inline] |
Definition at line 70 of file tuning_params.h.
{ max_seg_per_char_ = max_seg_per_char; }
void tesseract::TuningParams::SetRecoWgt | ( | double | wgt | ) | [inline] |
Definition at line 66 of file tuning_params.h.
{ reco_wgt_ = wgt; }
void tesseract::TuningParams::SetSizeWgt | ( | double | wgt | ) | [inline] |
Definition at line 67 of file tuning_params.h.
{ size_wgt_ = wgt; }
void tesseract::TuningParams::SetTypeClassifier | ( | type_classifer | tp_classifier | ) | [inline] |
Definition at line 74 of file tuning_params.h.
{ tp_classifier_ = tp_classifier; }
void tesseract::TuningParams::SetTypeFeature | ( | type_feature | tp_feat | ) | [inline] |
Definition at line 77 of file tuning_params.h.
{tp_feat_ = tp_feat;}
void tesseract::TuningParams::SetWordUnigramWgt | ( | double | wgt | ) | [inline] |
Definition at line 69 of file tuning_params.h.
{ word_unigrams_wgt_ = wgt; }
double tesseract::TuningParams::SizeWgt | ( | ) | const [inline] |
Definition at line 49 of file tuning_params.h.
{ return size_wgt_; }
int tesseract::TuningParams::TypeClassifier | ( | ) | const [inline] |
Definition at line 54 of file tuning_params.h.
{ return tp_classifier_; }
int tesseract::TuningParams::TypeFeature | ( | ) | const [inline] |
Definition at line 55 of file tuning_params.h.
{ return tp_feat_; }
double tesseract::TuningParams::WordUnigramWgt | ( | ) | const [inline] |
Definition at line 51 of file tuning_params.h.
{ return word_unigrams_wgt_; }
int tesseract::TuningParams::beam_width_ [protected] |
Definition at line 98 of file tuning_params.h.
double tesseract::TuningParams::char_bigrams_wgt_ [protected] |
Definition at line 91 of file tuning_params.h.
double tesseract::TuningParams::combiner_classifier_thresh_ [protected] |
Definition at line 125 of file tuning_params.h.
double tesseract::TuningParams::combiner_run_thresh_ [protected] |
Definition at line 121 of file tuning_params.h.
int tesseract::TuningParams::conv_grid_size_ [protected] |
Definition at line 104 of file tuning_params.h.
int tesseract::TuningParams::hist_wind_wid_ [protected] |
Definition at line 107 of file tuning_params.h.
int tesseract::TuningParams::max_seg_per_char_ [protected] |
Definition at line 95 of file tuning_params.h.
double tesseract::TuningParams::max_space_height_ratio_ [protected] |
Definition at line 117 of file tuning_params.h.
double tesseract::TuningParams::max_word_aspect_ratio_ [protected] |
Definition at line 111 of file tuning_params.h.
int tesseract::TuningParams::min_con_comp_size_ [protected] |
Definition at line 109 of file tuning_params.h.
double tesseract::TuningParams::min_space_height_ratio_ [protected] |
Definition at line 114 of file tuning_params.h.
double tesseract::TuningParams::reco_wgt_ [protected] |
Definition at line 87 of file tuning_params.h.
double tesseract::TuningParams::size_wgt_ [protected] |
Definition at line 89 of file tuning_params.h.
Definition at line 100 of file tuning_params.h.
type_feature tesseract::TuningParams::tp_feat_ [protected] |
Definition at line 102 of file tuning_params.h.
double tesseract::TuningParams::word_unigrams_wgt_ [protected] |
Definition at line 93 of file tuning_params.h.