videocr/videocr/constants.py

8 lines
260 B
Python
Raw Normal View History

2019-04-29 03:04:06 +02:00
import pathlib
TESSDATA_DIR = pathlib.Path.home() / 'tessdata'
2019-04-29 22:29:49 +02:00
TESSDATA_URL = 'https://github.com/tesseract-ocr/tessdata_fast/raw/master/{}.traineddata'
2019-04-28 17:33:16 +02:00
2019-04-29 22:29:49 +02:00
TESSDATA_SCRIPT_URL = 'https://github.com/tesseract-ocr/tessdata_best/raw/master/script/{}.traineddata'