JSON_Metadata_HeatMap

JSON_Metadata_HeatMap

JSON message about heat map (or crowd trend analysis) metadata

{
  "Metadata":{
    "type":"ruleTarget", 
    "subType":"heatmap", 
    "time":"2017-01-01T00:00:00+08:00", 
    "DevInfo":{
      "ipAddress":192.168.0.64, 
      "portNo":"554", 
      "macAddress":"28:57:be:ee:d1:5a", 
      "channel":"1"
    }, 
    "TargetDetection":{
      "TargetList":[{
        "ruleID":"1", 
        "RegionList":[{
          "Point":[{
            "x":"0", 
            "y":"0"
          }, 
          {
            "x":"600", 
            "y":"0"
          }, 
          {
            "x":"600", 
            "y":"600"
          }, 
          {
            "x":"0", 
            "y":"600"
          }]
        }]
      }], 
      "PcitureList":[{
        "dataType":{ }, 
        "data":"xxxxxxxxxxx"
      }]
    }, 
    "Situation":{
      "personCount":0
    }
  }
}
dataType

Optional, string, picture data type: "url", "base64".

data

Optional, string, picture data.

personCount

Optional, int, number of people.

JSON_Metadata_HeatMap

JSON message about heat map (or crowd trend analysis) metadata

{
  "Metadata":{
    "type":"ruleTarget", 
    "subType":"heatmap", 
    "time":"2017-01-01T00:00:00+08:00", 
    "DevInfo":{
      "ipAddress":192.168.0.64, 
      "portNo":"554", 
      "macAddress":"28:57:be:ee:d1:5a", 
      "channel":"1"
    }, 
    "TargetDetection":{
      "TargetList":[{
        "ruleID":"1", 
        "RegionList":[{
          "Point":[{
            "x":"0", 
            "y":"0"
          }, 
          {
            "x":"600", 
            "y":"0"
          }, 
          {
            "x":"600", 
            "y":"600"
          }, 
          {
            "x":"0", 
            "y":"600"
          }]
        }]
      }], 
      "PcitureList":[{
        "dataType":{ }, 
        "data":"xxxxxxxxxxx"
      }]
    }, 
    "Situation":{
      "personCount":0
    }
  }
}
dataType

Optional, string, picture data type: "url", "base64".

data

Optional, string, picture data.

personCount

Optional, int, number of people.