all repos — videocr @ d15676700bb14da69667c6d08958c8c2ca44c7b9

Extract hardcoded subtitles from videos using machine learning

Fix tessdata URLs
Marco Andronaco andronacomarco@gmail.com
Sun, 31 Jul 2022 19:45:56 +0200
commit

d15676700bb14da69667c6d08958c8c2ca44c7b9

parent

9b97c996570897b5a45d1f8b4f046aebcbcca300

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M videocr/constants.pyvideocr/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'