Table of Contents
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
PaddleOCR 镜像同步记录与项目分析
维护说明:本页由
gitea-mirror-wiki技能生成(2026-11-27 06:53),记录该仓库在 GPD Gitea 的镜像状态与代码速览。Wiki 属于本地维护内容,不来自上游,也不受 8 小时同步影响。 补写说明:本页属于历史仓库批量补写,未逐仓保留当时的迁移耗时等操作日志;下列同步信息以当前数据库与裸仓实测状态为准。
一、仓库概况
| 项目 | 值 |
|---|---|
| 上游 | https://github.com/PaddlePaddle/PaddleOCR.git |
| 本地镜像 | http://192.168.1.99:3000/jarod/paddleocr |
| 公网入口 | https://git.lxj.ai/jarod/paddleocr |
| 状态 | 活跃镜像(8 小时自动同步) |
| 默认分支 | main |
| 仓库大小 | 约 4579.2 MB(DB 4801666461 字节;裸仓约 4692784 KB) |
| refs | 48 分支 / 35 标签 / HEAD 历史 6927 提交 |
| 建立时间 | 2026-11-26 15:41:12 |
| 描述 | PaddleOCR:把 PDF/图片文档转成结构化数据的 OCR 工具包,支持 100+ 语言,桥接图像与大模型。官方 GitHub 仓库镜像。 |
二、同步过程与当前状态
迁移方式(平台统一流程)
POST /api/v1/repos/migrate,mirror:true、mirror_interval:"8h0m0s"、private:false,origin 指向官方 GitHub- 代理链路:mihomo
127.0.0.1:7890→gitea-proxy-bridge.service(0.0.0.0:17890)→ 容器HTTP_PROXY/HTTPS_PROXY环境变量;gitconfig对 Gitea 无效 - 超时:
app.ini[git.timeout] MIRROR=3600 / MIGRATE=14400;>500MB 用后台、>1GB 看代理节点质量、>3GB 需宿主分批 fetch + 本地接管
当前校验状态
| 检查项 | 结果 |
|---|---|
is_mirror / is_empty |
1 / 0 |
| HEAD | refs/heads/main → dab3fe3537 |
| remote.origin.url | https://github.com/PaddlePaddle/PaddleOCR.git |
| remote.origin.fetch | +refs/*:refs/* |
| 自动同步排期 | updated 2026-11-27 02:33:41 → next 2026-11-27 10:33:41 |
页面验证:
GET /jarod/paddleocr/wiki返回 200 即表示 Wiki 裸仓已被 Gitea 正确识别。
三、项目功能速览
README 来源:README.md
English | [简体中文](./readme/README_cn.md) | [繁體中文](./readme/README_tcn.md) | [日本語](./readme/README_ja.md) | [한국어](./readme/README_ko.md) | [Français](./readme/README_fr.md) | [Русский](./readme/README_ru.md) | [Español](./readme/README_es.md) | [العربية](./readme/README_ar.md)
**PaddleOCR converts PDF documents and images into structured, LLM-ready data (JSON/Markdown) with industry-leading accuracy. With 70k+ Stars and trusted by top-tier projects like Dify, RAGFlow, and Cherry Studio, PaddleOCR is the bedrock for building intelligent RAG and Agentic applications.**
## 🚀 Key Features
### 📄 Intelligent Document Parsing (LLM-Ready)
> *Transforming messy visuals into structured data for the LLM era.*
* **SOTA Document VLM**: Featuring **PaddleOCR-VL-1.6 (0.9B)**, the industry's leading lightweight vision-language model for document parsing. It achieves 96.3% accuracy on OmniDocBench v1.6, leads in text, formula, and table recognition, and shows significantly enhanced capabilities in ancient docu
* **Structure-Aware Conversion**: Powered by **PP-StructureV3**, seamlessly convert complex PDFs and images into **Markdown** or **JSON**. Unlike the PaddleOCR-VL series models, it provides more fine-grained coordinate information, including table cell coordinates, text coordinates, and more.
* **Production-Ready Efficiency**: Achieve commercial-grade accuracy with an ultra-small footprint. Outperforms numerous closed-source solutions in public benchmarks while remaining resource-efficient for edge/cloud deployment.
### 🔍 Universal Text Recognition (Scene OCR)
> *The global gold standard for high-speed, multilingual text spotting.*
* **100+ Languages Supported**: Native recognition for a vast global library. **PP-OCRv6** supports 50 languages with a single unified model (Chinese, English, Japanese, and 46 Latin-script languages) — no model switching needed for multilingual documents.
* **Complex Element Mastery**: Beyond standard text recognition, we support **natural scene text spotting** across a wide range of environments, including IDs, street views, books, and industrial components
* **Performance Leap**: PP-OCRv6 achieves **+4.6% detection** and **+5.1% recognition** accuracy over PP-OCRv5, surpassing mainstream Vision-Language Models. 5.2× CPU inference speedup end-to-end.
### 🛠️ Developer-Centric Ecosystem
检出的技术栈 / 构建信号:GitHub Actions CI、Go modules、npm 锁文件、Node.js / 前端(npm)、TypeScript、Java / Android(Gradle)、C/C++(CMake)、Make 构建、Python(pip)、Docker 镜像、Python(现代构建)、Python(setuptools)
顶层目录:(根目录)、.github、api_sdk、applications、benchmark、configs、deploy、doc、docs、langchain-paddleocr、mcp_server、overrides、paddleocr-js、paddleocr、ppocr、ppstructure、readme、skills、test_tipc、tests
维护记录补充:百度 PaddlePaddle 官方 OCR / 文档 AI 工具包(Apache-2.0),含 PaddleOCR-VL、PP-StructureV3、PP-OCRv6、MCP server 与多种 GPU/NPU compose。本仓不是一步式 migrate 成功:完整 pack 3.6–3.7GB 三次失败后,改用宿主分批 fetch(--depth=1 → --deepen=3000)+ 本地接管裸仓。注意 privileged: true / user: root 的容器、依赖不锁版本、以及不可信 PDF 喂给 LLM 的注入风险。
四、代码安全快检(自动)
- 本仓库体积较大(>500 MB)或扫描超时,采用轻量模式:跳过全树关键词扫描,仅做文件名与结构检查,需人工复核。
- 敏感文件(
.env/*.pem/*.p12/ 私钥 / credentials 等):deploy/paddleocr_vl_docker/accelerators/amd-gpu/.env、deploy/paddleocr_vl_docker/accelerators/huawei-npu/.env、deploy/paddleocr_vl_docker/accelerators/hygon-dcu/.env、deploy/paddleocr_vl_docker/accelerators/iluvatar-gpu/.env、deploy/paddleocr_vl_docker/accelerators/intel-gpu/.env、deploy/paddleocr_vl_docker/accelerators/kunlunxin-xpu/.env、deploy/paddleocr_vl_docker/accelerators/metax-gpu/.env、deploy/paddleocr_vl_docker/accelerators/nvidia-gpu-sm120/.env、deploy/paddleocr_vl_docker/accelerators/nvidia-gpu/.env、deploy/paddleocr_vl_docker/hps/.env.example - 硬编码 PEM 私钥:未完成扫描
- 危险脚本模式(
curl|bash/eval/base64 -d/chmod 777):未完成扫描
五、风险提示
- 自动快检只覆盖常见模式,不替代人工审计;部署前核对依赖来源、锁文件与 CI 中的
${{ secrets.* }}用法。 - 远程控制 / Agent / 文件上传 / 解析外部文档类项目,优先放在内网隔离环境,避免直接暴露公网。
- 注意许可证(GPL / AGPL 等)对二次分发与闭源集成的约束。
六、维护约定
- Gitea 对
is_mirror=1的仓库禁止 Wiki API / UI 写入(POST .../wiki/pages返回 405),但读正常;本页由服务端直接维护<repo>.wiki.git裸仓。 - 更新方式:临时
chown -R root:root,用hash-object -w+mktree+commit-tree+update-ref提交,最后chown -R 1000:1000;root 直接git clone会触发dubious ownership。 - Wiki 是独立裸仓,8 小时
mirror-sync --prune只操作主裸仓,不会影响本页;删除并重建仓库会连带删除 Wiki,Gitea 迁移/备份时须单独带上.wiki.git。 - 每次人工发起的镜像同步完成后,按
gitea-mirror-wiki技能更新本页;后台自动同步不重复生成。