XML_Metadata_RadarBehaviorAnalysis

XML_Metadata_RadarBehaviorAnalysis

XML message about radar behavior analysis metadata

Rule Metadata (Not Triggered)

<?xml version="1.0" encoding="utf-8"?>
<Metadata version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
  <type>ruleTargetRadar</type>
  <subType>behaviorAnalysis</subType>
  <time>2020-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>
    <radarChannel>1</radarChannel>
  </DevInfo>
  <TargetDetection>
    <TargetList>
      <Target>
        <ruleID>1</ruleID>
	<PolarCoordinatesList>
	  <Coordinate>
	    <angle>30</angle>
	    <distance>10</distance>
	  </Coordinate>
	</PolarCoordinatesList>
      </Target>
    </TargetList>
  </TargetDetection>
</Metadata>

Rule Metadata (Triggered)

<?xml version="1.0" encoding="utf-8"?>
<Metadata version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
  <type>ruleTargetRadar</type>
  <subType>behaviorAnalysis</subType>
  <time>2020-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>
    <radarChannel>1</radarChannel>
  </DevInfo>
  <TargetDetection>
    <TargetList>
      <Target>
        <ruleID>1</ruleID>
	<PolarCoordinatesList>
	  <Coordinate>
	    <angle>30</angle>
	    <distance>10</distance>
	  </Coordinate>
	</PolarCoordinatesList>
      </Target>
    </TargetList>
  </TargetDetection>
  <PropertyList>
    <Property>
      <description>eventType</description>
      <value>linedetection</value>
    </Property>
    <Property>
      <description>triggerEvent</description>
      <value>true</value>
    </Property>
    <Property>
      <description>crossdirection</description>
      <value>lefttoright</value>
    </Property>
  </PropertyList>
</Metadata>

Detection Region Metadata

<?xml version="1.0" encoding="utf-8"?>
<Metadata version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
  <type>ruleTargetRadar</type>
  <subType>behaviorAnalysis</subType>
  <time>2020-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>
    <radarChannel>1</radarChannel>
  </DevInfo>
  <RadarDetectionRegion>
    <angle>30.15</angle>
    <distance>10.50</distance>
    <towards>10.30</towards>
    <VertexPoint>
      <x>0.046</x>
      <y>0.057</y>
    </VertexPoint>
  </RadarDetectionRegion>
</Metadata>

Relative Region Metadata of Video Image

<?xml version="1.0" encoding="utf-8"?>
<Metadata version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
  <type>ruleTargetRadar</type>
  <subType>behaviorAnalysis</subType>
  <time>2020-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>
    <radarChannel>1</radarChannel>
  </DevInfo>
  <VideoDetectionRegion>
    <angle>36.66</angle>
    <fieldView>70.88</fieldView>
  </VideoDetectionRegion>
</Metadata>

Real-Time Target Metadata (Not Triggered)

<?xml version="1.0" encoding="utf-8"?>
<Metadata version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
  <type>ruleTargetRadar</type>
  <subType>behaviorAnalysis</subType>
  <time>2020-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>
    <radarChannel>1</radarChannel>
  </DevInfo>
  <ActivityTargetList>
    <Target>
      <targetID>1</targetID>
      <speed>30</speed>
      <angle>50</angle>
      <distance>30</distance>
    </Target>
  </ActivityTargetList>
</Metadata>

Real-Time Target Metadata (Triggered)

<?xml version="1.0" encoding="utf-8"?>
<Metadata version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
  <type>ruleTargetRadar</type>
  <subType>behaviorAnalysis</subType>
  <time>2020-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>
    <radarChannel>1</radarChannel>
  </DevInfo>
  <ActivityTargetList>
    <Target>
      <targetID>1</targetID>
      <speed>30</speed>
      <angle>50</angle>
      <distance>30</distance>
      <PropertyList>
	<Property>
	  <description>triggerEvent</description>
	  <value>true</value>
	</Property>
	<Property>
	  <description>eventType</description>
	  <value>linedetection</value>
	</Property>
      </PropertyList>
    </Target>
  </ActivityTargetList>
</Metadata>

Property Field Description

eventType

Required, xs: string, sub event type of behavior analysis: linedetection (line crossing detection), fielddetection (intrusion detection).

triggerEvent

Optional, xs: boolean, whether the rule is triggered: true (yes), if it is not triggered, this field will not be returned.

crossdirection

Optional, xs: string, line crossing direction: lefttoright (from left to right), righttoleft (from right to left), bothdirection (bidirection). This field is only valid when the value of eventType is "linedetection".

speed

Required, xs: integer, target speed.

distance

Required, xs: integer, target distance (relative to polar coordinate).

angle

Required, xs: float, target angle (relative to polar coordinate).

triggerEvent

Optional, xs: boolean, whether the event has occurred: true (yes). If it does not occur, this field will not be returned.

XML_Metadata_RadarBehaviorAnalysis

XML message about radar behavior analysis metadata

Rule Metadata (Not Triggered)

<?xml version="1.0" encoding="utf-8"?>
<Metadata version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
  <type>ruleTargetRadar</type>
  <subType>behaviorAnalysis</subType>
  <time>2020-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>
    <radarChannel>1</radarChannel>
  </DevInfo>
  <TargetDetection>
    <TargetList>
      <Target>
        <ruleID>1</ruleID>
	<PolarCoordinatesList>
	  <Coordinate>
	    <angle>30</angle>
	    <distance>10</distance>
	  </Coordinate>
	</PolarCoordinatesList>
      </Target>
    </TargetList>
  </TargetDetection>
</Metadata>

Rule Metadata (Triggered)

<?xml version="1.0" encoding="utf-8"?>
<Metadata version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
  <type>ruleTargetRadar</type>
  <subType>behaviorAnalysis</subType>
  <time>2020-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>
    <radarChannel>1</radarChannel>
  </DevInfo>
  <TargetDetection>
    <TargetList>
      <Target>
        <ruleID>1</ruleID>
	<PolarCoordinatesList>
	  <Coordinate>
	    <angle>30</angle>
	    <distance>10</distance>
	  </Coordinate>
	</PolarCoordinatesList>
      </Target>
    </TargetList>
  </TargetDetection>
  <PropertyList>
    <Property>
      <description>eventType</description>
      <value>linedetection</value>
    </Property>
    <Property>
      <description>triggerEvent</description>
      <value>true</value>
    </Property>
    <Property>
      <description>crossdirection</description>
      <value>lefttoright</value>
    </Property>
  </PropertyList>
</Metadata>

Detection Region Metadata

<?xml version="1.0" encoding="utf-8"?>
<Metadata version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
  <type>ruleTargetRadar</type>
  <subType>behaviorAnalysis</subType>
  <time>2020-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>
    <radarChannel>1</radarChannel>
  </DevInfo>
  <RadarDetectionRegion>
    <angle>30.15</angle>
    <distance>10.50</distance>
    <towards>10.30</towards>
    <VertexPoint>
      <x>0.046</x>
      <y>0.057</y>
    </VertexPoint>
  </RadarDetectionRegion>
</Metadata>

Relative Region Metadata of Video Image

<?xml version="1.0" encoding="utf-8"?>
<Metadata version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
  <type>ruleTargetRadar</type>
  <subType>behaviorAnalysis</subType>
  <time>2020-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>
    <radarChannel>1</radarChannel>
  </DevInfo>
  <VideoDetectionRegion>
    <angle>36.66</angle>
    <fieldView>70.88</fieldView>
  </VideoDetectionRegion>
</Metadata>

Real-Time Target Metadata (Not Triggered)

<?xml version="1.0" encoding="utf-8"?>
<Metadata version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
  <type>ruleTargetRadar</type>
  <subType>behaviorAnalysis</subType>
  <time>2020-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>
    <radarChannel>1</radarChannel>
  </DevInfo>
  <ActivityTargetList>
    <Target>
      <targetID>1</targetID>
      <speed>30</speed>
      <angle>50</angle>
      <distance>30</distance>
    </Target>
  </ActivityTargetList>
</Metadata>

Real-Time Target Metadata (Triggered)

<?xml version="1.0" encoding="utf-8"?>
<Metadata version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
  <type>ruleTargetRadar</type>
  <subType>behaviorAnalysis</subType>
  <time>2020-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>
    <radarChannel>1</radarChannel>
  </DevInfo>
  <ActivityTargetList>
    <Target>
      <targetID>1</targetID>
      <speed>30</speed>
      <angle>50</angle>
      <distance>30</distance>
      <PropertyList>
	<Property>
	  <description>triggerEvent</description>
	  <value>true</value>
	</Property>
	<Property>
	  <description>eventType</description>
	  <value>linedetection</value>
	</Property>
      </PropertyList>
    </Target>
  </ActivityTargetList>
</Metadata>

Property Field Description

eventType

Required, xs: string, sub event type of behavior analysis: linedetection (line crossing detection), fielddetection (intrusion detection).

triggerEvent

Optional, xs: boolean, whether the rule is triggered: true (yes), if it is not triggered, this field will not be returned.

crossdirection

Optional, xs: string, line crossing direction: lefttoright (from left to right), righttoleft (from right to left), bothdirection (bidirection). This field is only valid when the value of eventType is "linedetection".

speed

Required, xs: integer, target speed.

distance

Required, xs: integer, target distance (relative to polar coordinate).

angle

Required, xs: float, target angle (relative to polar coordinate).

triggerEvent

Optional, xs: boolean, whether the event has occurred: true (yes). If it does not occur, this field will not be returned.