curl --location --request POST 'https://api2.hik-cloud.com/api/v1/device/isapi/intelligent/personQueueDetection/config' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"deviceSerial": "C40022136",
"config": {
"PersonQueueDetectionInfo": {
"countingEnabled": true,
"queuetimeEnabled": true,
"confidence": null,
"minoffset": null,
"staytime": null,
"minsize": null,
"RuleInfo": [
{
"ruleID": 1,
"ruleName": "区域1",
"alarmIntervalTime": 300,
"personQueueCounting": {
"alarmCount": 8
},
"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
}
]
}
]
}
}
}'
{
"code": 200,
"message": "操作成功"
}