Commit f7dafa0f authored by liushengtong's avatar liushengtong
Browse files

Update readme.md

parent 6ad287f7
# 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>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment