mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-26 20:14:47 +00:00
fix(tests): Extend test_e2e_ocr_conversion to cover all OCR engines (easyocr, tesserocr, tesseract)
Signed-off-by: Nikos Livathinos <nli@zurich.ibm.com>
This commit is contained in:
parent
7ab3b62c18
commit
e571ab50ee
@ -70,7 +70,7 @@ def test_e2e_conversions():
|
|||||||
|
|
||||||
pdf_paths = get_pdf_paths()
|
pdf_paths = get_pdf_paths()
|
||||||
|
|
||||||
for engine in ["easyocr", "tesserocr"]:
|
for engine in ["easyocr", "tesserocr", "tesseract"]:
|
||||||
print(f"Converting with ocr_engine: {engine}")
|
print(f"Converting with ocr_engine: {engine}")
|
||||||
converter = get_converter(engine)
|
converter = get_converter(engine)
|
||||||
for pdf_path in pdf_paths:
|
for pdf_path in pdf_paths:
|
||||||
|
Loading…
Reference in New Issue
Block a user