From c1ba964326cfbc6404d43b8d43fed61ca5f00c1e Mon Sep 17 00:00:00 2001 From: MissPenguin Date: Mon, 27 Jul 2020 11:03:08 +0800 Subject: [PATCH] Update serving.md --- doc/doc_ch/serving.md | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/doc/doc_ch/serving.md b/doc/doc_ch/serving.md index d4c5d8c1..89274567 100644 --- a/doc/doc_ch/serving.md +++ b/doc/doc_ch/serving.md @@ -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) -- GitLab