From 678919df33e537fd9b017c464343c37e4891ac8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Droz?= Date: Mon, 17 Apr 2023 17:53:45 -0300 Subject: [PATCH] fix TESSDATA_*URL Following Tesseract OCR branch naming changes --- videocr/constants.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/videocr/constants.py b/videocr/constants.py index f13eb24..18eaa62 100644 --- a/videocr/constants.py +++ b/videocr/constants.py @@ -2,6 +2,6 @@ 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'