Capability message of setting behavior analysis in XML format.
<RuleInfo version="2.0" xmlns="http://www.isapi.com/ver20/XMLSchema"> <ruleId opt="1,2,3,4,5,6,7,8"><!—required, xs:string-></ruleId> <ruleName min="" max=""> <!—required, xs:string-> </ruleName> <combinedRuleId opt="15,16"><!—required, xs:string-></combinedRuleId> <enabled opt="true,false"><!—required, xs:boolean-></enabled> <ruleType opt="region,line"><!—required, xs:string->/ruleType> <LineDetectionParam> <detectionTarget opt="all,human,vehicle, human_vehicle "/> <!—detection target, node with underline indicates that it supports multiple selections, e.g., human_vehicle indicates human and vehicle--> <directionSensitivity opt="left-right,right-left,any" def="any"><!—required, xs:string-></directionSensitivity> <isSupportHumanMisinfoFilter> <!--optional, xs:boolean, whether supports false alarm filter of human: true-supports, false or no return-not support--> </isSupportHumanMisinfoFilter> <isSupportVehicleMisinfoFilter> <!--optional, xs:boolean, whether supports false alarm filter of vehicle: true-supports, false or no return-not support--> </isSupportVehicleMisinfoFilter> <sensitivity min="1" max="100" default="50"><!--required, xs:integer, sensitivity, from 1 to 100--></sensitivity> </LineDetectionParam> <FieldDetectionParam> <durationTime min="1" max="100" def="5"><!--required,xs:integer--> </durationTime> <sensitivityLevel min="1" max="100"><!—required, xs:integer, sensitivity from 0 to 100--> </sensitivityLevel> <detectionTarget opt="all,human,vehicle, human_vehicle "/> <!—detection target, node with underline indicates that it supports multiple selections, e.g., human_vehicle indicates human and vehicle--> <isSupportHumanMisinfoFilter> <!--optional, xs:boolean, whether supports false alarm filter of human: true-supports, false or no return-not support--> </isSupportHumanMisinfoFilter> <isSupportVehicleMisinfoFilter> <!--optional, xs:boolean, whether supports false alarm filter of vehicle: true-supports, false or no return-not support--> </isSupportVehicleMisinfoFilter> </FieldDetectionParam> <RegionEntranceParam> <detectionTarget opt="all,human,vehicle, human_vehicle "/> <!—detection target, node with underline indicates that it supports multiple selections, e.g., human_vehicle indicates human and vehicle--> <isSupportHumanMisinfoFilter> <!--optional, xs:boolean, whether supports false alarm filter of human: true-supports, false or no return-not support--> </isSupportHumanMisinfoFilter> <isSupportVehicleMisinfoFilter> <!--optional, xs:boolean, whether supports false alarm filter of vehicle: true-supports, false or no return-not support--> </isSupportVehicleMisinfoFilter> </RegionEntranceParam> <RegionExitingParam> <detectionTarget opt="all,human,vehicle, human_vehicle "/><!—detection target, node with underline indicates that it supports multiple selections, e.g., human_vehicle indicates human and vehicle--> <isSupportHumanMisinfoFilter> <!--optional, xs:boolean, whether supports false alarm filter of human, true-supports, false or no return-not support--> </isSupportHumanMisinfoFilter> <isSupportVehicleMisinfoFilter> <!--optional, xs:boolean, whether supports false alarm filter of vehicle, true-supports, false or no return-not support--> </isSupportVehicleMisinfoFilter> </RegionExitingParam> <PeopleNumChangeParam> <peopleNumThreshold min="" max="" default=""><!--optional, xs:integer--></peopleNumThreshold> <detectMode opt="greaterthan,lessThan,equal,notEqual"><!--optional, xs:string--></detectMode> <noneStateEffectiveEnabled><!--optional,xs:boolean--></noneStateEffectiveEnabled> <durationTime min="" max="" default=""><!--optional, xs:integer--></durationTime> </PeopleNumChangeParam> <SpacingChangeParam> <spacingThreshold min="" max="" default=""><!--optional, xs: integer--></spacingThreshold> <detectMode><!--optional,xs:string,"greaterthan,lessThan"--></detectMode> <durationTime min="" max="" default=""><!--optional, xs:integer--></durationTime> </SpacingChangeParam> <ViolentMotionParam> <sensitivity min="" max="" default=""> <!--optional, xs:integer--> </sensitivity> </ViolentMotionParam> <LeavePositionParam> <leaveDelay min="" max="" default=""><!--optional, xs:integer--></leaveDelay> <onPosition min="" max="" default=""><!--optional, xs:integer--></onPosition> </LeavePositionParam> <FailDownParam> <durationTime min="" max="" default=""><!--optional, xs:integer--></durationTime> <sensitivity min="" max="" def=""><!--optional, xs:integer, sensitivity--></sensitivity> <heightThreshold min="" max="" default=""><!--optional, xs:integer--></heightThreshold> <stackTarget opt="true,false"><!--optional, xs:boolean, whether to overlay alarm target frame--></stackTarget> <stackRule opt="true,false"><!--optional, xs:boolean, whether to overlay alarm rule frame--></stackRule> <interval min="4" max="600" def="1"> <!--optional, int, ro, alarm interval, value range: [4,600]-->1 </interval> </FailDownParam> <RunningParam><!--running detection--> <speed min="" max="" default=""><!--optional, xs:integer--></speed> <durationTime min="" max="" def=""><!--optional, xs:integer, duration time--></durationTime> <sensitivity min="" max="" def=""><!--optional, xs:integer, sensitivity--></sensitivity> <stackTarget opt="true,false"><!--optional, xs:boolean, whether to overlay alarm target frame--></stackTarget> <stackRule opt="true,false"><!--optional, xs:boolean, whether to overlay alarm rule frame--></stackRule> <mode opt="single,many"><!--optional, xs:string, running mode, "single"-single person running, "many"-multiple persons running--></mode> <peopleNum min="1" max="50" def="1"> <!--optional, int, ro, the number of running people, value range: [1,50]-->0 </peopleNum> </RunningParam> <RetentionParam><!--dependent--> <durationTime min="" max="" default=""> <!--required, xs:integer, duration time, from 60 seconds to 3600 seconds, default value: 1800 seconds--> </RetentionParam> <ParkingParam> <durationTime min="5" max="100"><!-- required,xs:integer--> </durationTime> </ParkingParam> <eventType opt="none,lineDetection,fieldDetection,regionEntrance,regionExiting,parking,peopleNumChange,spacingChange,violentMotion,leavePosition,failDown,running,retentionParam,playCellphone"> <!—required, xs:string--> </eventType> <SizeFilter> <enabled opt="true,false"><!—required, xs:boolean--></enabled> <mode opt="pixels,actualSize"><!—required, xs:string, filter mode: "pixels"-filter according to pixel, "actualSize"-filter according to actual size--></mode> <ObjectSizeList size="4"> <ObjectSize><!--only return the default value of supported detection type--> <detectionTarget><!--optional,xs:string, detection target, "all"-all, "human"-human, "vehicle"-vehicle, "human_vehicle"-human and vehicle--></detectionTarget> <MaxObjectSize><!--maximum size:float--> <positionX><!--required, xs:integer;coordinate--></positionX> <positionY><!--required, xs:integer;coordinate--></positionY> <width><!--required, xs:integer, default width value: when detectionTarget values "all", it is 500, "human"-200, "vehicle"-500, "human_vehicle"-500, unit: cm--></width> <height><!--required, xs:integer, default height value: when detectionTarget values "all", it is 100, "human"-300, "vehicle"-100, "human_vehicle"-100, unit: cm --></height> </MaxObjectSize> <MinObjectSize><!--minimum size:float--> <positionX><!--required, xs:integer;coordinate--></positionX> <positionY><!--required, xs:integer;coordinate--></positionY> <width><!--required, xs:integer, default width value: when detectionTarget values "all", it is 60, "human"-60, "vehicle"-180, "human_vehicle"-60, unit: cm--></width> <height><!--required, xs:integer, default height value: when detectionTarget values "all", it is 10, "human"-10, "vehicle"-140, "human_vehicle"-10, unit: cm--></height> </MinObjectSize> </ObjectSize> </ObjectSizeList> </SizeFilter> <RuleRegion> <RegionCoordinatesList size="4"> <RegionCoordinates> <positionX min="" max=""><!--required, xs:integer--></positionX> <positionY min="" max=""><!--required, xs:integer--></positionY> </RegionCoordinates> </RegionCoordinatesList> </RuleRegion> <backgroundSuppression opt="open,close,selfAdapt"><!--optional, xs:string, background suppression--></backgroundSuppression> <PlayCellphoneParam><!--optional, playing mobile phone--> <durationTime min="1" max="3600" def=""><!--optional, xs:integer, duration time--></durationTime> <stackTarget opt="true,false"><!--optional, xs:boolean, whether to overlay alarm target frame--></stackTarget> <stackRule opt="true,false"><!--optional, xs:boolean, whether to overlay alarm rule frame--></stackRule> </PlayCellphoneParam> <streetBehavior opt="running,group,violentMotion,failDown"> <!--optional, xs:string, street behavior capability: "running"-fast moving, "group"-people gathering, "violentMotion"-violent motion, "failDown"-failing down--> </streetBehavior> <workBehavior opt="playCellphone,peopleNumChange,leavePosition,retention"> <!--optional, xs:string, working behavior capability: "playCellphone"-playing mobile phone, "peopleNumChange"-number of persons changed, "leavePosition"-absent, "retention"-loitering--> </workBehavior> <isSupportMultiRules><!--optional, xs:boolean, whether it supports multiple rules for one event; by default, only one rule can be configured for one event--></isSupportMultiRules> <isSupportSchedulesEventType><!--optional, xs:boolean, whether to configure arming schedule by event type; by default, it is configured by rule ID--></isSupportSchedulesEventType> <isSupportTriggerEventType><!--optional, xs:boolean, whether to configure alarm linkage by event type; by default, it is configured by rule ID--></isSupportTriggerEventType> <analysisMode opt="realTimeMode,autoSwitchMode"><!--optional, xs:string, analysis mode, the default mode is "realTimeMode"--></analysisMode> </RuleInfo>
When the mode values "actualSize", the input value of positionX and positionY is 0.