Automated DTA OCR Workflow Scripts are to be executed in this order: download.py: Downloads facsimiles. segment.py: Preprocesses (binarises, deskews) the facsimiles and segments them using Kraken. predict.py: Runs Calamari on the segmentations to predict their contents.