chore: tests update for new rapidocr

This commit is contained in:
Georg Heiler
2025-08-21 12:57:14 +03:00
parent 38940d9978
commit b6d461ac42

View File

@@ -55,8 +55,8 @@ def test_e2e_webp_conversions():
TesseractCliOcrOptions(force_full_page_ocr=True, lang=["auto"]), TesseractCliOcrOptions(force_full_page_ocr=True, lang=["auto"]),
] ]
# rapidocr is only available for Python >=3.6,<3.13 # rapidocr is only available for Python >=3.6,<3.14
if sys.version_info < (3, 13): if sys.version_info < (3, 14):
engines.append(RapidOcrOptions()) engines.append(RapidOcrOptions())
engines.append(RapidOcrOptions(force_full_page_ocr=True)) engines.append(RapidOcrOptions(force_full_page_ocr=True))