JSON_Metadata

JSON_Metadata

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"*/
    }
  }
}

Remarks

For different detection types, the metadata details are different, see the table below.

Detection Type

Metadata Details

Heat Map (Crowd Trend Analysis)

JSON_Metadata_HeatMap

People Counting (includes Regional People Counting)

JSON_Metadata_PeopleCounting

Personal Tracking

JSON_Metadata_PersonalTracking

JSON_Metadata

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"*/
    }
  }
}

Remarks

For different detection types, the metadata details are different, see the table below.

Detection Type

Metadata Details

Heat Map (Crowd Trend Analysis)

JSON_Metadata_HeatMap

People Counting (includes Regional People Counting)

JSON_Metadata_PeopleCounting

Personal Tracking

JSON_Metadata_PersonalTracking