更新时间:2023-06-21 07:13:00下载pdf
本文介绍查询资产下已关联的客流设备的配置信息的 API。
查询资产下已关联的客流设备的配置信息,目前仅支持识别区域配置的查询。
GET: /v1.0/iot-03/passenger-flows/assets/assigned-devices/{device_id}/configs
| 参数名 | 类型 | 参数位置 | 是否必填 | 说明 |
|---|---|---|---|---|
| device_id | String | uri | true | 设备 ID |
| 参数名 | 类型 | 说明 |
|---|---|---|
| result | AssignDeviceConfig |
result 说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| image_width | Integer | 图像宽度,单位:像素 |
| image_height | Integer | 图像高度,单位:像素 |
| areas | List |
识别区域 |
areas 说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| type | Integer | 区域类型:
|
| points | List |
点位信息:以图像左上角为零点,宽为x轴,高为y轴建立坐标系,单位:像素 |
| in | String | 进店方向:
|
| out | String | 出店方向:
|
points 说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| x | Integer | 横坐标点位 |
| y | Integer | 纵坐标点位 |
GET: /v1.0/iot-03/passenger-flows/assets/assigned-devices/111****/configs
{
"result": {
"areas": [
{
"type": 1,
"points": [
{
"x": 0,
"y": 0
},
{
"x": 1920,
"y": 0
},
{
"x": 1920,
"y": 1080
},
{
"x": 0,
"y": 1080
}
]
},
{
"type": 2,
"points": [
{
"x": 0,
"y": 0
},
{
"x": 1920,
"y": 0
},
{
"x": 1920,
"y": 1080
},
{
"x": 0,
"y": 1080
}
]
}
],
"image_width": 1920,
"image_height": 1080
},
"t": 1111111111111,
"success": true
}
参考 错误码。
该内容对您有帮助吗?
是意见反馈该内容对您有帮助吗?
是意见反馈