Closed jbarth-ubhd closed 1 year ago
ocrd.sif built from (docker) ocrd:maximum yesterday.
Can you please share the workspace where this happens, so I can reproduce? Thanks!
https://digi.ub.uni-heidelberg.de/diglitData/v/ocrd-bug-tessocr-segment--extracts-dir-g.zip
extracts to dir g
and contains bug-demo.sh
and nohup.out
. To try again, remove mets.xml
, OCR-D-00*
.
@kba the problem is with the recent Shapely 2.0 release. I had prepared for the transition, but did not read the migration guide carefully enough. Apparently, they also renamed the type
attribute to geom_type
…
Perhaps this issue should be moved to ocrd-all ... but I can't do that.
@jbarth-ubhd thanks for your report. I was able to reproduce. Did not surface, because I had no test coverage for shrink_polygons
– now do. Fixed along with #191
the first recommended command in »Step 7: Region segmentation« does not work:
ocrd-tesserocr-segment -I OCR-D-004 -O OCR-D-005 -P find_tables false -P shrink_polygons true