From c50dae03a82357a6aa2fbb909bf5139afd3bd627 Mon Sep 17 00:00:00 2001 From: Andrey Golovizin Date: Tue, 26 Aug 2014 20:23:33 +0200 Subject: [PATCH] Do not unframe images. --- pixelocr/gui/ocrengine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pixelocr/gui/ocrengine.py b/pixelocr/gui/ocrengine.py index ea967b4..ef0c0d9 100644 --- a/pixelocr/gui/ocrengine.py +++ b/pixelocr/gui/ocrengine.py @@ -44,7 +44,7 @@ class OCREngine(QThread): self.glyphdb.save() def load_page(self, filename): - return Page(Image.fromfile(filename).unframe(10), filename) + return Page(Image.fromfile(filename), filename) def run(self): for page_text in self.recognize():