Do not unframe images.
This commit is contained in:
parent
9410952111
commit
c50dae03a8
1 changed files with 1 additions and 1 deletions
|
|
@ -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():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue