mirror of
https://github.com/DS4SD/docling.git
synced 2025-08-01 23:12:20 +00:00
Make sure that the `tesseract_ocr_cli_model.py` does not open the png image file twice (`tempfile.NamedTemporaryFile` + `high_res_image.save`), and ensure that `_run_tesseract` is executed once the file is no longer open by python. This other results in a "PermissionError: [Errno 13] Permission denied" error on Windows. Signed-off-by: Gaspard Petit <gaspardpetit@gmail.com> |
||
---|---|---|
.. | ||
backend | ||
cli | ||
datamodel | ||
models | ||
pipeline | ||
utils | ||
__init__.py | ||
document_converter.py |