Home
last modified time | relevance | path

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

/dports/graphics/tesseract/tesseract-5.0.0/src/textord/
H A Dtopitch.cpp1030 TBOX joined_box; // of super blob in count_pitch_stats() local
1040 joined_box = blob_it.data()->bounding_box(); in count_pitch_stats()
1046 if ((blob_box.left() - joined_box.right() < dm_gap && !blob_it.at_first()) || in count_pitch_stats()
1048 joined_box += blob_box; // merge blobs in count_pitch_stats()
1050 blob_width = joined_box.width(); in count_pitch_stats()
1066 x_centre = static_cast<int32_t>(joined_box.left() + in count_pitch_stats()
1077 gap_stats->add(joined_box.left() - prev_right, 1); in count_pitch_stats()
1081 prev_right = joined_box.right(); in count_pitch_stats()
1082 prev_valid = blob_box.left() - joined_box.right() < min_space; in count_pitch_stats()
1084 joined_box = blob_box; in count_pitch_stats()