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
feat: update mineru package version to 3.4.0 across multiple Dockerfiles
myhlolif58293033ec7
diff --git a/README.md b/README.mdindex 3e3995f5..456b98f5 100644--- a/README.md+++ b/README.md@@ -80,6 +80,22 @@ Domestic AI chips: Ascend · Cambricon · Enflame · MetaX · Moore Threads · K# Changelog+- 2026/06/18 3.4 Released++ This release focuses on **OCR capability upgrades for the pipeline backend**, **OCR processing pipeline optimization**, and **model download experience improvements**. The main updates include:++ - OCR model upgrade and processing acceleration+ - The OCR model for the `pipeline` backend has been upgraded to `PP-OCRv6`, improving OCR accuracy by about `11%` on OmniDocBench v1.6.+ - Removed Japanese, Traditional Chinese, English, and Latin options from OCR language selection. These scenarios are now routed to the `ch` OCR model, simplifying model configuration and language selection.+ - Optimized the OCR inference and processing pipeline, increasing OCR processing speed by about `100%` and significantly improving parsing efficiency for batch documents and OCR-intensive documents.++ - Model download logic optimization+ - Added automatic model source selection, allowing first-time installations to choose a better model source based on the current network environment.+ - Before downloading models, MinerU now prioritizes checking locally downloaded model cache files. Cache hits can be reused directly, reducing repeated downloads and unnecessary remote requests.+ - For more details about model source configuration, automatic source selection, and local model usage, see the [Model Source Documentation](https://opendatalab.github.io/MinerU/en/usage/model_source/).++ With the 3.4 release, MinerU further improves the parsing accuracy and processing efficiency of the `pipeline` backend in OCR scenarios. It also optimizes model downloads, cache reuse, and local configuration write-back, making first-time installation, model updates, and multi-environment deployment more stable and automated.+- 2026/06/11 3.3 ReleasedThis release focuses on **Hybrid parsing performance optimization** and **VLM model capability upgrades**. The main updates include:@@ -218,7 +234,7 @@ A WebUI developed based on Gradio, with a simple interface and only core parsing</tr><tr><th>Accuracy<sup>1</sup></th>- <td style="text-align:center;">85.75</td>+ <td style="text-align:center;">86.47</td><td style="text-align:center;">95.39 (high)<br>95.26 (medium)</td><td style="text-align:center;">95.30</td><td style="text-align:center;">95.39 (high)<br>95.26 (medium)</td>diff --git a/README_zh-CN.md b/README_zh-CN.mdindex 335a8663..fde3f8ca 100644--- a/README_zh-CN.md+++ b/README_zh-CN.md@@ -79,6 +79,22 @@ MCP Server · LangChain / Dify / FastGPT 原生集成 · 10+ 国产算力适配# 更新记录+- 2026/06/18 3.4 发布++ 本次版本更新聚焦于 **pipeline 后端 OCR 能力升级**、**OCR 处理链路优化** 与 **模型下载体验改进**。主要更新内容包括:++ - OCR 模型升级与处理加速+ - `pipeline` 后端 OCR 模型更新至 `PP-OCRv6`,在 OmniDocBench v1.6 评测中,OCR 相关指标提升约 `11%`。+ - 移除 OCR 语言选择中的日语、繁体中文、英语、拉丁文选项,相关场景统一路由到 `ch` OCR 模型,简化模型配置与语言选择逻辑。+ - 优化 OCR 推理与处理链路,OCR 处理速度提升约 `100%`,显著改善批量文档和 OCR 密集型文档的解析效率。++ - 模型下载逻辑优化+ - 新增模型源自动选择能力,首次安装时可根据当前网络环境自动选择更合适的模型源。+ - 下载模型前会优先检查本地已下载的模型缓存文件,命中缓存时可直接复用,减少重复下载和不必要的远端请求。+ - 更多模型源配置、自动选择策略与本地模型使用说明,请参考 [模型源说明](https://opendatalab.github.io/MinerU/zh/usage/model_source/)。++ 在 3.4 版本,MinerU 进一步提升了 `pipeline` 后端在 OCR 场景下的解析精度与处理效率,同时优化了模型下载、缓存复用和本地配置写入流程,让首次安装、模型更新和多环境部署更加稳定、自动化。+- 2026/06/11 3.3 发布本次版本更新聚焦于 **Hybrid 解析性能优化** 与 **VLM 模型能力升级**。主要更新内容包括:@@ -216,7 +232,7 @@ https://github.com/user-attachments/assets/4bea02c9-6d54-4cd6-97ed-dff14340982c</tr><tr><th>精度指标<sup>1</sup></th>- <td style="text-align:center;">85.75</td>+ <td style="text-align:center;">86.47</td><td style="text-align:center;">95.39(high)<br>95.26(medium)</td><td style="text-align:center;">95.30</td><td style="text-align:center;">95.39(high)<br>95.26(medium)</td>diff --git a/docker/china/Dockerfile b/docker/china/Dockerfileindex 7f6ecedc..c16d0171 100644--- a/docker/china/Dockerfile+++ b/docker/china/Dockerfile@@ -17,7 +17,7 @@ RUN apt-get update && \rm -rf /var/lib/apt/lists/*# Install mineru latest-RUN python3 -m pip install -U 'mineru[core]>=3.2.1' -i https://mirrors.aliyun.com/pypi/simple --break-system-packages && \+RUN python3 -m pip install -U 'mineru[core]>=3.4.0' -i https://mirrors.aliyun.com/pypi/simple --break-system-packages && \python3 -m pip cache purge# Download models and update the configuration filediff --git a/docker/china/corex.Dockerfile b/docker/china/corex.Dockerfileindex afd2ab83..e1431679 100644--- a/docker/china/corex.Dockerfile+++ b/docker/china/corex.Dockerfile@@ -14,7 +14,7 @@ RUN apt-get update && \# Install mineru latestRUN python3 -m pip install -U pip -i https://mirrors.aliyun.com/pypi/simple && \- python3 -m pip install 'mineru[core]>=3.0.0' \+ python3 -m pip install 'mineru[core]>=3.4.0' \numpy==1.26.4 \opencv-python==4.11.0.86 \-i https://mirrors.aliyun.com/pypi/simple && \diff --git a/docker/china/dcu.Dockerfile b/docker/china/dcu.Dockerfileindex 7a6b7b98..8c992c6e 100644--- a/docker/china/dcu.Dockerfile+++ b/docker/china/dcu.Dockerfile@@ -14,7 +14,7 @@ RUN apt-get update && \# Install mineru latestRUN python3 -m pip install -U pip -i https://mirrors.aliyun.com/pypi/simple && \- python3 -m pip install "mineru[gradio]>=3.0.0" \+ python3 -m pip install "mineru[gradio]>=3.4.0" \"ftfy>=6.3.1,<7" \"shapely>=2.0.7,<3" \"pyclipper>=1.3.0,<2" \diff --git a/docker/china/gcu.Dockerfile b/docker/china/gcu.Dockerfileindex 8a0ef654..ca52d9e9 100644--- a/docker/china/gcu.Dockerfile+++ b/docker/china/gcu.Dockerfile@@ -17,7 +17,7 @@ deb http://mirrors.aliyun.com/ubuntu/ noble-security main restricted universe murm -rf /var/lib/apt/lists/* /tmp/aliyun-sources.list# Install mineru latest-RUN python3 -m pip install "mineru[core]>=3.0.0" \+RUN python3 -m pip install "mineru[core]>=3.4.0" \numpy==1.26.4 \opencv-python==4.11.0.86 \-i https://mirrors.aliyun.com/pypi/simple && \@@ -27,4 +27,4 @@ RUN python3 -m pip install "mineru[core]>=3.0.0" \RUN /bin/bash -c "mineru-kit models download all -s modelscope"# Set the entry point to activate the virtual environment and run the command line tool-ENTRYPOINT ["/bin/bash", "-c", "export MINERU_MODEL_SOURCE=local && exec \"$@\"", "--"]\ No newline at end of file+ENTRYPOINT ["/bin/bash", "-c", "export MINERU_MODEL_SOURCE=local && exec \"$@\"", "--"]diff --git a/docker/china/kxpu.Dockerfile b/docker/china/kxpu.Dockerfileindex f2d574f6..93041aa3 100644--- a/docker/china/kxpu.Dockerfile+++ b/docker/china/kxpu.Dockerfile@@ -14,7 +14,7 @@ RUN apt-get update && \# Install mineru latestRUN python3 -m pip install -U pip -i https://mirrors.aliyun.com/pypi/simple && \- python3 -m pip install "mineru[gradio]>=3.0.0" \+ python3 -m pip install "mineru[gradio]>=3.4.0" \"ftfy>=6.3.1,<7" \"shapely>=2.0.7,<3" \"pyclipper>=1.3.0,<2" \@@ -27,4 +27,4 @@ RUN python3 -m pip install -U pip -i https://mirrors.aliyun.com/pypi/simple && \RUN /bin/bash -c "mineru-kit models download all -s modelscope"# Set the entry point to activate the virtual environment and run the command line tool-ENTRYPOINT ["/bin/bash", "-c", "export MINERU_MODEL_SOURCE=local && exec \"$@\"", "--"]\ No newline at end of file+ENTRYPOINT ["/bin/bash", "-c", "export MINERU_MODEL_SOURCE=local && exec \"$@\"", "--"]diff --git a/docker/china/maca.Dockerfile b/docker/china/maca.Dockerfileindex f301cfd3..03ab7bc1 100644--- a/docker/china/maca.Dockerfile+++ b/docker/china/maca.Dockerfile@@ -22,7 +22,7 @@ RUN sed -i '3s/^Version: 0.15.1+metax3\.1\.0\.4$/Version: 0.21.0+metax3.1.0.4/'# Install mineru latestRUN /opt/conda/bin/python3 -m pip install -U pip -i https://mirrors.aliyun.com/pypi/simple && \- /opt/conda/bin/python3 -m pip install 'mineru[core]>=3.0.0' \+ /opt/conda/bin/python3 -m pip install 'mineru[core]>=3.4.0' \numpy==1.26.4 \opencv-python==4.11.0.86 \-i https://mirrors.aliyun.com/pypi/simple && \diff --git a/docker/china/mlu.Dockerfile b/docker/china/mlu.Dockerfileindex df9ec9a8..6d718c4c 100644--- a/docker/china/mlu.Dockerfile+++ b/docker/china/mlu.Dockerfile@@ -22,7 +22,7 @@ RUN /bin/bash -c '\source /torch/venv3/pytorch_infer/bin/activate; \fi && \python3 -m pip install -U pip -i https://mirrors.aliyun.com/pypi/simple && \- python3 -m pip install "mineru[core]>=3.0.0" \+ python3 -m pip install "mineru[core]>=3.4.0" \numpy==1.26.4 \opencv-python==4.11.0.86 \-i https://mirrors.aliyun.com/pypi/simple && \diff --git a/docker/china/musa.Dockerfile b/docker/china/musa.Dockerfileindex e9ad7e40..deb63385 100644--- a/docker/china/musa.Dockerfile+++ b/docker/china/musa.Dockerfile@@ -18,7 +18,7 @@ RUN python3 -m pip install -U pip -i https://mirrors.aliyun.com/pypi/simple && \git clone https://gitcode.com/gh_mirrors/vi/vision.git -b v0.20.0 --depth 1 && \cd vision && \python3 setup.py install && \- python3 -m pip install "mineru[gradio]>=3.0.0" \+ python3 -m pip install "mineru[gradio]>=3.4.0" \"ftfy>=6.3.1,<7" \"shapely>=2.0.7,<3" \"pyclipper>=1.3.0,<2" \@@ -32,4 +32,4 @@ RUN python3 -m pip install -U pip -i https://mirrors.aliyun.com/pypi/simple && \RUN /bin/bash -c "mineru-kit models download all -s modelscope"# Set the entry point to activate the virtual environment and run the command line tool-ENTRYPOINT ["/bin/bash", "-c", "export MINERU_MODEL_SOURCE=local && exec \"$@\"", "--"]\ No newline at end of file+ENTRYPOINT ["/bin/bash", "-c", "export MINERU_MODEL_SOURCE=local && exec \"$@\"", "--"]diff --git a/docker/china/npu.Dockerfile b/docker/china/npu.Dockerfileindex f7800e41..d7ab9894 100644--- a/docker/china/npu.Dockerfile+++ b/docker/china/npu.Dockerfile@@ -19,7 +19,7 @@ RUN apt-get update && \# Install mineru latestRUN python3 -m pip install -U pip -i https://mirrors.aliyun.com/pypi/simple && \- python3 -m pip install 'mineru[core]>=3.0.0' \+ python3 -m pip install 'mineru[core]>=3.4.0' \numpy==1.26.4 \opencv-python==4.11.0.86 \-i https://mirrors.aliyun.com/pypi/simple && \diff --git a/docker/china/ppu.Dockerfile b/docker/china/ppu.Dockerfileindex a471a591..998905cd 100644--- a/docker/china/ppu.Dockerfile+++ b/docker/china/ppu.Dockerfile@@ -18,7 +18,7 @@ RUN apt-get update && \# Install mineru latestRUN python3 -m pip install -U pip -i https://mirrors.aliyun.com/pypi/simple && \- python3 -m pip install 'mineru[core]>=3.0.0' \+ python3 -m pip install 'mineru[core]>=3.4.0' \numpy==1.26.4 \opencv-python==4.11.0.86 \-i https://mirrors.aliyun.com/pypi/simple && \diff --git a/docker/global/Dockerfile b/docker/global/Dockerfileindex 33116e64..69cf6dbe 100644--- a/docker/global/Dockerfile+++ b/docker/global/Dockerfile@@ -17,7 +17,7 @@ RUN apt-get update && \rm -rf /var/lib/apt/lists/*# Install mineru latest-RUN python3 -m pip install -U 'mineru[core]>=3.2.1' --break-system-packages && \+RUN python3 -m pip install -U 'mineru[core]>=3.4.0' --break-system-packages && \python3 -m pip cache purge# Download models and update the configuration filediff --git a/docs/en/quick_start/index.md b/docs/en/quick_start/index.mdindex f49a7c08..fdc5dbd6 100644--- a/docs/en/quick_start/index.md+++ b/docs/en/quick_start/index.md@@ -52,7 +52,7 @@ A WebUI developed based on Gradio, with a simple interface and only core parsing</tr><tr><th>Accuracy<sup>1</sup></th>- <td style="text-align:center;">85.75</td>+ <td style="text-align:center;">86.47</td><td style="text-align:center;">95.39 (high)<br>95.26 (medium)</td><td style="text-align:center;">95.30</td><td style="text-align:center;">95.39 (high)<br>95.26 (medium)</td>diff --git a/docs/zh/quick_start/index.md b/docs/zh/quick_start/index.mdindex e3512caf..358b17d6 100644--- a/docs/zh/quick_start/index.md+++ b/docs/zh/quick_start/index.md@@ -52,7 +52,7 @@</tr><tr><th>精度指标<sup>1</sup></th>- <td style="text-align:center;">85.75</td>+ <td style="text-align:center;">86.47</td><td style="text-align:center;">95.39(high)<br>95.26(medium)</td><td style="text-align:center;">95.30</td><td style="text-align:center;">95.39(high)<br>95.26(medium)</td>