From 4f435b3a38b6c1b4dac312a175fb516277d6a223 Mon Sep 17 00:00:00 2001 From: Andrey Golovizin Date: Mon, 25 Aug 2014 14:04:09 +0200 Subject: [PATCH] Tweac diacritic detection: decrease right-side detection window. --- pixelocr/page.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pixelocr/page.py b/pixelocr/page.py index a90674e..6064fe1 100644 --- a/pixelocr/page.py +++ b/pixelocr/page.py @@ -179,7 +179,7 @@ class Line(PageObject): class Glyph(PageObject): DIACRITIC_WINDOW_LEFT = 3 - DIACRITIC_WINDOW_RIGHT = 5 + DIACRITIC_WINDOW_RIGHT = 3 DIACRITIC_MIN_ELEVATION = 5 def __init__(self, image, elevation):