Get people counting information which displayed on live video
Call NET_DVR_GetSTDConfig with NET_DVR_GET_POSINFO_OVERLAY (command No.: 3961) and set lpCondBuffer in NET_DVR_STD_CONFIG to 4-byte channel No.
The displayed people counting information is returned in NET_DVR_POSINFO_OVERLAY by lpOutBuffer of NET_DVR_STD_CONFIG.
Display people counting information on live video
Call NET_DVR_SetSTDConfig with NET_DVR_SET_POSINFO_OVERLAY (command No.: 3960), set lpCondBuffer of NET_DVR_STD_CONFIG to 4-byte channel No., and specify lpInBuffer of NET_DVR_STD_CONFIG as NET_DVR_POSINFO_OVERLAY.
Get configuration capability of shielded area for smart detection
Call NET_DVR_STDXMLConfig to pass through the request URL: GET /ISAPI/Smart/Shield/channels/<channelID>/capabilities.
The configuration capability is returned in the message XML_Smart_ShieldCap by lpOutputParam.
Get parameters of shielded area for smart detection
Call NET_DVR_STDXMLConfig to pass through the request URL: GET /ISAPI/Smart/Shield/channels/<channelID>.
The parameters are returned in the message XML_Smart_Shield by lpOutputParam.
Set parameters of shielded area for smart detection
Call NET_DVR_STDXMLConfig to pass through the request URL: PUT /ISAPI/Smart/Shield/channels/<channelID> and set lpOInputParam to XML_Smart_Shield.
Get people counting status
Call NET_DVR_STDXMLConfig to pass through the request URL: GET /ISAPI/System/Video/inputs/channels/<ID>/counting/status.
The status is returned in the message XML_CountingStatus by lpOutputParam.
Clear People Counting Data
Clear all people counting data stored in flash storage
Call NET_DVR_STDControl with NET_DVR_REMOVE_FLASHSTORAG (command No.: 3756) and set lpCondBufferof NET_DVR_STD_CONTROL to NET_DVR_FLASHSTORAGE_REMOVE.
Get parameters of clearing displayed or current day's data
Call NET_DVR_GetDVRConfig with NET_DVR_GET_RESET_COUNTER (command No.: 5025).
The parameters are returned in NET_DVR_RESET_COUNTER_CFG by lpOutBuffer.
Set parameters to clear displayed or current day's data
Call NET_DVR_SetDVRConfig with NET_DVR_SET_RESET_COUNTER (command No.: 5026) and set lpOutBuffer to NET_DVR_RESET_COUNTER_CFG.
To check if clearing people counting data is supported by device, you can call NET_DVR_GetDeviceAbility, specify dwAbilityType as "DEVICE_ABILITY_INFO" (macro definition value: 0x011), and set pInBuf to XML_Desc_VcaChanAbility for getting VCA channel capability (XML_VcaChanAbility). If supports, the sub node <resetCounter> of node <PDC> will be returned in the capability message.