我想从 LPR 海康威视相机检索车牌,但 xml 文件仅返回最后 20 个车牌。有人可以帮助我正确定义 xml 参数以检索更多注册表吗?
POST URL:.../ISAPI/Traffic/channels/1/vehicleDetect/plates
发布 XML:
<?xml version="1.0" encoding="UTF-8"?>
<AfterTime version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<picTime>2020-06-10T00:00:00Z</picTime>
</AfterTime>
XML 返回此:
<?xml version="1.0" encoding="UTF-8"?>
<Plates version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<Plate>
<captureTime>20200510...</captureTime>
<plateNumber>xxxxxxx</plateNumber>
<picName>20200510...</picName>
<country>xxx</country>
<laneNo>1</laneNo>
<direction>forward</direction>
<matchingResult>otherlist</matchingResult>
</Plate>
... + 19 ...
</Plates>
网址是
ISAPI/ContentMgmt/search
POST 参数格式为
<?xml version: '1.0' encoding='utf-8'?>
<CMSearchDescription>
<searchID>ANY_STRING_HERE</searchID><trackIDList><trackID>103</trackID></trackIDList>
<timeSpanList><timeSpan><startTime>2020-06-22T02:25:13Z</startTime><endTime>2021-06-22T02:25:13Z</endTime></timeSpan></timeSpanList>
<contentTypeList><contentType>metadata</contentType></contentTypeList>
<maxResults>100</maxResults><searchResultPostion>0</searchResultPostion>
<metadataList>
<metadataDescriptor>//recordType.meta.std-cgi.com/vehicleDetection</metadataDescriptor>
<SearchProperity><plateSearchMask/><nation>255</nation></SearchProperity>
</metadataList>
</CMSearchDescription>
trackID
对于您的相机,参数可能会有所不同