Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
paddle_dbnet
Commits
c1ba9643
Unverified
Commit
c1ba9643
authored
Jul 27, 2020
by
MissPenguin
Committed by
GitHub
Jul 27, 2020
Browse files
Update serving.md
parent
cdeef19e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
15 deletions
+16
-15
doc/doc_ch/serving.md
doc/doc_ch/serving.md
+16
-15
No files found.
doc/doc_ch/serving.md
View file @
c1ba9643
...
@@ -38,27 +38,28 @@ SET PYTHONPATH=.
...
@@ -38,27 +38,28 @@ SET PYTHONPATH=.
PaddleOCR提供3种服务模块,根据需要安装所需模块。
PaddleOCR提供3种服务模块,根据需要安装所需模块。
*
在Linux环境下,安装示例如下:
*
在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环境下(文件夹的分隔符为
`\`),安装示例如下:
*
在Windows环境下(文件夹的分隔符为
`\`),安装示例如下:
`
``
shell
# 安装检测服务模块:
hub install deploy
\h
ubserving
\o
cr_det
\
安装检测服务模块:
# 或,安装识别服务模块:
```
hub install deploy
\h
ubserving
\o
cr_det
\`
``
hub install deploy
\h
ubserving
\o
cr_rec
\
或,安装识别服务模块:
```hub install deploy\hubserving\ocr_rec\```
或,安装检测+识别串联服务模块:
```hub install deploy\hubserving\ocr_system\```
# 或,安装检测+识别串联服务模块:
hub install deploy
\h
ubserving
\o
cr_system
\
```
### 3. 启动服务
### 3. 启动服务
#### 方式1. 命令行命令启动(仅支持CPU)
#### 方式1. 命令行命令启动(仅支持CPU)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment