Roberto Rosario
74c97314d7
Code style cleanups
...
Add keyword arguments. Sort arguments and models.
Move literals to their own module. Prepend handler_ to
signal handlers.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-26 03:32:35 -04:00
Roberto Rosario
40c9436071
Update PyYAML to version 5.1
...
Update use of safe_load and safe_dump to load and dump using
the CSafeLoader with SafeLoader as a fallback.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-12 03:09:07 -04:00
Roberto Rosario
a0b7561ed7
Add support for passing arguments to the OCR backend.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-05 17:23:32 -04:00
Roberto Rosario
317d07a355
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 >
2017-08-23 02:04:57 -04:00
Roberto Rosario
bec85f38f4
Text parsers and OCR backends are now used in tandem for each document.
2015-08-08 04:49:08 -04:00
Roberto Rosario
78198f3398
Smart settings refactor
2015-06-22 21:04:06 -04:00
Roberto Rosario
5275061f9f
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.
2015-06-09 03:28:38 -04:00
Roberto Rosario
2044c94893
Replace custom 'load_backend' with Django's 'import_string'.
2015-04-07 16:29:43 -04:00
Roberto Rosario
e6754c9a6f
Update the OCR app to work based on document versions not documents, document version are the module which hold the document pages instances. Remove old OCR document queue and replace with a single module for OCR processing error entries. Increase compatibility with Django 1.7 and Python 3.
2015-01-15 03:01:43 -04:00
Roberto Rosario
e8762e4792
Issue #87 , Per document language selection
2014-10-22 02:35:16 -04:00
Roberto Rosario
b761037d99
Move all settings files from <app>/conf/settings.py to <app>/settings.py
2014-09-11 05:02:40 -04:00
Roberto Rosario
75266c7c31
Update the documents app and the document_signatures app to use the new method of loading backends
2014-07-03 17:32:32 -04:00
Roberto Rosario
a9390d55ba
Unify the way backends are defined and loaded, unify the fs_cleanup function
2014-07-01 00:22:31 -04:00