Refactor OCR app. Removes document parsing. Moves OCR processing to

model manager. Add submit and finish events.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2017-08-23 02:04:57 -04:00
parent 2052caada4
commit 317d07a355
20 changed files with 309 additions and 497 deletions

View File

@@ -6,17 +6,3 @@ class OCRError(Exception):
Raised by the OCR backend
"""
pass
class ParserError(Exception):
"""
Base exception for file parsers
"""
pass
class NoMIMETypeMatch(ParserError):
"""
There is no parser registered for the specified MIME type
"""
pass