UB-Mannheim / ocr-gt-tools

Ergonomic line-by-line transcription of scanned text.
GNU Affero General Public License v3.0
47 stars 11 forks source link

Catch non-existing image directories #40

Closed kba closed 8 years ago

kba commented 8 years ago

We need to test what happens when the directory with the images doesn't exist.

The script should log the error and stop before creating any files.

kba commented 8 years ago

Every failed call to hocr-extract-images or ocropus-gtedit will lead to a 500 and stop the script now.