XML message about general metadata of video
<Metadata version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema"> <type> <!--required, xs:string, ruleTarget (rule metadata), activityTarget (real-time target metadata), PTZ (PTZ metadata); the rules will be uploaded when request started and rule changed only, while the real-time target will be uploaded when it is detected--> </type> <subType> <!--optional, xs:string, sub metadata type: "thermometry"-real-time temperature measurement, "fireDetection"-fire source detection, "shipsDetection"-ship detection, "behaviorAnalysis"-behavior analysis, "ANPR", "personQueue"-queue management, "faceSnap"-face capture, "personalTrack"-personal tracking; when the target is not in the detection rule range, it will not be uploaded--> </subType> <time><!--required, xs:time, ISO8601, it corrects to millisecond, e.g., 2017-01-11T17:43:30.256+08:00--></time> <DevInfo><!--optional, device information, it is used to differentiate the device when crossing domain and multicasting--> <ipAddress><!--dependent, xs:string--></ipAddress> <ipv6Address><!--dependent, xs:string--></ipv6Address> <portNo><!--required, xs:integer--></portNo> <macAddress><!--required, xs:string--></macAddress> <channel><!--dependent, xs:integer --></channel> <domainName><!--optional, xs:string--></domainName> </DevInfo> <TargetDetection><!--optional--> <TargetList><!--required, uploading multiple targets at same time is allowed--> <Target><!--required--> <targetID> <!--optional, xs:integer, target ID, it is valid for the real-time target uploading of ship detection and behavior analysis. The system or client can draw the moving target pattern according to this field--> </targetID> <recognition><!—optional,xs:string, "human, vehicle, ship"--></recognition> <ruleID><!—optional,xs:integer, detection rule ID--></ruleID> <RegionList><!--optional, target position, it will not be uploaded when the rule is invalid, point, line, and region--> <Region> <Point> <x><!--required, xs:integer--></x> <y><!--required, xs:integer--></y> </Point> </Region> </RegionList> <PropertyList> <!--optional, target attribute--> <Property> <description><!--optional--></description> <value><!--optional--></value> </Property> </PropertyList> </Target> </TargetList> </TargetDetection> <PTZInfo><!--optional, PTZ position--> <elevation><!--required, xs:float, -90.000 to 270.000--></elevation> <azimuth><!--required, xs:float, 0 to 360.000--></azimuth> <zoom><!--optional, xs:float, 0 to 100000.00--></zoom> <focus><!--optional, xs:integer, 0 to 100000--></focus> <presetNo><!—optional, xs:integer--></presetNo> </PTZInfo> </Metadata>
For different detection types, the metadata details are different, see the table below.
Detection Type |
Metadata Details |
---|---|
Thermal Related (Real-Time Temperature Measurement, Fire Source Detection, and Ship Detection) |
|
Behavior Analysis |
|
ANPR |
|
Queue Management (Waiting Time Detection and People Queuing-up Detection) |
|
Face Capture |
XML message about general metadata of video
<Metadata version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema"> <type> <!--required, xs:string, ruleTarget (rule metadata), activityTarget (real-time target metadata), PTZ (PTZ metadata); the rules will be uploaded when request started and rule changed only, while the real-time target will be uploaded when it is detected--> </type> <subType> <!--optional, xs:string, sub metadata type: "thermometry"-real-time temperature measurement, "fireDetection"-fire source detection, "shipsDetection"-ship detection, "behaviorAnalysis"-behavior analysis, "ANPR", "personQueue"-queue management, "faceSnap"-face capture, "personalTrack"-personal tracking; when the target is not in the detection rule range, it will not be uploaded--> </subType> <time><!--required, xs:time, ISO8601, it corrects to millisecond, e.g., 2017-01-11T17:43:30.256+08:00--></time> <DevInfo><!--optional, device information, it is used to differentiate the device when crossing domain and multicasting--> <ipAddress><!--dependent, xs:string--></ipAddress> <ipv6Address><!--dependent, xs:string--></ipv6Address> <portNo><!--required, xs:integer--></portNo> <macAddress><!--required, xs:string--></macAddress> <channel><!--dependent, xs:integer --></channel> <domainName><!--optional, xs:string--></domainName> </DevInfo> <TargetDetection><!--optional--> <TargetList><!--required, uploading multiple targets at same time is allowed--> <Target><!--required--> <targetID> <!--optional, xs:integer, target ID, it is valid for the real-time target uploading of ship detection and behavior analysis. The system or client can draw the moving target pattern according to this field--> </targetID> <recognition><!—optional,xs:string, "human, vehicle, ship"--></recognition> <ruleID><!—optional,xs:integer, detection rule ID--></ruleID> <RegionList><!--optional, target position, it will not be uploaded when the rule is invalid, point, line, and region--> <Region> <Point> <x><!--required, xs:integer--></x> <y><!--required, xs:integer--></y> </Point> </Region> </RegionList> <PropertyList> <!--optional, target attribute--> <Property> <description><!--optional--></description> <value><!--optional--></value> </Property> </PropertyList> </Target> </TargetList> </TargetDetection> <PTZInfo><!--optional, PTZ position--> <elevation><!--required, xs:float, -90.000 to 270.000--></elevation> <azimuth><!--required, xs:float, 0 to 360.000--></azimuth> <zoom><!--optional, xs:float, 0 to 100000.00--></zoom> <focus><!--optional, xs:integer, 0 to 100000--></focus> <presetNo><!—optional, xs:integer--></presetNo> </PTZInfo> </Metadata>
For different detection types, the metadata details are different, see the table below.
Detection Type |
Metadata Details |
---|---|
Thermal Related (Real-Time Temperature Measurement, Fire Source Detection, and Ship Detection) |
|
Behavior Analysis |
|
ANPR |
|
Queue Management (Waiting Time Detection and People Queuing-up Detection) |
|
Face Capture |