From a7f10da92be24a9de0a261bf8237260e3f3ce8d0 Mon Sep 17 00:00:00 2001 From: Andrey Golovizin Date: Tue, 26 Aug 2014 23:06:07 +0200 Subject: [PATCH] Tweak apostrophe detection window. --- pixelocr/page.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pixelocr/page.py b/pixelocr/page.py index 0133d12..fdf6b53 100644 --- a/pixelocr/page.py +++ b/pixelocr/page.py @@ -267,7 +267,7 @@ class Glyph(PageObject): if glyph.fits( self.right - 5, self.top - 5, - self.right + 5, + self.right + 7, self.top + 10, ) and glyph.height > 3 and self.optical_distance(glyph) < 4: return True