XML message about behavior analysis metadata
When Behavior Analysis Alarm is Not Triggered
<Metadata version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema"> <type>ruleTarget</type> <subType>behaviorAnalysis</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>100</x> <y>100</y> </Point> <Point> <x>600</x> <y>600</y> </Point> </Region> </RegionList> <PropertyList> <Property> <description>eventType</description> <value>linedetection</value> </Property> <Property> <description>crossdirection</description> <value>lefttoright</value> </Property> </PropertyList> </Target> </TargetList> </TargetDetection> </Metadata>
When Behavior Analysis Alarm is Triggered
<Metadata version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema"> <type>ruleTarget</type> <subType>behaviorAnalysis</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>100</x> <y>100</y> </Point> <Point> <x>600</x> <y>600</y> </Point> </Region> </RegionList> <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> </Target> </TargetList> </TargetDetection> </Metadata>
Required, behavior analysis alarm category, including linedetection (line crossing detection), fielddetection (intrusion detection), regionEntrance (region entrance detection), regionExiting (region exiting detection), parking (parking detection), loitering (loitering detection), group (people gathering detection), rapidMove (fast moving detection), unattendedBaggage (unattended baggage detection), attendedBaggage (object removal detection).
Optional, the alarm is triggered or not, true-triggered, if not triggered, this field is invalid.
Optional, line crossing detection, including lefttoright (left to right), righttoleft (right to left), bothdirection (bidirection). When the eventType is linedetection, this field is required.
When Behavior Analysis Alarm is Not Triggered
<Metadata version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema"> <type>activityTarget</type> <subType>behaviorAnalysis</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> <recognition>human</recognition> <RegionList> <Region> <Point> <x>0</x> <y>0</y> </Point> <Point> <x>50</x> <y>0</y> </Point> <Point> <x>50</x> <y>50</y> </Point> <Point> <x>0</x> <y>50</y> </Point> </Region> </RegionList> <PropertyList> <Property> <description>triggerEvent</description> <value>false</value> </Property> </PropertyList> </Target> </TargetList> </TargetDetection> </Metadata>
When Behavior Analysis Alarm is Triggered
<Metadata version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema"> <type>activityTarget</type> <subType>behaviorAnalysis</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> <recognition>human</recognition> <RegionList> <Region> <Point> <x>100</x> <y>100</y> </Point> <Point> <x>150</x> <y>100</y> </Point> <Point> <x>150</x> <y>150</y> </Point> <Point> <x>100</x> <y>150</y> </Point> </Region> </RegionList> <PropertyList> <Property> <description>triggerEvent</description> <value>true</value> </Property> <Property> <description>eventType</description> <value>linedetection</value> </Property> </PropertyList> </Target> </TargetList> </TargetDetection> </Metadata>
XML message about behavior analysis metadata
When Behavior Analysis Alarm is Not Triggered
<Metadata version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema"> <type>ruleTarget</type> <subType>behaviorAnalysis</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>100</x> <y>100</y> </Point> <Point> <x>600</x> <y>600</y> </Point> </Region> </RegionList> <PropertyList> <Property> <description>eventType</description> <value>linedetection</value> </Property> <Property> <description>crossdirection</description> <value>lefttoright</value> </Property> </PropertyList> </Target> </TargetList> </TargetDetection> </Metadata>
When Behavior Analysis Alarm is Triggered
<Metadata version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema"> <type>ruleTarget</type> <subType>behaviorAnalysis</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>100</x> <y>100</y> </Point> <Point> <x>600</x> <y>600</y> </Point> </Region> </RegionList> <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> </Target> </TargetList> </TargetDetection> </Metadata>
Required, behavior analysis alarm category, including linedetection (line crossing detection), fielddetection (intrusion detection), regionEntrance (region entrance detection), regionExiting (region exiting detection), parking (parking detection), loitering (loitering detection), group (people gathering detection), rapidMove (fast moving detection), unattendedBaggage (unattended baggage detection), attendedBaggage (object removal detection).
Optional, the alarm is triggered or not, true-triggered, if not triggered, this field is invalid.
Optional, line crossing detection, including lefttoright (left to right), righttoleft (right to left), bothdirection (bidirection). When the eventType is linedetection, this field is required.
When Behavior Analysis Alarm is Not Triggered
<Metadata version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema"> <type>activityTarget</type> <subType>behaviorAnalysis</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> <recognition>human</recognition> <RegionList> <Region> <Point> <x>0</x> <y>0</y> </Point> <Point> <x>50</x> <y>0</y> </Point> <Point> <x>50</x> <y>50</y> </Point> <Point> <x>0</x> <y>50</y> </Point> </Region> </RegionList> <PropertyList> <Property> <description>triggerEvent</description> <value>false</value> </Property> </PropertyList> </Target> </TargetList> </TargetDetection> </Metadata>
When Behavior Analysis Alarm is Triggered
<Metadata version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema"> <type>activityTarget</type> <subType>behaviorAnalysis</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> <recognition>human</recognition> <RegionList> <Region> <Point> <x>100</x> <y>100</y> </Point> <Point> <x>150</x> <y>100</y> </Point> <Point> <x>150</x> <y>150</y> </Point> <Point> <x>100</x> <y>150</y> </Point> </Region> </RegionList> <PropertyList> <Property> <description>triggerEvent</description> <value>true</value> </Property> <Property> <description>eventType</description> <value>linedetection</value> </Property> </PropertyList> </Target> </TargetList> </TargetDetection> </Metadata>