Merge pull request #298 from PaddlePaddle/MissPenguin-patch-1

Update hubserving.md
This commit is contained in:
dyning 2020-07-10 10:00:48 +08:00 committed by GitHub
commit 244a06d542
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# 服务部署 # 服务部署
PaddleOCR提供2种服务部署方式 PaddleOCR提供2种服务部署方式
- 基于HubServing的部署已集成到PaddleOCR中[code](https://github.com/PaddlePaddle/PaddleOCR/tree/develop/deploy/hubserving)),按照本教程使用; - 基于HubServing的部署已集成到PaddleOCR中[code](https://github.com/PaddlePaddle/PaddleOCR/tree/develop/deploy/ocr_hubserving)),按照本教程使用;
- 基于PaddleServing的部署详见PaddleServing官网[demo](https://github.com/PaddlePaddle/Serving/tree/develop/python/examples/ocr)后续也将集成到PaddleOCR。 - 基于PaddleServing的部署详见PaddleServing官网[demo](https://github.com/PaddlePaddle/Serving/tree/develop/python/examples/ocr)后续也将集成到PaddleOCR。
服务部署目录下包括检测、识别、2阶段串联三种服务包根据需求选择相应的服务包进行安装和启动。目录如下 服务部署目录下包括检测、识别、2阶段串联三种服务包根据需求选择相应的服务包进行安装和启动。目录如下
@ -27,10 +27,13 @@ deploy/hubserving/ocr_system/
### 2. 安装服务模块 ### 2. 安装服务模块
PaddleOCR提供3种服务模块根据需要安装所需模块。如 PaddleOCR提供3种服务模块根据需要安装所需模块。如
安装检测服务模块: 安装检测服务模块:
```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/```