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

@ -13,7 +13,7 @@ def test_run_eynollah_binarization_filename(
tests_dir,
options,
):
infile = tests_dir.joinpath('resources/kant_aufklaerung_1784_0020.tif')
infile = tests_dir.joinpath('resources/2files/kant_aufklaerung_1784_0020.tif')
outfile = tmp_path.joinpath('kant_aufklaerung_1784_0020.png')
run_eynollah_ok_and_check_logs(
'binarization',