I am testing an ANPR camera, the DS-2CD4A25FWD-IZS running V5.3.3 build 150610
It's jolly good at ANPR but it's quite hard to integrate it with other systems.
We have a Linux based management database and I want to catch Number Plates entering and leaving each depot.
So far I have managed to grab the list of detected plates from the camera and inject that into our MySQL
curl -d "<AfterTime><picTime>201511261145521160</picTime></AfterTime>" http://admin:[email protected]/ISAPI/Traffic/channels/1/vehicleDetect/plates
It works OK but I have to poll, it would be nice to receive a notification
I tried to use /Event/notification/httpHost/ but it doesn't fire for Plate Detection :-(
root@myserver:~$ curl http://admin:[email protected]/Event/notification/httpHost/
<?xml version="1.0" encoding="UTF-8"?>
<HttpHostNotificationList version="1.0" xmlns="http://www.hikvision.com/ver10/XMLSchema">
<HttpHostNotification version="1.0" xmlns="http://www.hikvision.com/ver10/XMLSchema">
<id>1</id>
<url></url>
<protocolType>HTTP</protocolType>
<parameterFormatType>XML</parameterFormatType>
<addressingFormatType>ipaddress</addressingFormatType>
<ipAddress>0.0.0.0</ipAddress>
<portNo>80</portNo>
<userName></userName>
<httpAuthenticationMethod>none</httpAuthenticationMethod>
</HttpHostNotification>
</HttpHostNotificationList>
Anyone else playing with this sort of stuff?
Simon
Staffordshire, UK
It's jolly good at ANPR but it's quite hard to integrate it with other systems.
We have a Linux based management database and I want to catch Number Plates entering and leaving each depot.
So far I have managed to grab the list of detected plates from the camera and inject that into our MySQL
curl -d "<AfterTime><picTime>201511261145521160</picTime></AfterTime>" http://admin:[email protected]/ISAPI/Traffic/channels/1/vehicleDetect/plates
It works OK but I have to poll, it would be nice to receive a notification
I tried to use /Event/notification/httpHost/ but it doesn't fire for Plate Detection :-(
root@myserver:~$ curl http://admin:[email protected]/Event/notification/httpHost/
<?xml version="1.0" encoding="UTF-8"?>
<HttpHostNotificationList version="1.0" xmlns="http://www.hikvision.com/ver10/XMLSchema">
<HttpHostNotification version="1.0" xmlns="http://www.hikvision.com/ver10/XMLSchema">
<id>1</id>
<url></url>
<protocolType>HTTP</protocolType>
<parameterFormatType>XML</parameterFormatType>
<addressingFormatType>ipaddress</addressingFormatType>
<ipAddress>0.0.0.0</ipAddress>
<portNo>80</portNo>
<userName></userName>
<httpAuthenticationMethod>none</httpAuthenticationMethod>
</HttpHostNotification>
</HttpHostNotificationList>
Anyone else playing with this sort of stuff?
Simon
Staffordshire, UK