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

Only apply OCR to files

parent 7cf754a0
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -61,6 +61,7 @@ def main(input_dir: str, output_dir: str, pero_ocr: bool, super_resolution: bool
filename.relative_to(input_dir)
for filename
in input_dir.glob('**/*.*')
if filename.is_file()
)
if not input_images:
......
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