-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
more robust intersection with parent #152
Conversation
- cover zero area intersections (treating them like empty) - cover heterogeneous intersections (removing zero area shapes)
Codecov Report
@@ Coverage Diff @@
## master #152 +/- ##
==========================================
- Coverage 37.64% 37.57% -0.08%
==========================================
Files 9 9
Lines 1004 1022 +18
Branches 214 215 +1
==========================================
+ Hits 378 384 +6
- Misses 558 566 +8
- Partials 68 72 +4
Continue to review full report at Codecov.
|
Fix #149 |
A test with the first commit and |
- cover invalid paths on input side (from rounding; via repeated simplification) - cover invalid path on output side (from rounding; via repeated simplification)
(re-use function from segment-region)
6aa44c5
to
c7bc33b
Compare
- cover invalid paths which cannot be repaired through simplification directly (find a new starting point in the point sequence)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My test case now passes (mostly, see #153). Therefore I suggest to merge this.
@kba (or whoever has merge rights), can this PR be merged? I'd like to have a working |
#153 is really the same thing for the other processors, so we should first incorporate the same logic there. It will be more consistent here (with 0.9.3 to fix all currently known segmentation bugs), but also in ocrd_all (all affected modules joining in one commit, no extra delay for deploying the next patch wave). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bertsky you have the best overview on how the PR work together, merge at will :)
(re-use function from segment-region)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please merge.
Fix #151