使用 ISAPI 海康威视获取车牌信息时出现设备繁忙错误

问题描述 投票:0回答:1

我无法从海康威视视频中心获取车牌信息。我想使用 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>
sdk isapi automatic-license-plate-recognition hikvision
1个回答
0
投票

您可以尝试需要 xml 正文的 post 命令: https://tpp.hikvision.com/wiki/isapi/anpr/GUID-24DC47D2-14B8-4048-BB90-26746F9C785D.html 它适用于我的海康威视 anpr 相机

© www.soinside.com 2019 - 2024. All rights reserved.