Hikvision ids 2cd7a46g0 izhs people counting

digiteltlc

Young grasshopper
Joined
Sep 23, 2016
Messages
37
Reaction score
7
New to people counting world
Does these cameras need a dedicated proprietary NVR / Software to act as people counting device ?
Or can it be done stand-alone storing info in standard form (numbers, strings, database) using standard protocols (ftp, smb, etc.) ?
Thanks
 

trempa92

Pulling my weight
Joined
Mar 26, 2020
Messages
736
Reaction score
230
Location
Croatia,Zagreb
If you still didn't buy camera, rather go for real people counting camera. for example DS-2CD6825G0/C-IS

But if you already have series 7 camera which can count but its counting error margin is higher, can store data to its SD card, and you can fetch data using ISAPI POST requests and parse as you want it in any code you want it on any front you want.

Usually for real people counting camera it looks like this:

url we send POST to:

ip:port/ISAPI/System/Video/inputs/channels/1/counting/search

xml body for DAILY(you get hourly intervals): / you can also ask for weekly/monthly/yearly

<?xml version: "1.0" encoding="UTF-8"?>
<CountingStatisticsDescription>
<reportType>daily</reportType>
<timeSpanList>
<timeSpan>
<startTime>2024-01-08T00:00:00</startTime>
<endTime>2024-01-08T23:59:59</endTime>
</timeSpan>
</timeSpanList>
<MinTimeInterval>day</MinTimeInterval>
<child>false</child>
</CountingStatisticsDescription>



Response is something like this for daily:


Code:
<?xml version="1.0" encoding="UTF-8"?>
<CountingStatisticsResult version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
    <responseStatus>OK</responseStatus>
    <responseStatusStrg>OK</responseStatusStrg>
    <matchList>
        <matchElement>
            <timeSpan>
                <startTime>2024-01-08T00:00:00</startTime>
                <endTime>2024-01-08T00:59:59</endTime>
            </timeSpan>
            <enterCount>0</enterCount>
            <exitCount>0</exitCount>
        </matchElement>
        <matchElement>
            <timeSpan>
                <startTime>2024-01-08T01:00:00</startTime>
                <endTime>2024-01-08T01:59:59</endTime>
            </timeSpan>
            <enterCount>0</enterCount>
            <exitCount>0</exitCount>
        </matchElement>
        <matchElement>
            <timeSpan>
                <startTime>2024-01-08T02:00:00</startTime>
                <endTime>2024-01-08T02:59:59</endTime>
            </timeSpan>
            <enterCount>0</enterCount>
            <exitCount>0</exitCount>
        </matchElement>
        <matchElement>
            <timeSpan>
                <startTime>2024-01-08T03:00:00</startTime>
                <endTime>2024-01-08T03:59:59</endTime>
            </timeSpan>
            <enterCount>0</enterCount>
            <exitCount>0</exitCount>
        </matchElement>
        <matchElement>
            <timeSpan>
                <startTime>2024-01-08T04:00:00</startTime>
                <endTime>2024-01-08T04:59:59</endTime>
            </timeSpan>
            <enterCount>0</enterCount>
            <exitCount>0</exitCount>
        </matchElement>
        <matchElement>
            <timeSpan>
                <startTime>2024-01-08T05:00:00</startTime>
                <endTime>2024-01-08T05:59:59</endTime>
            </timeSpan>
            <enterCount>0</enterCount>
            <exitCount>0</exitCount>
        </matchElement>
        <matchElement>
            <timeSpan>
                <startTime>2024-01-08T06:00:00</startTime>
                <endTime>2024-01-08T06:59:59</endTime>
            </timeSpan>
            <enterCount>4</enterCount>
            <exitCount>3</exitCount>
        </matchElement>
        <matchElement>
            <timeSpan>
                <startTime>2024-01-08T07:00:00</startTime>
                <endTime>2024-01-08T07:59:59</endTime>
            </timeSpan>
            <enterCount>16</enterCount>
            <exitCount>0</exitCount>
        </matchElement>
        <matchElement>
            <timeSpan>
                <startTime>2024-01-08T08:00:00</startTime>
                <endTime>2024-01-08T08:59:59</endTime>
            </timeSpan>
            <enterCount>4</enterCount>
            <exitCount>3</exitCount>
        </matchElement>
        <matchElement>
            <timeSpan>
                <startTime>2024-01-08T09:00:00</startTime>
                <endTime>2024-01-08T09:59:59</endTime>
            </timeSpan>
            <enterCount>1</enterCount>
            <exitCount>1</exitCount>
        </matchElement>
        <matchElement>
            <timeSpan>
                <startTime>2024-01-08T10:00:00</startTime>
                <endTime>2024-01-08T10:59:59</endTime>
            </timeSpan>
            <enterCount>2</enterCount>
            <exitCount>1</exitCount>
        </matchElement>
        <matchElement>
            <timeSpan>
                <startTime>2024-01-08T11:00:00</startTime>
                <endTime>2024-01-08T11:59:59</endTime>
            </timeSpan>
            <enterCount>4</enterCount>
            <exitCount>4</exitCount>
        </matchElement>
        <matchElement>
            <timeSpan>
                <startTime>2024-01-08T12:00:00</startTime>
                <endTime>2024-01-08T12:59:59</endTime>
            </timeSpan>
            <enterCount>1</enterCount>
            <exitCount>1</exitCount>
        </matchElement>
        <matchElement>
            <timeSpan>
                <startTime>2024-01-08T13:00:00</startTime>
                <endTime>2024-01-08T13:59:59</endTime>
            </timeSpan>
            <enterCount>1</enterCount>
            <exitCount>1</exitCount>
        </matchElement>
        <matchElement>
            <timeSpan>
                <startTime>2024-01-08T14:00:00</startTime>
                <endTime>2024-01-08T14:59:59</endTime>
            </timeSpan>
            <enterCount>2</enterCount>
            <exitCount>3</exitCount>
        </matchElement>
        <matchElement>
            <timeSpan>
                <startTime>2024-01-08T15:00:00</startTime>
                <endTime>2024-01-08T15:59:59</endTime>
            </timeSpan>
            <enterCount>0</enterCount>
            <exitCount>0</exitCount>
        </matchElement>
        <matchElement>
            <timeSpan>
                <startTime>2024-01-08T16:00:00</startTime>
                <endTime>2024-01-08T16:59:59</endTime>
            </timeSpan>
            <enterCount>0</enterCount>
            <exitCount>13</exitCount>
        </matchElement>
        <matchElement>
            <timeSpan>
                <startTime>2024-01-08T17:00:00</startTime>
                <endTime>2024-01-08T17:59:59</endTime>
            </timeSpan>
            <enterCount>0</enterCount>
            <exitCount>1</exitCount>
        </matchElement>
        <matchElement>
            <timeSpan>
                <startTime>2024-01-08T18:00:00</startTime>
                <endTime>2024-01-08T18:59:59</endTime>
            </timeSpan>
            <enterCount>0</enterCount>
            <exitCount>0</exitCount>
        </matchElement>
        <matchElement>
            <timeSpan>
                <startTime>2024-01-08T19:00:00</startTime>
                <endTime>2024-01-08T19:59:59</endTime>
            </timeSpan>
            <enterCount>0</enterCount>
            <exitCount>0</exitCount>
        </matchElement>
        <matchElement>
            <timeSpan>
                <startTime>2024-01-08T20:00:00</startTime>
                <endTime>2024-01-08T20:59:59</endTime>
            </timeSpan>
            <enterCount>0</enterCount>
            <exitCount>0</exitCount>
        </matchElement>
        <matchElement>
            <timeSpan>
                <startTime>2024-01-08T21:00:00</startTime>
                <endTime>2024-01-08T21:59:59</endTime>
            </timeSpan>
            <enterCount>0</enterCount>
            <exitCount>0</exitCount>
        </matchElement>
        <matchElement>
            <timeSpan>
                <startTime>2024-01-08T22:00:00</startTime>
                <endTime>2024-01-08T22:59:59</endTime>
            </timeSpan>
            <enterCount>0</enterCount>
            <exitCount>0</exitCount>
        </matchElement>
        <matchElement>
            <timeSpan>
                <startTime>2024-01-08T23:00:00</startTime>
                <endTime>2024-01-08T23:59:59</endTime>
            </timeSpan>
            <enterCount>0</enterCount>
            <exitCount>0</exitCount>
        </matchElement>
    </matchList>
</CountingStatisticsResult>
If you have any specific questions regarding how you would like to use it i might provide better answer.
 

trempa92

Pulling my weight
Joined
Mar 26, 2020
Messages
736
Reaction score
230
Location
Croatia,Zagreb
2nd option is having IVMS4200 freeware or Hik-Central paid for people counting camera, idk how will it work with serie 7 counting.(isapi nodes are different hence questions)

3rd option, depending on firmware, cameras might have Application tab where you have that counting data (daily/weekly/monthly/yearly) and you can export to xlsx
 

digiteltlc

Young grasshopper
Joined
Sep 23, 2016
Messages
37
Reaction score
7
Thank you for informations !
I worked with Brickstream cameras, I think DS-2CD6825 has the same principle but all them are very pricy devices.
Can you suggest a 200 to 400 € series 7 bullet camera that fits my raw in-out gate people counting with acceptable error margin ?
 

trempa92

Pulling my weight
Joined
Mar 26, 2020
Messages
736
Reaction score
230
Location
Croatia,Zagreb
I think i found something in my Vehicle counting Node that might be exactly what serie 7 would use for human counting

/ISAPI/Event/channels/1/SearchRegionTargetNumberCounting?format=json

post body


{
"ReportCond":
{
"reportType": "monthly",
"ruleID": 1,
"statisticalDirection": "bothway",
"statisticalObjectives":
[
"human",
"nonMotor",
"vehicle"
],
"statisticalTime": "2023-06-19T00:00:00"
}
}

Sorry my series 7 camera is not on that VCA atm so i cant see response data

1707227733987.png
 

trempa92

Pulling my weight
Joined
Mar 26, 2020
Messages
736
Reaction score
230
Location
Croatia,Zagreb
What is acceptable margin error? For example if you have scene to see by how much % other store is better, Error margin wont matter, its same everywhere and percentage remains the same

Cant rly tell, i believe series 7 is best you can get for that kind of mixedtarget counting for such price.
 

digiteltlc

Young grasshopper
Joined
Sep 23, 2016
Messages
37
Reaction score
7
Well just to know if 500 rather than 450 persons have crossed that gate ....
a 5 to 10% is good,
Is series 7 capable of counting ins and outs ?
 

trempa92

Pulling my weight
Joined
Mar 26, 2020
Messages
736
Reaction score
230
Location
Croatia,Zagreb
Yes it should be able to count both directions, as i recall i used 1 line for 2way vehicle. But even if it doesnt, it alows up to 4 counting lines, just make 2 facing each other.



People counting camera is aroound 95% accuracy while series 7 is around 70% with high density
 
Top