Files
mayan-edms/mayan/apps/ocr/backends/literals.py
Roberto Rosario 32cf0a0595 Add new default Tesseract OCR backend
This new backend uses a command call to avoid
Tesseract bug 1670
(https://github.com/tesseract-ocr/tesseract/issues/1670).

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
2019-04-27 15:44:09 -04:00

5 lines
170 B
Python

from __future__ import absolute_import, unicode_literals
DEFAULT_TESSERACT_BINARY_PATH = '/usr/bin/tesseract'
DEFAULT_TESSERACT_TIMEOUT = 600 # 600 seconds, 10 minutes