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

Make `*.ground-truth` files more human-readable

parent 65c322d4
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -50,11 +50,11 @@ def main() -> None:
if is_multicolumn(input_tesseract_filename.with_suffix('.hocr')):
shutil.copy(input_tesseract_filename, output_filename)
with decision_filename.open('wt') as f:
print('hocr', file=f)
print('tesseract', file=f)
else:
shutil.copy(input_pero_ocr_filename, output_filename)
with decision_filename.open('wt') as f:
print('txt', file=f)
print('pero', file=f)
if __name__ == '__main__':
......
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