mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-23 18:49:08 +08:00
Calculate row bounding box in single-word mode per #4304
This commit is contained in:
parent
215b023c43
commit
ba8dfcece7
@ -87,6 +87,7 @@ void make_single_word(bool one_blob, TO_ROW_LIST *rows, ROW_LIST *real_rows) {
|
||||
word->set_flag(W_EOL, true);
|
||||
word->set_flag(W_DONT_CHOP, one_blob);
|
||||
word_it.add_after_then_move(word);
|
||||
real_row->recalc_bounding_box();
|
||||
row_it.add_after_then_move(real_row);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user