Merge pull request #298 from PaddlePaddle/MissPenguin-patch-1
Update hubserving.md
This commit is contained in:
commit
244a06d542
|
@ -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/```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue