Fix tessdata URLs
Marco Andronaco andronacomarco@gmail.com
Sun, 31 Jul 2022 19:45:56 +0200
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
videocr/constants.py
→
videocr/constants.py
@@ -2,6 +2,6 @@ import pathlib
TESSDATA_DIR = pathlib.Path.home() / 'tessdata' -TESSDATA_URL = 'https://github.com/tesseract-ocr/tessdata_fast/raw/master/{}.traineddata' +TESSDATA_URL = 'https://github.com/tesseract-ocr/tessdata_fast/raw/main/{}.traineddata' -TESSDATA_SCRIPT_URL = 'https://github.com/tesseract-ocr/tessdata_best/raw/master/script/{}.traineddata' +TESSDATA_SCRIPT_URL = 'https://github.com/tesseract-ocr/tessdata_best/raw/main/script/{}.traineddata'