File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44img2pdf
55einops
66easydict
7- addict
7+ addict
88Pillow
99numpy
Original file line number Diff line number Diff line change @@ -7,6 +7,29 @@ DeepSeekOCR2.NET 是对 **DeepSeek-OCR-2** 的 .NET 封装:通过启动一个
77- 上游模型(Hugging Face):https://huggingface.co/deepseek-ai/DeepSeek-OCR-2
88- 上游论文(PDF):https://github.com/deepseek-ai/DeepSeek-OCR-2/blob/main/DeepSeek_OCR2_paper.pdf
99
10+ ## 仓库目录结构
11+
12+ ``` text
13+ DeepSeekOCR2.NET/
14+ ├─ dotnet/ .NET 封装与打包工程
15+ │ ├─ src/ 各 NuGet 包的项目
16+ │ │ ├─ DeepSeek.OCR2/ PackageId=DeepSeek.OCR2.Core(客户端 + 本地服务引导)
17+ │ │ ├─ DeepSeek.OCR2.Meta/ PackageId=DeepSeek.OCR2(meta 包:拉取 Core + 资产包)
18+ │ │ ├─ DeepSeek.OCR2.Assets.* 离线资产包(Python / wheels / 模型快照)
19+ │ │ ├─ DeepSeek.OCR2.Bundled/ 单包离线分发(含全部资产,包体很大)
20+ │ │ └─ DeepSeek.OCR2.Full.win-x64/ 历史等价包(已停更)
21+ │ ├─ samples/ 示例项目
22+ │ ├─ tests/ 测试(契约/Smoke)
23+ │ ├─ bundle/ 生成 bundled 资产的脚本
24+ │ ├─ pack.ps1 本地打包脚本
25+ │ ├─ publish-nuget.ps1 打包并发布到 nuget.org
26+ │ └─ push.ps1 仅推送 nupkg
27+ ├─ DeepSeek-OCR2-master/ 上游代码快照(便于对照/实验)
28+ │ └─ requirements.txt 上游脚本依赖(仅用于该目录内的 Python 代码)
29+ ├─ assets/ README 图片/徽章
30+ └─ README.md 本文件
31+ ```
32+
1033## 快速开始(.NET)
1134
1235安装 NuGet(建议从下方“包结构”里按需选择)后:
@@ -51,6 +74,7 @@ Console.WriteLine(result.Text);
5174- ` DeepSeek.OCR2.Assets.Wheels.win-x64 ` :离线 wheels/torch(可选)
5275- ` DeepSeek.OCR2.Assets.Model ` :模型快照(可选)
5376- ` DeepSeek.OCR2.Bundled ` :单包内包含 python+wheels+模型的离线分发方案(包体非常大,通常建议私有源)
77+ - ` DeepSeek.OCR2.Full.win-x64 ` :历史等价包,已停止发布新版本
5478
5579## 离线与 Bundled 资产(重要)
5680
Load diff This file was deleted.
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments