Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.
Python ai4sciencedocument-analysisdocxextract-datalayout-analysisocrparserpdfpdf-converterpdf-extractor-llmpdf-extractor-pretrainpdf-extractor-ragpdf-parserpptxpythonxlsx
Update mineru/utils/pdf_image_tools.py
Xiaomeng Zhao74de2725cb6e
diff --git a/mineru/utils/pdf_image_tools.py b/mineru/utils/pdf_image_tools.pyindex a7203d2d..fb06db80 100644--- a/mineru/utils/pdf_image_tools.py+++ b/mineru/utils/pdf_image_tools.py@@ -75,7 +75,7 @@ def load_images_from_pdf(), pdf_docelse:# 根据进程数调整超时时间- threads = min(os.cpu_count(), threads)+ threads = min(os.cpu_count() or 1, threads)timeout = timeout // threadsend_page_id = get_end_page_id(end_page_id, len(pdf_doc))