diff --git a/CHANGELOG.md b/CHANGELOG.md index fa4671c..38020ec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,12 +4,22 @@ Versioned according to [Semantic Versioning](http://semver.org/). ## Unreleased +## [0.1.19] - 2022-04-15 + +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 ## [0.1.18] - 2022-03-30 +Fixed: + * extract-lines/words: move extra parameters where they belong * extract-lines: fix regressions in v0.1.15 @@ -172,6 +182,7 @@ Changed: * further improve README +[0.1.19]: ../../compare/v0.1.18...v0.1.19 [0.1.18]: ../../compare/v0.1.17...v0.1.18 [0.1.17]: ../../compare/v0.1.16...v0.1.17 [0.1.16]: ../../compare/v0.1.15...v0.1.16 diff --git a/README.md b/README.md index d224f30..152546c 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Contains processors for various tasks: - [ocrd-segment-from-masks](ocrd_segment/import_image_segmentation.py) (for mask/label images, i.e. semantic segmentation) - [ocrd-segment-from-coco](ocrd_segment/import_coco_segmentation.py) (for [MS-COCO](https://cocodataset.org/) annotation) - post-processing or repairing layout segmentations: - - [ocrd-segment-repair](ocrd_segment/repair.py) (validity and consistency of coordinates, reducing overlaps/redundancy between neighbours, shrinking regions to the alpha shape of their lines) + - [ocrd-segment-repair](ocrd_segment/repair.py) (validity and consistency of all coordinates; also, for regions, reduce overlaps/redundancy between neighbours, and/or simplify polygons, and/or shrink to the alpha shape of foreground contours) - [ocrd-segment-project](ocrd_segment/project.py) (remake segment coordinates into the concave hull / alpha shape of their constituents) - [ocrd-segment-replace-original](ocrd_segment/replace_original.py) (rebase all segments on cropped+deskewed border frame as new full page) - [ocrd-segment-replace-page](ocrd_segment/replace_page.py) (2 input fileGrps; overwrite segmentation below page of first fileGrp by all segments of second fileGrp, rebasing all coordinates; "inverse" of `replace-original`) diff --git a/ocrd_segment/ocrd-tool.json b/ocrd_segment/ocrd-tool.json index ab4c2ab..24c8d84 100644 --- a/ocrd_segment/ocrd-tool.json +++ b/ocrd_segment/ocrd-tool.json @@ -1,5 +1,5 @@ { - "version": "0.1.18", + "version": "0.1.19", "git_url": "https://github.com/OCR-D/ocrd_segment", "tools": { "ocrd-segment-repair": {