XML message about hard hat detection parameters
<SafetyHelmetDetection version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<normalizedScreenSize><!--required, ro, normalized value-->
<normalizedScreenWidth>
<!--required, xs:integer-->
</normalizedScreenWidth>
<normalizedScreenHeight>
<!--required, xs:integer-->
</normalizedScreenHeight>
</normalizedScreenSize>
<enabled>
<!--optional, xs:string, whether to enable the rule: "true"-yes (default), "false"-no-->
</enabled>
<SafetyHelmetDetectionRegionList/><!--optional, refer to XML_SafetyHelmetDetectionRegionList for details-->
<stackTarget>
<!--required, xs:boolean, whether to overlay alarm target frame: "true"-yes, "false"-no-->
</stackTarget>
<stackRule>
<!--required, xs:boolean, whether to overlay alarm rule frame: "true"-yes, "false"-no-->
</stackRule>
<alarmLinkageDuration>
<!--required, xs:string, alarm linkage duration: "5,10,30,60,120,300,600", unit: second-->
</alarmLinkageDuration>
<ImageParam>
<Resolution>
<id>
<!--required, xs:string-->
</id>
<name>
<!--required, xs:string, opt="1080p, 720p, D1"-->
</name>
<value>
<!--required, xs:string, opt="1920*1080,1280*720,740*576"-->
</value>
</Resolution>
<quality>
<!--required, xs:string, picture quality: "best", "good", "general"-normal-->
</quality>
<alarmUpload>
<!--required, xs:boolean, whether to upload alarm picture: "true"-yes, "false"-no"-->
</alarmUpload>
<localStorage>
<!--optional, xs:boolean, whether to store pictures locally: "true"-yes "false"-no-->
</localStorage>
</ImageParam>
<videoOverlay><!--video overlay parameters-->
<stackTarget><!--required, xs:boolean, whether to overlay the target frame--></stackTarget>
<stackRule><!--required, xs:boolean, whether to overlay rule frame--></stackRule>
</videoOverlay>
<analysisMode>
<!--optional, string, ro, analysis mode: "realTimeMode"-real time, "autoSwitchMode"-auto switch. The engine also has its analysis mode (refer to the <analysisMode> node in /ISAPI/Intelligent/analysisEngines/<ID>). The device will be added to the engine with the same analysis mode via the load balancing method. If the engine is not configured correspondingly, this node will be failed to e returned, and the error code of taskNotMatchEngine will be returned-->realTimeMode
</analysisMode>
</SafetyHelmetDetection>