Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tsoc
deepseekocr-api
Commits
8a057c72
Commit
8a057c72
authored
Feb 28, 2026
by
liuxu3
Browse files
Merge branch 'main-lst' into 'main'
Update readme.md See merge request
!5
parents
6ad287f7
f7dafa0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
26 deletions
+26
-26
readme.md
readme.md
+26
-26
No files found.
readme.md
View file @
8a057c72
# DeepSeekOCR/DeepSeekOCR2 在线 API 服务部署说明
# DeepSeekOCR/DeepSeekOCR2 在线 API 服务部署说明
该服务基于DeepSeekOCR/DeepSeekOCR2模型实现了光学字符识别能力,支持通过HTTP API调用进行图像与PDF文字识别。
该服务基于DeepSeekOCR/DeepSeekOCR2模型实现了光学字符识别能力,支持通过HTTP API调用进行图像与PDF文字识别。
## 依赖环境
## 依赖环境
VLLM镜像:image.sourcefind.cn:5000/dcu/admin/base/vllm:0.8.5-ubuntu22.04-dtk25.04.1-rc5-das1.6-py3.10-20250724
VLLM镜像:image.sourcefind.cn:5000/dcu/admin/base/vllm:0.8.5-ubuntu22.04-dtk25.04.1-rc5-das1.6-py3.10-20250724
百度网盘链接如下:
百度网盘链接如下:
<br>
通过网盘分享的文件:ds-ocr
通过网盘分享的文件:ds-ocr
<br>
链接: https://pan.baidu.com/s/1BJ_gmtScvboEbabTXjHn4Q?pwd=jbi8 提取码: jbi8
链接: https://pan.baidu.com/s/1BJ_gmtScvboEbabTXjHn4Q?pwd=jbi8 提取码: jbi8
<br>
--来自百度网盘超级会员v6的分享
--来自百度网盘超级会员v6的分享
<br>
## 快速开始
## 快速开始
### 1. 在线推理
### 1. 在线推理
cd DeepSeek-OCR-vllm
cd DeepSeek-OCR-vllm
<br>
服务启动
服务启动
<br>
python deepseek_ocr_server.py --model-path DeepSeekOCR模型路径
python deepseek_ocr_server.py --model-path DeepSeekOCR模型路径
<br>
在线推理
在线推理
<br>
python online_test.py
python online_test.py
<br>
### 2. 离线推理
### 2. 离线推理
cd DeepSeek-OCR-vllm
cd DeepSeek-OCR-vllm
<br>
离线推理
离线推理
<br>
bash offline_test.sh
bash offline_test.sh
<br>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment