JSON_Metadata_PeopleCounting

JSON_Metadata_PeopleCounting

JSON message about people counting metadata

Regional People Counting Metadata

{
  "Metadata":{
    "type":"ruleTarget", 
    "subType":"framesPeopleCounting", 
    "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"
    }, 
    "Situation":{
      "personCount":0
    }
  }
}
personCount

Optional, int, number of people in the region.

People Counting Metadata

{
  "Metadata":{
    "type":"ruleTarget", 
    "subType":"PeopleCounting", 
    "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"
    }, 
    "Situation":{
      "enterRegionPeopleNum":0, 
      "leaveRegionPeopleNum":0
    }
  }
}
enterRegionPeopleNum

Optional, int, number of people entering the region. This field is required when subType is "PeopleCounting".

leaveRegionPeopleNum

Optional, int, number of people leaving the region. This field is required when subType is "PeopleCounting".

JSON_Metadata_PeopleCounting

JSON message about people counting metadata

Regional People Counting Metadata

{
  "Metadata":{
    "type":"ruleTarget", 
    "subType":"framesPeopleCounting", 
    "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"
    }, 
    "Situation":{
      "personCount":0
    }
  }
}
personCount

Optional, int, number of people in the region.

People Counting Metadata

{
  "Metadata":{
    "type":"ruleTarget", 
    "subType":"PeopleCounting", 
    "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"
    }, 
    "Situation":{
      "enterRegionPeopleNum":0, 
      "leaveRegionPeopleNum":0
    }
  }
}
enterRegionPeopleNum

Optional, int, number of people entering the region. This field is required when subType is "PeopleCounting".

leaveRegionPeopleNum

Optional, int, number of people leaving the region. This field is required when subType is "PeopleCounting".