XML message about radar behavior analysis 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> <TargetDetection> <TargetList> <Target> <ruleID>1</ruleID> <PolarCoordinatesList> <Coordinate> <angle>30</angle> <distance>10</distance> </Coordinate> </PolarCoordinatesList> </Target> </TargetList> </TargetDetection> </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> <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>
<?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>
<?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>
<?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>
<?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>
Required, xs: string, sub event type of behavior analysis: linedetection (line crossing detection), fielddetection (intrusion detection).
Optional, xs: boolean, whether the rule is triggered: true (yes), if it is not triggered, this field will not be returned.
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".
Required, xs: integer, target speed.
Required, xs: integer, target distance (relative to polar coordinate).
Required, xs: float, target angle (relative to polar coordinate).
Optional, xs: boolean, whether the event has occurred: true (yes). If it does not occur, this field will not be returned.
XML message about radar behavior analysis 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> <TargetDetection> <TargetList> <Target> <ruleID>1</ruleID> <PolarCoordinatesList> <Coordinate> <angle>30</angle> <distance>10</distance> </Coordinate> </PolarCoordinatesList> </Target> </TargetList> </TargetDetection> </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> <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>
<?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>
<?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>
<?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>
<?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>
Required, xs: string, sub event type of behavior analysis: linedetection (line crossing detection), fielddetection (intrusion detection).
Optional, xs: boolean, whether the rule is triggered: true (yes), if it is not triggered, this field will not be returned.
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".
Required, xs: integer, target speed.
Required, xs: integer, target distance (relative to polar coordinate).
Required, xs: float, target angle (relative to polar coordinate).
Optional, xs: boolean, whether the event has occurred: true (yes). If it does not occur, this field will not be returned.