未验证 提交 8aa2c1c9 编写于 作者: B BreezeDeus 提交者: GitHub

Merge pull request #194 from breezedeus/dev

update docs
......@@ -275,6 +275,8 @@ cnocr serve -p 8501
使用如下方式调用服务:
```python
import requests
image_fp = 'docs/examples/huochepiao.jpeg'
r = requests.post(
'http://0.0.0.0:8501/ocr', files={'image': (image_fp, open(image_fp, 'rb'), 'image/png')},
......
......@@ -259,6 +259,8 @@ cnocr serve -p 8501
使用如下方式调用服务:
```python
import requests
image_fp = 'docs/examples/huochepiao.jpeg'
r = requests.post(
'http://0.0.0.0:8501/ocr', files={'image': (image_fp, open(image_fp, 'rb'), 'image/png')},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册