跳到正文

正在自动登录…

← 返回项目列表

SoMarkAI/OXR

文档解析

OXR 是一个开源文档解析模型,可将 PDF 和文档图片转换为带有布局坐标的 Markdown 或 JSON 数据,适用于需要从文档中提取结构化信息的场景。

AI 中文解读 · 根据仓库描述与 README 生成 · 2026/10/27 09:52:18 · 查看原文

值得看Python应用与服务
累计 Stars
1,029
当前热度
7~30 天 · 小火
仓库创建时间
打开 GitHub ↗项目网站 ↗

选用指南

AI 根据 README 整理 · 2026/10/27 09:52:18

使用方式

可通过在线 Demo、免费 API 或本地部署使用,支持 Docker 一键启动服务和源代码运行,提供可视化演示界面及 API 接口。

查看 README 依据
## Quick Start <a id="free-api"></a> ### 0. 🔥 🆓 Free API OXR provides a free API so you can test parsing on your own documents without registering or requesting an API key. We'll keep the free API online until we can no longer afford to run it. ⚠️ Note: We do not recommend using the Free OXR API in production. We do not guarantee service stability, and requests are queued, so processing speed may vary slightly. | Online Demo | https://free-oxr.somark.ai | https://free-oxr.somark.cn | |-|-|-| | API URL | https://free-oxr.somark.ai/api/v1 | https://free-oxr.somark.cn/api/v1 |
modelscope download SoMark/OXR-1.0 --local_dir ./models/OXR-1.0 ``` #### 1.2 Start the Services ##### 1.2.1 Run with Docker (Recommended) We recommend Docker to configure and start all services together. ```Bash docker build -f docker/Dockerfile.allinone -t oxr-1.0 . docker run --rm --gpus all --ipc=host \ -p 127.0.0.1:8000:8000 \ -v "$PWD/models/OXR-1.0:/models/oxr-model:ro" \ oxr-1.0 ``` Once the startup logs show that the services are ready, open http://localhost:8000/demo or http://localhost:8000/docs.
Open http://localhost:8000/demo and upload a PDF or image. You can view the original file, Markdown preview, source, layout bounding boxes, and reading order, and download the Markdown. The demo uses a temporary file cache that expires after 1 hour by default and is renewed during processing. Cached results become inaccessible once the cache expires or is cleared, so download your results promptly. #### 1.4 Send a Parsing Request
部署要求

本地运行需要 Linux 操作系统、NVIDIA GPU(支持 BF16)、NVIDIA 驱动(兼容 CUDA 13.0)、Python 3.12,显存至少 24GB,推荐 48GB 以上。

查看 README 依据
somark --base-url https://free-oxr.somark.ai/api/v1 --api-key dummy \ parse document.pdf --formats md,json --out ./parsed-output/ ``` ### 1. Run Locally ```Plain Text Operating system: Linux GPU: NVIDIA (with BF16 support) Driver: NVIDIA driver (compatible with CUDA 13.0) Python: 3.12 (for model downloads / running from source) GPU memory to get started: 24GB on a single GPU (for low-concurrency testing) Recommended GPU memory: ≥48GB on a single GPU (for long documents / higher concurrency) ``` #### 1.1 Download the Code and Models
已知限制

免费 API 不保证服务稳定性,请求会排队,处理速度可能变化,不建议用于生产环境。

查看 README 依据
## Quick Start <a id="free-api"></a> ### 0. 🔥 🆓 Free API OXR provides a free API so you can test parsing on your own documents without registering or requesting an API key. We'll keep the free API online until we can no longer afford to run it. ⚠️ Note: We do not recommend using the Free OXR API in production. We do not guarantee service stability, and requests are queued, so processing speed may vary slightly. | Online Demo | https://free-oxr.somark.ai | https://free-oxr.somark.cn | |-|-|-| | API URL | https://free-oxr.somark.ai/api/v1 | https://free-oxr.somark.cn/api/v1 |

README

正在加载 README…

收录信息

仓库创建时间
2026/10/5 12:28:31
首次达标收录
2026/10/27 09:46:17
统计更新时间
2026/10/27 10:50:50

按创建时长与累计 Stars 判断等级。首次达标收录后,即使未达当前门槛仍保留;累计 Stars 和仓库状态会定期更新。确认只有 README 及辅助文件的仓库会停止公开。

模型评估

值得看加权总分 4.2 / 5

新颖度
4.2
实用价值
4.8
成熟度
4.2
实质含量
3.5

由 Jev 模型根据仓库描述与 README 评估,2026/10/27 09:46:17 生成。评分仅供参考,不是代码、安全或许可证审查;热度等级另按创建时长与累计 Stars 计算。

仓库信息

最近推送
2026/10/24 23:48:22
许可证标识
NOASSERTION
Fork 数
62
当前状态
未归档

收录记录

按创建时长与累计 Stars 首次收录:小火
首次发现项目