Page 1 of 1

Document Analyzer

Posted: Sat Jul 13, 2019 12:54 pm
by advancedservers
Hi,

Is it possible to install Document Analyzer in the new version of mayan? I need to be able to do some regex on the ocr text to find an invoice number.

Thanks

Ben

Re: Document Analyzer

Posted: Thu Jul 18, 2019 6:20 am
by rosarior
The document analyzer is done by a community member: https://gitlab.com/startmat/document_analyzer
It seems the last update was 9 months ago so my guess is that is has not yet been updated to work with the 3.2.X series.

Re: Document Analyzer

Posted: Sun Jul 21, 2019 10:37 am
by advancedservers
I have been trying to update the plugin to work with the new version of mayan. I have renamed the default_app_config in __init__.py from

Code: Select all

document_analyzer.apps.DocumentAnalyzerApp to mayan.document_analyzer.apps.DocumentAnalyzerApp
I have also gone through all the from imports and updated to the new method but I cannot get past the namespace error ( cant remember exact wording I am not at home) namespace = Namespace(name='document_analyzer', label=_('DocumentAnalyzer')).

Any Ideas?