Closed adamjanovsky closed 8 months ago
As we generally try to avoid subprocess.run(), it would be good idea to replace the OCR-related calls with a Python wrapper for tesseract.
subprocess.run()
This concerns refactoring the following snippet
https://github.com/crocs-muni/sec-certs/blob/b808490207666abf0e4afc97305d05ca9facc0fa/src/sec_certs/utils/pdf.py#L40-L70
@J08nY just for your reference
@adamjanovsky Hi, I am taking this one, because I think it should be low hanging fruit, therefore I can continue on other issues afterwards.
This is done via #357
As we generally try to avoid
subprocess.run()
, it would be good idea to replace the OCR-related calls with a Python wrapper for tesseract.This concerns refactoring the following snippet
https://github.com/crocs-muni/sec-certs/blob/b808490207666abf0e4afc97305d05ca9facc0fa/src/sec_certs/utils/pdf.py#L40-L70
@J08nY just for your reference