获取区域关注度配置
GET
https://api2.hik-cloud.com/api/v1/device/isapi/intelligent/personQueueDetection/config
获取热度设备的区域关注度配置
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api2.hik-cloud.com/api/v1/device/isapi/intelligent/personQueueDetection/config?deviceSerial=C40022136' \
--header 'Authorization: Bearer '
响应示例响应示例
{
"code": 200,
"message": "操作成功",
"data": {
"PersonQueueDetectionInfo": {
"countingEnabled": true,
"queuetimeEnabled": true,
"confidence": null,
"minoffset": null,
"staytime": null,
"minsize": null,
"RuleInfo": [
{
"ruleID": 1,
"ruleName": "区域1",
"alarmIntervalTime": 300,
"personQueueCounting": {
"alarmCount": 10
},
"personQueueTime": {
"alarmTime": 300,
"Time": null
},
"regionColor": "yellow",
"osdoverlayEnabled": true,
"region": [
{
"x": 0.086,
"y": 0.114
},
{
"x": 0.836,
"y": 0.128
},
{
"x": 0.827,
"y": 0.883
},
{
"x": 0.078,
"y": 0.866
}
]
}
]
}
}
}
请求参数
Query 参数
deviceSerial
string
设备序列号
示例值:
C40022136
Header 参数
Authorization
string
可选
默认值:
Bearer {{access_token}}
返回响应
修改于 2022-05-27 05:46:27