Skip to content

Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.

fix: increase maximum PDF render processes to enhance rendering performance

myhloli88d881d29931
diff --git a/mineru/utils/pdf_image_tools.py b/mineru/utils/pdf_image_tools.py
index 80291ca3..d06c7a05 100644
--- a/mineru/utils/pdf_image_tools.py
+++ b/mineru/utils/pdf_image_tools.py
@@ -33,7 +33,7 @@ from concurrent.futures.process import BrokenProcessPool
DEFAULT_PDF_IMAGE_DPI = 200
# DEFAULT_PDF_IMAGE_DPI = 144
-MAX_PDF_RENDER_PROCESSES = 1
+MAX_PDF_RENDER_PROCESSES = 3
MIN_PAGES_PER_RENDER_PROCESS = 30
PDF_RENDER_PROCESS_SPAWN_DELAY_SECONDS = 0.1
PDF_RENDER_TERMINATE_GRACE_PERIOD_SECONDS = 0.1