x
This commit is contained in:
@ -170,14 +170,14 @@ HPE 服务提供基于深度学习的人体姿态估计能力,可从输入图
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# 使用 uv 直接运行(自动安装依赖)
|
# 使用 uv 直接运行(自动安装依赖)
|
||||||
uv run scripts/client_example.py photo.jpg
|
uv run scripts/client_example.py figures/sample.jpg
|
||||||
|
|
||||||
# 指定自定义 URL
|
# 指定自定义 URL
|
||||||
uv run scripts/client_example.py photo.png --url https://api.pose.weihua-iot.cn/hpe
|
uv run scripts/client_example.py figures/sample.jpg --url https://api.pose.weihua-iot.cn/hpe
|
||||||
|
|
||||||
# 或使用传统方式(需先安装 httpx)
|
# 或使用传统方式(需先安装 httpx)
|
||||||
pip install httpx
|
pip install httpx
|
||||||
python scripts/client_example.py photo.jpg
|
python scripts/client_example.py figures/sample.jpg
|
||||||
```
|
```
|
||||||
|
|
||||||
### Bash/cURL 示例
|
### Bash/cURL 示例
|
||||||
|
|||||||
Reference in New Issue
Block a user