#include <params_model.h>
|
bool | ParseLine (char *line, char **key, float *val) |
|
◆ PassEnum
Enumerator |
---|
PTRAIN_PASS1 | |
PTRAIN_PASS2 | |
PTRAIN_NUM_PASSES | |
◆ ParamsModel() [1/2]
tesseract::ParamsModel::ParamsModel |
( |
| ) |
|
|
inline |
◆ ParamsModel() [2/2]
tesseract::ParamsModel::ParamsModel |
( |
const char * |
lang, |
|
|
const GenericVector< float > & |
weights |
|
) |
| |
|
inline |
◆ Clear()
void tesseract::ParamsModel::Clear |
( |
| ) |
|
|
inline |
◆ ComputeCost()
float tesseract::ParamsModel::ComputeCost |
( |
const float |
features[] | ) |
const |
◆ Copy()
void tesseract::ParamsModel::Copy |
( |
const ParamsModel & |
other_model | ) |
|
◆ Equivalent()
bool tesseract::ParamsModel::Equivalent |
( |
const ParamsModel & |
that | ) |
const |
◆ Initialized()
bool tesseract::ParamsModel::Initialized |
( |
| ) |
|
|
inline |
◆ LoadFromFile()
bool tesseract::ParamsModel::LoadFromFile |
( |
const char * |
lang, |
|
|
const char * |
full_path |
|
) |
| |
◆ LoadFromFp()
bool tesseract::ParamsModel::LoadFromFp |
( |
const char * |
lang, |
|
|
TFile * |
fp |
|
) |
| |
◆ ParseLine()
bool tesseract::ParamsModel::ParseLine |
( |
char * |
line, |
|
|
char ** |
key, |
|
|
float * |
val |
|
) |
| |
|
private |
◆ Print()
void tesseract::ParamsModel::Print |
( |
| ) |
|
◆ SaveToFile()
bool tesseract::ParamsModel::SaveToFile |
( |
const char * |
full_path | ) |
const |
◆ SetPass()
void tesseract::ParamsModel::SetPass |
( |
PassEnum |
pass | ) |
|
|
inline |
◆ weights()
const GenericVector<float>& tesseract::ParamsModel::weights |
( |
| ) |
const |
|
inline |
◆ weights_for_pass()
◆ lang_
STRING tesseract::ParamsModel::lang_ |
|
private |
◆ pass_
◆ weights_vec_
The documentation for this class was generated from the following files:
- /home/stephane/src/tesseract/src/wordrec/params_model.h
- /home/stephane/src/tesseract/src/wordrec/params_model.cpp