Refactor OCR backend class to be file object based and use images from document page not the actual file. Use pytesseract instead of calling the CLI directly.
This commit is contained in:
@@ -1,3 +1 @@
|
||||
class BackendBase(object):
|
||||
def execute(self, input_filename, language=None):
|
||||
raise NotImplementedError
|
||||
|
||||
|
||||
Reference in New Issue
Block a user