tesseract 4.1.1
Loading...
Searching...
No Matches
tovars.h File Reference
#include "params.h"

Go to the source code of this file.

Variables

bool textord_show_initial_words = false
 
bool textord_show_new_words = false
 
bool textord_show_fixed_words = false
 
bool textord_blocksall_fixed = false
 
bool textord_blocksall_prop = false
 
bool textord_blocksall_testing = false
 
bool textord_test_mode = false
 
int textord_dotmatrix_gap = 3
 
int textord_debug_block = 0
 
int textord_pitch_range = 2
 
double textord_wordstats_smooth_factor = 0.05
 
double textord_width_smooth_factor = 0.10
 
double textord_words_width_ile = 0.4
 
double textord_words_maxspace = 4.0
 
double textord_words_default_maxspace = 3.5
 
double textord_words_default_minspace = 0.6
 
double textord_words_min_minspace = 0.3
 
double textord_words_default_nonspace = 0.2
 
double textord_words_initial_lower = 0.25
 
double textord_words_initial_upper = 0.15
 
double textord_words_minlarge = 0.75
 
double textord_words_pitchsd_threshold = 0.025
 
double textord_words_def_fixed = 0.01
 
double textord_words_def_prop = 0.06
 
int textord_words_veto_power = 5
 
double textord_pitch_rowsimilarity = 0.08
 
bool textord_pitch_scalebigwords = false
 
double words_initial_lower = 0.5
 
double words_initial_upper = 0.15
 
double words_default_prop_nonspace = 0.25
 
double words_default_fixed_space = 0.75
 
double words_default_fixed_limit = 0.6
 
double textord_words_definite_spread = 0.30
 
double textord_spacesize_ratiofp = 2.8
 
double textord_spacesize_ratioprop = 2.0
 
double textord_fpiqr_ratio = 1.5
 
double textord_max_pitch_iqr = 0.20
 
double textord_fp_min_width = 0.5
 

Variable Documentation

◆ textord_blocksall_fixed

bool textord_blocksall_fixed = false
extern

"Moan about prop blocks"

Definition at line 27 of file tovars.cpp.

◆ textord_blocksall_prop

bool textord_blocksall_prop = false
extern

"Moan about fixed pitch blocks"

Definition at line 29 of file tovars.cpp.

◆ textord_blocksall_testing

bool textord_blocksall_testing = false
extern

"Dump stats when moaning"

Definition at line 30 of file tovars.cpp.

◆ textord_debug_block

int textord_debug_block = 0
extern

"Block to do debug on"

Definition at line 34 of file tovars.cpp.

◆ textord_dotmatrix_gap

int textord_dotmatrix_gap = 3
extern

"Max pixel gap for broken pixed pitch"

Definition at line 33 of file tovars.cpp.

◆ textord_fp_min_width

double textord_fp_min_width = 0.5
extern

"Min width of decent blobs"

Definition at line 81 of file tovars.cpp.

◆ textord_fpiqr_ratio

double textord_fpiqr_ratio = 1.5
extern

"Pitch IQR/Gap IQR threshold"

Definition at line 79 of file tovars.cpp.

◆ textord_max_pitch_iqr

double textord_max_pitch_iqr = 0.20
extern

"Xh fraction noise in pitch"

Definition at line 80 of file tovars.cpp.

◆ textord_pitch_range

int textord_pitch_range = 2
extern

"Max range test on pitch"

Definition at line 35 of file tovars.cpp.

◆ textord_pitch_rowsimilarity

double textord_pitch_rowsimilarity = 0.08
extern

"Fraction of xheight for sameness"

Definition at line 65 of file tovars.cpp.

◆ textord_pitch_scalebigwords

bool textord_pitch_scalebigwords = false
extern

"Scale scores on big words"

Definition at line 67 of file tovars.cpp.

◆ textord_show_fixed_words

bool textord_show_fixed_words = false
extern

"Display forced fixed pitch words"

Definition at line 26 of file tovars.cpp.

◆ textord_show_initial_words

bool textord_show_initial_words = false
extern

"Display separate words"

Definition at line 23 of file tovars.cpp.

◆ textord_show_new_words

bool textord_show_new_words = false
extern

"Display separate words"

Definition at line 24 of file tovars.cpp.

◆ textord_spacesize_ratiofp

double textord_spacesize_ratiofp = 2.8
extern

"Min ratio space/nonspace"

Definition at line 76 of file tovars.cpp.

◆ textord_spacesize_ratioprop

double textord_spacesize_ratioprop = 2.0
extern

"Min ratio space/nonspace"

Definition at line 78 of file tovars.cpp.

◆ textord_test_mode

bool textord_test_mode = false
extern

"Do current test"

Definition at line 31 of file tovars.cpp.

◆ textord_width_smooth_factor

double textord_width_smooth_factor = 0.10
extern

"Smoothing width stats"

Definition at line 39 of file tovars.cpp.

◆ textord_words_def_fixed

double textord_words_def_fixed = 0.01
extern

"Threshold for definite fixed"

Definition at line 59 of file tovars.cpp.

◆ textord_words_def_prop

double textord_words_def_prop = 0.06
extern

"Threshold for definite prop"

Definition at line 61 of file tovars.cpp.

◆ textord_words_default_maxspace

double textord_words_default_maxspace = 3.5
extern

"Max believable third space"

Definition at line 44 of file tovars.cpp.

◆ textord_words_default_minspace

double textord_words_default_minspace = 0.6
extern

"Fraction of xheight"

Definition at line 46 of file tovars.cpp.

◆ textord_words_default_nonspace

double textord_words_default_nonspace = 0.2
extern

"Fraction of xheight"

Definition at line 49 of file tovars.cpp.

◆ textord_words_definite_spread

double textord_words_definite_spread = 0.30
extern

"Non-fuzzy spacing region"

Definition at line 74 of file tovars.cpp.

◆ textord_words_initial_lower

double textord_words_initial_lower = 0.25
extern

"Max initial cluster size"

Definition at line 51 of file tovars.cpp.

◆ textord_words_initial_upper

double textord_words_initial_upper = 0.15
extern

"Min initial cluster spacing"

Definition at line 53 of file tovars.cpp.

◆ textord_words_maxspace

double textord_words_maxspace = 4.0
extern

"Multiple of xheight"

Definition at line 42 of file tovars.cpp.

◆ textord_words_min_minspace

double textord_words_min_minspace = 0.3
extern

"Fraction of xheight"

Definition at line 47 of file tovars.cpp.

◆ textord_words_minlarge

double textord_words_minlarge = 0.75
extern

"Fraction of valid gaps needed"

Definition at line 55 of file tovars.cpp.

◆ textord_words_pitchsd_threshold

double textord_words_pitchsd_threshold = 0.025
extern

"Pitch sync threshold"

Definition at line 57 of file tovars.cpp.

◆ textord_words_veto_power

int textord_words_veto_power = 5
extern

"Rows required to outvote a veto"

Definition at line 63 of file tovars.cpp.

◆ textord_words_width_ile

double textord_words_width_ile = 0.4
extern

"Ile of blob widths for space est"

Definition at line 41 of file tovars.cpp.

◆ textord_wordstats_smooth_factor

double textord_wordstats_smooth_factor = 0.05
extern

"Smoothing gap stats"

Definition at line 37 of file tovars.cpp.

◆ words_default_fixed_limit

double words_default_fixed_limit = 0.6
extern

"Allowed size variance"

Definition at line 72 of file tovars.cpp.

◆ words_default_fixed_space

double words_default_fixed_space = 0.75
extern

"Fraction of xheight"

Definition at line 71 of file tovars.cpp.

◆ words_default_prop_nonspace

double words_default_prop_nonspace = 0.25
extern

"Fraction of xheight"

Definition at line 70 of file tovars.cpp.

◆ words_initial_lower

double words_initial_lower = 0.5
extern

"Max initial cluster size"

Definition at line 68 of file tovars.cpp.

◆ words_initial_upper

double words_initial_upper = 0.15
extern

"Min initial cluster spacing"

Definition at line 69 of file tovars.cpp.