#include <associate.h>
|
static float | ComputeOutlineLength (float rating_cert_scale, const BLOB_CHOICE &b) |
|
static float | ComputeRating (float rating_cert_scale, float cert, int width) |
|
static void | ComputeStats (int col, int row, const AssociateStats *parent_stats, int parent_path_length, bool fixed_pitch, float max_char_wh_ratio, WERD_RES *word_res, bool debug, AssociateStats *stats) |
|
static float | FixedPitchWidthCost (float norm_width, float right_gap, bool end_pos, float max_char_wh_ratio) |
|
static float | FixedPitchGapCost (float norm_gap, bool end_pos) |
|
◆ ComputeOutlineLength()
static float tesseract::AssociateUtils::ComputeOutlineLength |
( |
float |
rating_cert_scale, |
|
|
const BLOB_CHOICE & |
b |
|
) |
| |
|
inlinestatic |
◆ ComputeRating()
static float tesseract::AssociateUtils::ComputeRating |
( |
float |
rating_cert_scale, |
|
|
float |
cert, |
|
|
int |
width |
|
) |
| |
|
inlinestatic |
◆ ComputeStats()
void tesseract::AssociateUtils::ComputeStats |
( |
int |
col, |
|
|
int |
row, |
|
|
const AssociateStats * |
parent_stats, |
|
|
int |
parent_path_length, |
|
|
bool |
fixed_pitch, |
|
|
float |
max_char_wh_ratio, |
|
|
WERD_RES * |
word_res, |
|
|
bool |
debug, |
|
|
AssociateStats * |
stats |
|
) |
| |
|
static |
◆ FixedPitchGapCost()
static float tesseract::AssociateUtils::FixedPitchGapCost |
( |
float |
norm_gap, |
|
|
bool |
end_pos |
|
) |
| |
|
inlinestatic |
◆ FixedPitchWidthCost()
float tesseract::AssociateUtils::FixedPitchWidthCost |
( |
float |
norm_width, |
|
|
float |
right_gap, |
|
|
bool |
end_pos, |
|
|
float |
max_char_wh_ratio |
|
) |
| |
|
static |
◆ kMaxFixedPitchCharAspectRatio
const float tesseract::AssociateUtils::kMaxFixedPitchCharAspectRatio = 2.0f |
|
static |
◆ kMinGap
const float tesseract::AssociateUtils::kMinGap = 0.03f |
|
static |
The documentation for this class was generated from the following files:
- /home/stephane/src/tesseract/src/wordrec/associate.h
- /home/stephane/src/tesseract/src/wordrec/associate.cpp