From 8a69671dbd8de8a09bd23585e6fd6b4b112be3ae Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Sun, 7 Feb 2016 15:43:57 -0800 Subject: [PATCH] Suppress debug message --- ocrmypdf/tesseract.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ocrmypdf/tesseract.py b/ocrmypdf/tesseract.py index 3057cc53..b6f5ac05 100644 --- a/ocrmypdf/tesseract.py +++ b/ocrmypdf/tesseract.py @@ -105,7 +105,7 @@ def get_orientation(input_file, language: list, timeout: float, log): parts = line.split(':', maxsplit=2) if len(parts) == 2: osd[parts[0].strip()] = parts[1].strip() - print(osd) + oc = OrientationConfidence( angle=int(osd['Orientation in degrees']), confidence=float(osd['Orientation confidence']))