You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No, it should actually be empty. In this case deskewing found angle zero, so the comment does not contain "deskewed". The "cropped" is the default, because the processor always crops from the next-higher level (which happens to be nothing here, because we are on the page and no Border is present).
But I probably just misinterpreted "cropped" in the spec anyway, right?
While technically correct, it won't help the user much if the image is marked as cropped but is not actually. I would not set the default value to cropped. Makes concatenating a bit more cumbersome because having to check whether to append with a comma or not.
So my interpretation of cropped is not in fact wrong? (I considered it to be true after some PIL.Image.crop. But one might consider only page-level cropping to consitute the case for cropped.)
Running
ocrd-tesserocr-deskew -m mets.xml -I ORIGINAL -O DESKEW -p <(echo '{"operation_level": "page"}')
results in
The comment should be
deskewed
, right?The text was updated successfully, but these errors were encountered: