mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-24 11:09:06 +08:00
FindAndRemoveLines/FindVerticalAlignment: decrease fixed vline min length
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.
This commit is contained in:
parent
0228d93684
commit
65a077d3e9
@ -53,7 +53,7 @@ const int kMinRaggedTabs = 5;
|
||||
// Min number of points to accept for an aligned tab stop.
|
||||
const int kMinAlignedTabs = 4;
|
||||
// Constant number of pixels minimum height of a vertical line.
|
||||
const int kVLineMinLength = 500;
|
||||
const int kVLineMinLength = 300;
|
||||
// Minimum gradient for a vertical tab vector. Used to prune away junk
|
||||
// tab vectors with what would be a ridiculously large skew angle.
|
||||
// Value corresponds to tan(90 - max allowed skew angle)
|
||||
|
Loading…
Reference in New Issue
Block a user