XML_Metadata_FaceCapture

XML_Metadata_FaceCapture

XML message about face capture metadata

Rule Metadata

<Metadata version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
  <type>ruleTarget</type>
  <subType>faceSnap</subType>
  <time>2017-01-01T00:00:00+08:00</time>
  <DevInfo>
    <ipAddress>192.168.0.64</ipAddress> 
    <portNo>554</portNo>
    <macAddress>28:57:be:ee:d1:5a</macAddress>
    <channel>1</channel>
  </DevInfo>
  <TargetDetection>
    <TargetList> 
      <Target>
        <ruleID>1</ruleID>
	<RegionList>
	  <Region>
	    <Point>
	      <x>0</x>
	      <y>0</y>
	    </Point>
	    <Point>
	      <x>600</x>
	      <y>0</y>
	    </Point>
	    <Point>
	      <x>600</x>
	      <y>600</y>
	    </Point>
	    <Point>
	      <x>0</x>
	      <y>600</y>
	    </Point>
	  </Region>
	</RegionList>
      </Target>
    </TargetList>
  </TargetDetection>
</Metadata>
ruleID

Rule ID

RegionList

Coordinates of region that configured with face capture rule.

Real-Time Target Metadata

<Metadata version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
  <type>activityTarget</type>
  <subType>faceSnap</subType>
  <time>2017-01-01T00:00:00+08:00</time>
  <DevInfo>
    <ipAddress>192.168.0.64</ipAddress> 
    <portNo>554</portNo>
    <macAddress>28:57:be:ee:d1:5a</macAddress>
    <channel>1</channel>
  </DevInfo>
  <TargetDetection>
    <TargetList> 
      <Target>
        <targetID>1</targetID>
	<ruleID>1</ruleID>
	<recognition>face</recognition>
	<RegionList>
	  <Region>
	    <Point>
	      <x>0</x>
	      <y>0</y>
	    </Point>
	    <Point>
	      <x>600</x>
	      <y>0</y>
	    </Point>
	    <Point>
	      <x>600</x>
	      <y>600</y>
	    </Point>
	    <Point>
	      <x>0</x>
	      <y>600</y>
	    </Point>
	  </Region>
        </RegionList>
        <PropertyList> 
	  <Property>
	    <description>faceScore</description>
	    <value>100</value>
	  </Property>
          <Property>
	    <description>ageGroup</description>
	    <value>100</value>
	  </Property>
          <Property>
	    <description>gender</description>
	    <value>male</value>
	  </Property>
	</PropertyList>
      </Target>
    </TargetList>
  </TargetDetection>
</Metadata>
targetID

Person target ID

ruleID

Rule ID

recognition

Recognition target type, here it is face.

RegionList

Coordinates of face target position

XML_Metadata_FaceCapture

XML message about face capture metadata

Rule Metadata

<Metadata version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
  <type>ruleTarget</type>
  <subType>faceSnap</subType>
  <time>2017-01-01T00:00:00+08:00</time>
  <DevInfo>
    <ipAddress>192.168.0.64</ipAddress> 
    <portNo>554</portNo>
    <macAddress>28:57:be:ee:d1:5a</macAddress>
    <channel>1</channel>
  </DevInfo>
  <TargetDetection>
    <TargetList> 
      <Target>
        <ruleID>1</ruleID>
	<RegionList>
	  <Region>
	    <Point>
	      <x>0</x>
	      <y>0</y>
	    </Point>
	    <Point>
	      <x>600</x>
	      <y>0</y>
	    </Point>
	    <Point>
	      <x>600</x>
	      <y>600</y>
	    </Point>
	    <Point>
	      <x>0</x>
	      <y>600</y>
	    </Point>
	  </Region>
	</RegionList>
      </Target>
    </TargetList>
  </TargetDetection>
</Metadata>
ruleID

Rule ID

RegionList

Coordinates of region that configured with face capture rule.

Real-Time Target Metadata

<Metadata version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
  <type>activityTarget</type>
  <subType>faceSnap</subType>
  <time>2017-01-01T00:00:00+08:00</time>
  <DevInfo>
    <ipAddress>192.168.0.64</ipAddress> 
    <portNo>554</portNo>
    <macAddress>28:57:be:ee:d1:5a</macAddress>
    <channel>1</channel>
  </DevInfo>
  <TargetDetection>
    <TargetList> 
      <Target>
        <targetID>1</targetID>
	<ruleID>1</ruleID>
	<recognition>face</recognition>
	<RegionList>
	  <Region>
	    <Point>
	      <x>0</x>
	      <y>0</y>
	    </Point>
	    <Point>
	      <x>600</x>
	      <y>0</y>
	    </Point>
	    <Point>
	      <x>600</x>
	      <y>600</y>
	    </Point>
	    <Point>
	      <x>0</x>
	      <y>600</y>
	    </Point>
	  </Region>
        </RegionList>
        <PropertyList> 
	  <Property>
	    <description>faceScore</description>
	    <value>100</value>
	  </Property>
          <Property>
	    <description>ageGroup</description>
	    <value>100</value>
	  </Property>
          <Property>
	    <description>gender</description>
	    <value>male</value>
	  </Property>
	</PropertyList>
      </Target>
    </TargetList>
  </TargetDetection>
</Metadata>
targetID

Person target ID

ruleID

Rule ID

recognition

Recognition target type, here it is face.

RegionList

Coordinates of face target position