docling/docling
Gaspard Petit 42c544996d fix: PermissionError when using tesseract_ocr_cli_model
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>
2024-12-01 11:17:48 -05:00
..
backend fix: use correct image index in word backend (#442) 2024-11-27 13:45:07 +01:00
cli fix(cli): expose debug options (#467) 2024-11-29 13:25:58 +01:00
datamodel feat(ocr): added support for RapidOCR engine (#415) 2024-11-27 13:57:41 +01:00
models fix: PermissionError when using tesseract_ocr_cli_model 2024-12-01 11:17:48 -05:00
pipeline feat(ocr): added support for RapidOCR engine (#415) 2024-11-27 13:57:41 +01:00
utils feat: Add pipeline timings and toggle visualization, establish debug settings (#183) 2024-10-30 15:04:19 +01:00
__init__.py Initial commit 2024-07-15 09:42:42 +02:00
document_converter.py fix: python3.9 support (#396) 2024-11-20 15:21:40 +01:00