我无法从海康威视视频中心获取车牌信息。我想使用 API 访问它。
我从ANPR海康视觉网络视频中心获取车辆车牌信息时得到如下所示的响应。
<ResponseStatus xmlns="http://www.isapi.org/ver20/XMLSchema" version="2.0">
<requestURL>/ISAPI/Traffic/channels/1/vehicleDetect/plates</requestURL>
<statusCode>2</statusCode>
<statusString>Device Busy</statusString>
<subStatusCode>serviceUnavailable</subStatusCode>
</ResponseStatus>
我想要如下所示的回复。
<Plates version="2.0">
<Plate>
<captureTime>20340109T094130+0400</captureTime>
<plateNumber>A 39837</plateNumber>
<picName>203401090941300600</picName>
<country>NON</country>
<laneNo>1</laneNo>
<direction>reverse</direction>
<matchingResult>otherlist</matchingResult>
</Plate>
</Plates>
您可以尝试需要 xml 正文的 post 命令: https://tpp.hikvision.com/wiki/isapi/anpr/GUID-24DC47D2-14B8-4048-BB90-26746F9C785D.html 它适用于我的海康威视 anpr 相机