Closed M3ssman closed 4 years ago
@kba I did a quick check right now, updating ocr-fileformat submodule to 61d336e5ddfa73c773a3c37bb563d86b2252b52a, which has the change included. It still prints the stacktrace in case of an exception and therefore the numerical comparisation doesn't work.
The Exception is thrown in case there was no text content found. This can happen anytime for covers, blank pages, illustrations, etc...
But something else: I'd like to turn off bash debugging, since it fills the logs. If one is really interested in running a script in debug, it could be done straight at call time.
Yes, looks good to me.
Sorry for the inconvenience, but I need a fix for https://github.com/OCR-D/ocrd_fileformat/issues/10 ASAP ...