Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FindAndRemoveLines/FindVerticalAlignment: decrease fixed vline min le…
…ngth When detecting vertical separators, the blob aligner is used to glue line segments (often segmented due to artificial cracks). But (unlike LineFinder) it has many parameters that are not relative to pixel density/resolution. This change decreases the minimum absolute length in pixels for vertical separators.
- Loading branch information
65a077d
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.
This commit is the commit that is pointed at by git bisect as the first bad commit concerning this issue: #3906
It is unclear whether an already existent bug is shifted into sight, or whether this really is the cause. I doubt this is the cause.
65a077d
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.
Anyway,
The 'Projection' view of the ScrollView-debugger shows a real difference with this setting. Back on 500 it looks like this, so the lowest line is complete:
With the 300 value it is broken into two following the columns above:
tesseract --dpi 300 ~/Downloads/175789293-f39ddfdb-6f3e-4598-8d16-80a1f4a88b36.jpg test1 segdemo inter -c textord_tabfind_show_strokewidths=1
65a077d
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.
What was the original finding that led to this commit?
65a077d
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.
cc @bertsky