From eb9d2fd5b477c7ffbf836123286b553ac9a7f930 Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Mon, 3 Aug 2015 18:52:58 -0400 Subject: [PATCH] Hiding Tesseract debug output --- src/openalpr/ocr.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/openalpr/ocr.cpp b/src/openalpr/ocr.cpp index c589b70..0fda772 100644 --- a/src/openalpr/ocr.cpp +++ b/src/openalpr/ocr.cpp @@ -42,6 +42,7 @@ namespace alpr // Tesseract requires the prefix directory to be set as an env variable tesseract.Init(config->getTessdataPrefix().c_str(), config->ocrLanguage.c_str() ); tesseract.SetVariable("save_blob_choices", "T"); + tesseract.SetVariable("debug_file", "/dev/null"); tesseract.SetPageSegMode(PSM_SINGLE_CHAR); }