Fast, accurate OCR with correctness assessment.
chore: bump version to 1.0.5
huangfwdebb37b1b701
diff --git a/README.md b/README.mdindex 202ce4c..86ebad3 100644--- a/README.md+++ b/README.md@@ -39,6 +39,7 @@- **[2026.11.05]** The official MiniCPM-OCR 1.0 [Docker image](https://hub.docker.com/repository/docker/openbmbofficial/minicpm-ocr/general) is now available, bundling model weights, the SDK, and vLLM for end-to-end image and PDF parsing. See [Docker deployment](#docker-deployment) to get started.- 🔥🔥🔥 **[2026.11.02] MiniCPM-OCR 1.0 now runs on iOS!** Parse documents entirely on your device, even offline. [Try it now](https://github.com/OpenBMB/MiniCPM-OCR/blob/main/README.md#mobile-demo).+- **[2026.11.09]** [pip SDK 1.0.5](https://pypi.org/project/minicpm-ocr/1.0.5/): Parse several inputs in one run, with one result per file. `--split-images` makes each standalone image its own document.- **[2026.11.02]** [pip SDK 1.0.4](https://pypi.org/project/minicpm-ocr/1.0.4/): JSON output now uses the same format as the online document parsing API. Page orientation is corrected automatically by default, and GIF images are now supported.- **[2026.10.30]** The Web Demo is now open source, with support for self-hosting and switching between Chinese and English. See the [Web Demo deployment tutorial](https://github.com/OpenBMB/MiniCPM-OCR/blob/main/docs/webdemo_deploy.md).- **[2026.10.29]** [SDK 1.0.3](https://pypi.org/project/minicpm-ocr/1.0.3/): Markdown output preserves text recognized in image regions and includes links to the corresponding cropped images. The [Skill](https://github.com/OpenBMB/MiniCPM-OCR/blob/main/README.md#skill) now includes an Ollama deployment guide.diff --git a/README_zh.md b/README_zh.mdindex 61c2545..352f706 100644--- a/README_zh.md+++ b/README_zh.md@@ -39,6 +39,7 @@- **[2026.11.05]** MiniCPM-OCR 1.0 官方 [Docker 镜像](https://hub.docker.com/repository/docker/openbmbofficial/minicpm-ocr/general) 已发布,内置模型权重、SDK 和 vLLM,支持图片与 PDF 的端到端文档解析。部署方式见 [Docker 部署](#docker-deployment)。- 🔥🔥🔥 **[2026.11.02] MiniCPM-OCR 1.0 现已支持 iOS 端侧运行!** 文档解析全程在设备本地完成,支持离线使用。[立即体验](https://github.com/OpenBMB/MiniCPM-OCR/blob/main/README_zh.md#mobile-demo)。+- **[2026.11.09]** [pip SDK 1.0.5](https://pypi.org/project/minicpm-ocr/1.0.5/) 发布:支持一次解析多个文件,每个文件各得一份结果。`--split-images` 让每张单图各自成一份文档。- **[2026.11.02]** [pip SDK 1.0.4](https://pypi.org/project/minicpm-ocr/1.0.4/) 发布:JSON 输出格式与在线文档解析 API 保持一致,默认自动校正页面方向,并支持 GIF 图片输入。- **[2026.10.30]** Web Demo 已开源,支持自行部署和中英文界面切换,详见 [Web Demo 部署教程](https://github.com/OpenBMB/MiniCPM-OCR/blob/main/docs/webdemo_deploy_zh.md)。- **[2026.10.29]** [SDK 1.0.3](https://pypi.org/project/minicpm-ocr/1.0.3/) 发布:Markdown 输出保留图片区域的识别文字,并附上对应裁图的链接;[Skill](https://github.com/OpenBMB/MiniCPM-OCR/blob/main/README_zh.md#skill) 新增 Ollama 部署指南。diff --git a/docs/faq_en.md b/docs/faq_en.mdindex fd65fb2..67cdfaa 100644--- a/docs/faq_en.md+++ b/docs/faq_en.md@@ -7,7 +7,7 @@ Common issues with installation, model download, GPU memory, input formats and u### `pip install minicpmvocr` package not found**Cause**: The PyPI distribution is named `minicpm-ocr`; the Python import and command are named `minicpmvocr`.-**Solution**: Run `python -m pip install "minicpm-ocr[all]==1.0.4"`. For development from this repository, use `python -m pip install -e "./sdk[all]"`.+**Solution**: Run `python -m pip install "minicpm-ocr[all]==1.0.5"`. For development from this repository, use `python -m pip install -e "./sdk[all]"`.### `minicpmvocr parse` reports `--config` missing**Cause**: An older SDK version is installed. The current `parse` command supports a built-in quickstart configuration.diff --git a/docs/faq_zh.md b/docs/faq_zh.mdindex 290200d..b3e7b3c 100644--- a/docs/faq_zh.md+++ b/docs/faq_zh.md@@ -7,7 +7,7 @@### `pip install minicpmvocr` 提示找不到包**原因**:PyPI 发行包名为 `minicpm-ocr`,Python 导入名和命令为 `minicpmvocr`。-**解决**:`python -m pip install "minicpm-ocr[all]==1.0.4"`;从当前仓库开发安装可使用 `python -m pip install -e "./sdk[all]"`。+**解决**:`python -m pip install "minicpm-ocr[all]==1.0.5"`;从当前仓库开发安装可使用 `python -m pip install -e "./sdk[all]"`。### `minicpmvocr parse` 报告缺少 `--config`**原因**:安装的是旧版 SDK;当前版本的 `parse` 支持内置快速开始配置。diff --git a/docs/pypi_publish.md b/docs/pypi_publish.mdindex 3304c32..78d23e7 100644--- a/docs/pypi_publish.md+++ b/docs/pypi_publish.md@@ -10,11 +10,11 @@ PyPI 介绍以根目录 `README.md` 为唯一内容来源。`scripts/prepare_pypPyPI 项目的 **Manage → Publishing** 中应配置 GitHub 可信发布者:Owner 为 `OpenBMB`,Repository 为 `MiniCPM-OCR`,Workflow 为 `publish-pypi.yml`,Environment 为 `pypi`。-`.github/workflows/publish-pypi.yml` 使用 OIDC 发布,无需保存 PyPI API Token。手动运行工作流仅构建检查;推送与 SDK 版本一致的 `sdk-v*` 标签会在构建、元数据和安装检查通过后上传到 PyPI。例如版本 `1.0.4`:+`.github/workflows/publish-pypi.yml` 使用 OIDC 发布,无需保存 PyPI API Token。手动运行工作流仅构建检查;推送与 SDK 版本一致的 `sdk-v*` 标签会在构建、元数据和安装检查通过后上传到 PyPI。例如版本 `1.0.5`:```bash-git tag sdk-v1.0.4-git push origin sdk-v1.0.4+git tag sdk-v1.0.5+git push origin sdk-v1.0.5```## 构建与检查@@ -40,10 +40,10 @@ python -m twine upload sdk/dist/*按提示提供 PyPI API Token。上传方式见 [PyPA 官方发布教程](https://packaging.python.org/en/latest/tutorials/packaging-projects/#uploading-the-distribution-archives)。同一版本不能覆盖上传,后续发布需递增版本号。-确认 [PyPI 项目页](https://pypi.org/project/minicpm-ocr/) 出现对应版本后,即可安装。以下以 `1.0.4` 为例:+确认 [PyPI 项目页](https://pypi.org/project/minicpm-ocr/) 出现对应版本后,即可安装。以下以 `1.0.5` 为例:```bash-python -m pip install "minicpm-ocr[all]==1.0.4"+python -m pip install "minicpm-ocr[all]==1.0.5"```PaddlePaddle GPU 运行时需单独安装,具体命令见[安装与推理教程](./minicpm_ocr_tutorial.md#1-sdk-环境配置)。diff --git a/sdk/minicpmvocr/_version.py b/sdk/minicpmvocr/_version.pyindex 92192ee..68cdeee 100644--- a/sdk/minicpmvocr/_version.py+++ b/sdk/minicpmvocr/_version.py@@ -1 +1 @@-__version__ = "1.0.4"+__version__ = "1.0.5"