Add test images; call TrOCR processor from the same directory as the TrOCR model

This commit is contained in:
vahidrezanezhad 2025-11-07 12:47:21 +01:00
parent 8732007aaf
commit ed5b5c13dd
6 changed files with 8 additions and 8 deletions

View file

@ -5,10 +5,10 @@ from ocrd_models.constants import NAMESPACES as NS
@pytest.mark.parametrize(
"options",
[
["-trocr"],
[], # defaults
["-doit", #str(outrenderfile.parent)],
],
["-trocr"],
], ids=str)
def test_run_eynollah_ocr_filename(
tmp_path,