Home
last modified time | relevance | path

Searched refs:bad_row (Results 1 – 2 of 2) sorted by relevance

/external/tesseract/textord/
Dtopitch.cpp142 void fix_row_pitch(TO_ROW *bad_row, // row to fix in fix_row_pitch() argument
163 maxwidth = (inT32) ceil (bad_row->xheight * textord_words_maxspace); in fix_row_pitch()
164 if (bad_row->pitch_decision != PITCH_DEF_FIXED in fix_row_pitch()
165 && bad_row->pitch_decision != PITCH_DEF_PROP) { in fix_row_pitch()
177 if ((bad_row->all_caps in fix_row_pitch()
180 (bad_row->xheight + bad_row->ascrise) * (1 + in fix_row_pitch()
183 (bad_row->xheight + bad_row->ascrise) * (1 - in fix_row_pitch()
185 || (!bad_row->all_caps in fix_row_pitch()
187 bad_row->xheight * (1 + textord_pitch_rowsimilarity) in fix_row_pitch()
189 bad_row->xheight * (1 - textord_pitch_rowsimilarity))) { in fix_row_pitch()
[all …]
Dtopitch.h55 TO_ROW *bad_row, //row to fix