mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-22 09:53:03 +08:00
Improve debug message in ColPartition::ComputeLimits
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
a164ff3728
commit
2cb5bc7690
@ -929,11 +929,13 @@ void ColPartition::ComputeLimits() {
|
||||
}
|
||||
|
||||
if (right_margin_ < bounding_box_.right() && textord_debug_bugs) {
|
||||
tprintf("Made partition with bad right coords");
|
||||
tprintf("Made partition with bad right coords, %d < %d\n",
|
||||
right_margin_, bounding_box_.right());
|
||||
Print();
|
||||
}
|
||||
if (left_margin_ > bounding_box_.left() && textord_debug_bugs) {
|
||||
tprintf("Made partition with bad left coords");
|
||||
tprintf("Made partition with bad left coords, %d > %d\n",
|
||||
left_margin_, bounding_box_.left());
|
||||
Print();
|
||||
}
|
||||
// Fix partner lists. The bounding box has changed and partners are stored
|
||||
|
Loading…
Reference in New Issue
Block a user