@@ -45,36 +45,15 @@ const int kMinColumnWidth = 200;
45
45
const double kMinFractionalLinesInColumn = 0.125 ;
46
46
// Fraction of height used as alignment tolerance for aligned tabs.
47
47
const double kAlignedFraction = 0.03125 ;
48
- // Minimum gutter width in absolute inch (multiplied by resolution)
49
- const double kMinGutterWidthAbsolute = 0.02 ;
50
48
// Maximum gutter width (in absolute inch) that we care about
51
49
const double kMaxGutterWidthAbsolute = 2.00 ;
52
50
// Multiplier of gridsize for min gutter width of TT_MAYBE_RAGGED blobs.
53
51
const int kRaggedGutterMultiple = 5 ;
54
52
// Min aspect ratio of tall objects to be considered a separator line.
55
53
// (These will be ignored in searching the gutter for obstructions.)
56
54
const double kLineFragmentAspectRatio = 10.0 ;
57
- // Multiplier of new y positions in running average for skew estimation.
58
- const double kSmoothFactor = 0.25 ;
59
- // Min coverage for a good baseline between vectors
60
- const double kMinBaselineCoverage = 0.5 ;
61
- // Minimum overlap fraction when scanning text lines for column widths.
62
- const double kCharVerticalOverlapFraction = 0.375 ;
63
- // Maximum horizontal gap allowed when scanning for column widths
64
- const double kMaxHorizontalGap = 3.0 ;
65
- // Maximum upper quartile error allowed on a baseline fit as a fraction
66
- // of height.
67
- const double kMaxBaselineError = 0.4375 ;
68
55
// Min number of points to accept after evaluation.
69
56
const int kMinEvaluatedTabs = 3 ;
70
- // Minimum aspect ratio of a textline to make a good textline blob with a
71
- // single blob.
72
- const int kMaxTextLineBlobRatio = 5 ;
73
- // Minimum aspect ratio of a textline to make a good textline blob with
74
- // multiple blobs. Target ratio varies according to number of blobs.
75
- const int kMinTextLineBlobRatio = 3 ;
76
- // Fraction of box area covered by image to make a blob image.
77
- const double kMinImageArea = 0.5 ;
78
57
// Up to 30 degrees is allowed for rotations of diacritic blobs.
79
58
// Keep this value slightly larger than kCosSmallAngle in blobbox.cpp
80
59
// so that the assert there never fails.
0 commit comments