mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-18 06:30:14 +08:00
Only print "Merging rows..." in debug mode
Only print "Merging rows..." if textord_debug_blob==true (like all the other debug messages). Otherwise, there are a lot of "Merging rows..." messages in console output.
This commit is contained in:
parent
ea007d5b33
commit
f69af96dbe
@ -2519,7 +2519,7 @@ OVERLAP_STATE most_overlapping_row( //find best row
|
||||
test_row->min_y () <
|
||||
row->min_y ()? test_row->min_y () : row->min_y ();
|
||||
if (merge_top - merge_bottom <= rowsize) {
|
||||
if (testing_blob) {
|
||||
if (testing_blob && textord_debug_blob) {
|
||||
tprintf ("Merging rows at (%g,%g), (%g,%g)\n",
|
||||
row->min_y (), row->max_y (),
|
||||
test_row->min_y (), test_row->max_y ());
|
||||
|
Loading…
Reference in New Issue
Block a user