Tesseract quiet mode

不羁的心 提交于 2020-12-05 12:26:35

问题


Under Ubuntu I use tesseract-ocr in version 3.02. Especially the wrapper pytesseract for python, but this question is also about the commandline-tool.

In the FAQ under https://code.google.com/p/tesseract-ocr/wiki/FAQ#How_can_I_make_the_error_messages_go_to_tesseract.log_instead_of

is written that there is a option/config-file "quiet" supressing the info line of tesseract.

However, when I call tesseract command line with this option, it says

"read_params_file: Can't open quiet"

And it is right, in the corresponding config-folder there is no "quiet"-config-file.

Where can I get it or how can I create it?

The info-line which I want to supress is: "Tesseract Open Source OCR Engine v3.02 with Leptonica".


回答1:


quiet is part of tesseract-ocr repository: https://github.com/tesseract-ocr/tesseract/blob/master/tessdata/configs/quiet



来源:https://stackoverflow.com/questions/31806648/tesseract-quiet-mode

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!