2

我想从 LPR 海康威视相机中检索车牌,但 xml 文件只返回最后 20 个车牌。有人可以帮我正确定义 xml 参数以检索更多注册表吗?

发布网址:.../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>
4

1 回答 1

1

网址是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您的相机的参数可能会有所不同

于 2020-06-21T23:27:47.097 回答