JSON message about general metadata
{
"Metadata":{
"type":"",
/*required, string, information type to be uploaded: "ruleTarget"-upload rules*/
"subType":"",
/*optional, string, event type: "heatmap"-heat map (crowd trend analysis), "framesPeopleCounting"-regional people counting, "PeopleCounting"-people counting*/
"time":"",
/*required, string, time in ISO 8601 time format, e.g., "2017-01-01T00:00:00+08:00"*/
"DevInfo":{
/*optional, device information, it is used to distinguish devices across domains and multicasting*/
"ipAddress":"",
"portNo":"",
"macAddress":"",
"channel":""
},
"TargetDetection":{
/*optional, detected target information*/
"TargetList":[{
/*required, target information list*/
"ruleID":"",
/*optional, integer, detection rule ID*/
"RegionList":[{
/*optional, target position*/
"Point":[{
"x":"",
"y":""
}]
}]
}],
"PcitureList":[{
/*optional, picture list*/
"dataType":{ },
"data":""
}]
},
"Situation":{
/*optional*/
"personCount":
/*int, number of people, this field is valid when subType is "crowdSituationAnalysis" and "framesPeopleCounting"*/
}
}
}
For different detection types, the metadata details are different, see the table below.
Detection Type |
Metadata Details |
---|---|
Heat Map (Crowd Trend Analysis) |
|
People Counting (includes Regional People Counting) |
|
Personal Tracking |
JSON message about general metadata
{
"Metadata":{
"type":"",
/*required, string, information type to be uploaded: "ruleTarget"-upload rules*/
"subType":"",
/*optional, string, event type: "heatmap"-heat map (crowd trend analysis), "framesPeopleCounting"-regional people counting, "PeopleCounting"-people counting*/
"time":"",
/*required, string, time in ISO 8601 time format, e.g., "2017-01-01T00:00:00+08:00"*/
"DevInfo":{
/*optional, device information, it is used to distinguish devices across domains and multicasting*/
"ipAddress":"",
"portNo":"",
"macAddress":"",
"channel":""
},
"TargetDetection":{
/*optional, detected target information*/
"TargetList":[{
/*required, target information list*/
"ruleID":"",
/*optional, integer, detection rule ID*/
"RegionList":[{
/*optional, target position*/
"Point":[{
"x":"",
"y":""
}]
}]
}],
"PcitureList":[{
/*optional, picture list*/
"dataType":{ },
"data":""
}]
},
"Situation":{
/*optional*/
"personCount":
/*int, number of people, this field is valid when subType is "crowdSituationAnalysis" and "framesPeopleCounting"*/
}
}
}
For different detection types, the metadata details are different, see the table below.
Detection Type |
Metadata Details |
---|---|
Heat Map (Crowd Trend Analysis) |
|
People Counting (includes Regional People Counting) |
|
Personal Tracking |