Home
last modified time | relevance | path

Searched refs:gap_width (Results 1 – 3 of 3) sorted by relevance

/external/tesseract/textord/
Dgap_map.cpp35 inT16 gap_width; in GAPMAP() local
86 gap_width = blob_box.left () - min_left; in GAPMAP()
87 if ((gap_width > gapmap_big_gaps * row->xheight) in GAPMAP()
88 && gap_width > 2) { in GAPMAP()
96 gap_width = blob_box.left () - prev_blob_box.right (); in GAPMAP()
97 if ((gap_width > gapmap_big_gaps * row->xheight) in GAPMAP()
98 && gap_width > 2) { in GAPMAP()
109 gap_width = max_right - prev_blob_box.right (); in GAPMAP()
110 if ((gap_width > gapmap_big_gaps * row->xheight) in GAPMAP()
111 && gap_width > 2) { in GAPMAP()
Dtospace.cpp200 inT16 gap_width; in block_spacing_stats() local
236 gap_width = blob_box.left () - prev_blob_box.right (); in block_spacing_stats()
239 all_gap_stats.add (gap_width, 1); in block_spacing_stats()
310 gap_width = blob_box.left () - prev_blob_box.right (); in block_spacing_stats()
311 if ((gap_width > real_space_threshold) && in block_spacing_stats()
322 (gap_width > in block_spacing_stats()
325 ((gap_width > in block_spacing_stats()
332 space_gap_stats.add (gap_width, 1); in block_spacing_stats()
371 inT16 gap_width; in row_spacing_stats() local
416 gap_width = blob_box.left () - prev_blob_box.right (); in row_spacing_stats()
[all …]
/external/tesseract/ccmain/
Dpgedit.cpp1190 inT16 gap_width; in block_space_stat() local
1222 gap_width = box.left() - prev_box_right; in block_space_stat()
1223 all_gap_stats.add(gap_width, 1); in block_space_stat()
1225 if (gap_width < min_inter_word_gap) in block_space_stat()
1226 min_inter_word_gap = gap_width; in block_space_stat()
1229 if (gap_width > max_inter_char_gap) in block_space_stat()
1230 max_inter_char_gap = gap_width; in block_space_stat()
1243 gap_width = box.left() - prev_box_right; in block_space_stat()
1244 all_gap_stats.add(gap_width, 1); in block_space_stat()
1246 if (gap_width < min_inter_word_gap) in block_space_stat()
[all …]