sdkcountingip-camera

How to get pedestrian number from Hikvision camera?


I have a Hikvision IP Camera with built in people counting application. I am trying to build an desktop/web application, which read the number of people passed and process it. I just wanna know how can i catch the number of these people, no mater with what programming language. Camera model is Hikvision iDS-2CD6412FWD/C. Any answer matter. Thank you.


Solution

  • So the endpoint is:

    /ISAPI/System/Video/inputs/channels/1/counting/search 
    

    and the xml body is:

    <?xml version="1.0" encoding="utf-16"?>
    <countingStatisticsDescription xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
        <reportType>daily</reportType>
        <timeSpanList>
            <timeSpan>
               <startTime>2017-05-03T00:00:00</startTime>
                <endTime>2017-05-03T23:59:59</endTime>
            </timeSpan>
        </timeSpanList>
    </countingStatisticsDescription>