未验证 提交 18074df5 编写于 作者: H haoyuying 提交者: GitHub

Update README.md

上级 260dafc2
......@@ -51,7 +51,7 @@
```
hub run humanseg_server --input_path "/PATH/TO/IMAGE"
```
- ### 2、代码示例
- ### 2、预测代码示例
- 图片分割及视频分割代码示例:
......@@ -75,7 +75,7 @@
import numpy as np
import paddlehub as hub
human_seg = hub.Module('humanseg_server')
human_seg = hub.Module(name='humanseg_server')
cap_video = cv2.VideoCapture('\PATH\TO\VIDEO')
fps = cap_video.get(cv2.CAP_PROP_FPS)
save_path = 'humanseg_server_video.avi'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册