Closed stweil closed 5 years ago
This is an untested change, so I am not sure that this is the right fix. Nor do I know whether that part of the code is used at all.
See https://lgtm.com/projects/g/tmbdev/ocropy/alerts for details.
All the files under OLD are not being used.
Then maybe they can be removed?
This code belongs to the 0.6 ocr engine, I don't know if this engine is functioning with the current codebase.
Apart from the 0.6 code there is a lot of garbage in 'OLD', but some useful stuff can be found there.
I suggest to ignore/blacklist 'OLD' in LGTM.
Then maybe they can be removed?
Maybe, some of it, other parts could be still used for inspiration to rewrite currently missing functionalities.
I suggest to ignore/blacklist 'OLD' in LGTM.
This sounds reasonable for me.
Error reported by LGTM:
Fix it by using the same pattern as in previous calls of that function.
Signed-off-by: Stefan Weil sw@weilnetz.de