From 0228d936840e9c797a8e2e68f4ed122d4e44d624 Mon Sep 17 00:00:00 2001 From: Robert Sachunsky Date: Mon, 24 Aug 2020 18:58:26 +0200 Subject: [PATCH] textord debugging: invert default top/bottom bounaries, improve description --- src/textord/alignedblob.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/textord/alignedblob.cpp b/src/textord/alignedblob.cpp index 2fd142e5f6..9aed6d64f0 100644 --- a/src/textord/alignedblob.cpp +++ b/src/textord/alignedblob.cpp @@ -26,10 +26,10 @@ INT_VAR(textord_debug_tabfind, 0, "Debug tab finding"); INT_VAR(textord_debug_bugs, 0, "Turn on output related to bugs in tab finding"); -static INT_VAR(textord_testregion_left, -1, "Left edge of debug reporting rectangle"); -static INT_VAR(textord_testregion_top, -1, "Top edge of debug reporting rectangle"); -static INT_VAR(textord_testregion_right, INT32_MAX, "Right edge of debug rectangle"); -static INT_VAR(textord_testregion_bottom, INT32_MAX, "Bottom edge of debug rectangle"); +static INT_VAR(textord_testregion_left, -1, "Left edge of debug reporting rectangle in Leptonica coords (bottom=0/top=height), with horizontal lines x/y-flipped"); +static INT_VAR(textord_testregion_top, INT32_MAX, "Top edge of debug reporting rectangle in Leptonica coords (bottom=0/top=height), with horizontal lines x/y-flipped"); +static INT_VAR(textord_testregion_right, INT32_MAX, "Right edge of debug rectangle in Leptonica coords (bottom=0/top=height), with horizontal lines x/y-flipped"); +static INT_VAR(textord_testregion_bottom, -1, "Bottom edge of debug rectangle in Leptonica coords (bottom=0/top=height), with horizontal lines x/y-flipped"); BOOL_VAR(textord_debug_printable, false, "Make debug windows printable"); namespace tesseract {