From a3549220bf0e155f86f4d5910d6fbe49b9cf257e Mon Sep 17 00:00:00 2001 From: Andrey Golovizin Date: Tue, 26 Aug 2014 23:05:49 +0200 Subject: [PATCH] Increase minimum word distance. --- pixelocr/page.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pixelocr/page.py b/pixelocr/page.py index 572156c..0133d12 100644 --- a/pixelocr/page.py +++ b/pixelocr/page.py @@ -208,7 +208,7 @@ class Line(PageObject): if glyph not in bodies: # freestanding diacritic-like glyphacter without a body yield glyph - def _insert_spaces(self, glyphs, min_distance=10): + def _insert_spaces(self, glyphs, min_distance=15): for glyph, next_glyph in pairwise(glyphs): yield glyph if next_glyph is not None: