Skip to content

Commit

Permalink
📦 0.1.19
Browse files Browse the repository at this point in the history
  • Loading branch information
bertsky committed Apr 16, 2022
1 parent 9160cbe commit 90bf217
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -172,6 +182,7 @@ Changed:
* further improve README

<!-- link-labels -->
[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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`)
Expand Down
2 changes: 1 addition & 1 deletion ocrd_segment/ocrd-tool.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit 90bf217

Please sign in to comment.