Update serving.md

This commit is contained in:
MissPenguin 2020-07-27 11:03:08 +08:00 committed by GitHub
parent cdeef19e76
commit c1ba964326
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 15 deletions

View File

@ -38,27 +38,28 @@ SET PYTHONPATH=.
PaddleOCR提供3种服务模块根据需要安装所需模块。
* 在Linux环境下安装示例如下
```shell
# 安装检测服务模块:
hub install deploy/hubserving/ocr_det/
安装检测服务模块:
```hub install deploy/hubserving/ocr_det/```
# 或,安装识别服务模块:
hub install deploy/hubserving/ocr_rec/
或,安装识别服务模块:
```hub install deploy/hubserving/ocr_rec/```
或,安装检测+识别串联服务模块:
```hub install deploy/hubserving/ocr_system/```
# 或,安装检测+识别串联服务模块:
hub install deploy/hubserving/ocr_system/
```
* 在Windows环境下(文件夹的分隔符为`\`),安装示例如下:
```shell
# 安装检测服务模块:
hub install deploy\hubserving\ocr_det\
安装检测服务模块:
```hub install deploy\hubserving\ocr_det\```
或,安装识别服务模块:
```hub install deploy\hubserving\ocr_rec\```
或,安装检测+识别串联服务模块:
```hub install deploy\hubserving\ocr_system\```
# 或,安装识别服务模块:
hub install deploy\hubserving\ocr_rec\
# 或,安装检测+识别串联服务模块:
hub install deploy\hubserving\ocr_system\
```
### 3. 启动服务
#### 方式1. 命令行命令启动仅支持CPU