Skip to content
Snippets Groups Projects
Commit 5dfc0f9b authored by Vít Starý Novotný's avatar Vít Starý Novotný
Browse files

Use PERO OCR basenames for output

parent 90ba6a12
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -28,7 +28,7 @@ def main() -> None: ...@@ -28,7 +28,7 @@ def main() -> None:
for suffix in ('hocr', 'tsv', 'box', 'page'): for suffix in ('hocr', 'tsv', 'box', 'page'):
shutil.copy( shutil.copy(
(TESSERACT_PATH / tesseract_filename.stem).with_suffix(f'.{suffix}'), (TESSERACT_PATH / tesseract_filename.stem).with_suffix(f'.{suffix}'),
(OUTPUT_PATH / tesseract_filename.stem).with_suffix(f'.{suffix}'), (OUTPUT_PATH / pero_ocr_filename.stem).with_suffix(f'.{suffix}'),
) )
for suffix in ('xml', ): for suffix in ('xml', ):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment