mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 06:56:49 +08:00
Hiding Tesseract debug output
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user