Skip to content

Releases: OCR-D/ocrd_segment

v0.1.24

25 Apr 15:42
Compare
Choose a tag to compare

Fixed

  • project/repair join_polygons: fix rare case of adjacent rings
  • from_masks: skip if no segmentation input file

Added

  • repair: add params spread / spread_level, update/improve docs

Changed

  • repair: validate/repair polygons with 0 px tolerance

v0.1.23

09 Mar 23:52
Compare
Choose a tag to compare

Fixed

  • repair/project: adapt to Shapely deprecations,
  • repair/project: more robust join_polygons, make_intersections, make_valid

Changed

  • 🔥 require Shapely 2
  • project: clip coords to parent's parent instead of parent
  • repair (sanitize): shrink before attempting repair (hierarchical consistency)

v0.1.22

29 Jun 13:19
Compare
Choose a tag to compare

Added

  • replace-text: new processor (inverse of extract-* for text)
  • extract-lines: new parameter textequiv-index

Fixed

  • repair/project: use minimum spanning tree when joining polygons
  • repair/project: ever more robustness
  • all: set PAGE @pcGtsId from METS file/@ID

v0.1.21

27 May 17:17
Compare
Choose a tag to compare

Changed:

  • extract-regions: add parameter classes and output COCO, too
  • repair/project: join polygons directly instead of alphashape

v0.1.20

27 May 17:17
Compare
Choose a tag to compare

Fixed:

  • extract-pages: fix extraction of region JSON
  • repair/project: make alpha shape more robust

v0.1.19

27 May 17:17
Compare
Choose a tag to compare

Changed:

  • repair (sanitize): run on all region types
  • repair (sanitize): add parameter sanitize_padding
  • repair (sanitize): use binary foreground instead of text line coordinates
  • repair (plausibilize): use true alpha shape instead of convex hull
  • project: add level-of-operation=table
  • repair: add option simplify
  • ensure compatibility with Shapely 1.8

v0.1.18

30 Mar 21:03
Compare
Choose a tag to compare
  • extract-lines/words: move extra parameters where they belong
  • extract-lines: fix regressions in v0.1.15

v0.1.17

30 Mar 21:03
Compare
Choose a tag to compare

Changed:

  • project: use true alpha shape instead of convex hull

v0.1.16

21 Feb 10:46
Compare
Choose a tag to compare

Fixed:

  • repair: fix plausibilize scope of apply-list

Changed:

  • project: new processor for convex hull resegmentation

v0.1.15

17 Feb 19:24
Compare
Choose a tag to compare

Changed:

  • repair: plausibilize: both analyse & apply iff enabled
  • extract-lines: add parameters for output types and conditions for line extraction
  • extract-lines: add xlsx output option for GT editing