Open bertsky opened 2 years ago
This pull request introduces 1 alert when merging 200313f164173b7cf4cba6fd38e369e1a8488400 into a30ce3b033deddb70e7f18a479b2e5dc02bd4f26 - view on LGTM.com
new alerts:
This pull request introduces 1 alert when merging b64e66a356de3f97b8c3f0d38976037206e2c819 into a30ce3b033deddb70e7f18a479b2e5dc02bd4f26 - view on LGTM.com
new alerts:
dammit, 8841abc contains accidentally commited parts that crash
Here's some illustration of the recent improvements.
method=baseline
before | after |
---|---|
steps | |
1. use existing baselines (dilated mask) as seed | 2. propagate to connected components by majority rule |
3. spread into background with full scale distance | 4. propagate to connected components again (now catching more fg, esp. diacritics) |
5. spread into background with only half scale | 6. polygonize |
method=lineest
(also annotating baselines)before | after |
---|---|
steps | |
1. existing line labels with overlaps | 2. new line labels |
3. new baselines | 4. match+assign parts and polygonize |
before | after |
---|---|
steps | |
1. existing line labels with overlaps | 2. new line labels |
3. new baselines | 4. match+assign parts and polygonize |
method=ccomps
before | after |
---|---|
steps | |
1. use existing segmentation (flattened via maximum of distance transform) as seed | 2. propagate to connected components by majority rule |
3. spread into background with full scale distance | 4. propagate to connected components again (now catching more fg, esp. diacritics) |
5. spread into background with only half scale | 6. polygonize |
1. input image | 2. binarized (SBB) |
non-text detection | |
3. detect images | 4. detect separators: medial axis transform |
5. connected component labels of skeleton | 6. filter by compactness and distance statistics |
7. morphological closing of skeleton | 8. link newly connected labels if direction is consistent |
9. sort and filter candidates by size | 10. propagate from skeleton to full components |
11. spread separators into background | 12. polygonize and suppress images+separators |
whitespace separator detection | |
13. vertical gradients | 14. background |
15. combined bg seps | 16. combined separator mask |
textline detection | |
17. horizontal gradient | 18. filtered lineseeds |
19. final ordered line labels | 20. line labels spread against separators |
textregion detection | |
21. final rlabels | 22. final result |
1. input image | 22. final (not optimal) result |
This pull request introduces 2 alerts when merging 4d7a0831e9072c56375e7cd9c2fc5ed107f565b3 into a30ce3b033deddb70e7f18a479b2e5dc02bd4f26 - view on LGTM.com
new alerts:
This pull request introduces 2 alerts when merging c90b29f4c6f3369b5eecae1617903dada14a3553 into a30ce3b033deddb70e7f18a479b2e5dc02bd4f26 - view on LGTM.com
new alerts:
Some early fixes for the recent #77 – sorry to get back to you so soon @finkf (and thanks for merging so fast).
BTW, if you contemplate making a new release, here is a list of things that have changed since 0.1.5: