NET_DVR_REGION_EXITING_DETECTION

Region exiting detection parameter structure.

Structure Definition

struct{
  DWORD         dwSize;
  BYTE          byEnabled;
  BYTE          byEnableHumanMisinfoFilter;
  BYTE          byEnableVehicleMisinfoFilter;
  BYTE          byRes1;
  NET_DVR_REGIONEXITING_REGION         struRegion[MAX_REGION_NUM/*8*/];
  BYTE          byRes[128];
}NET_DVR_REGION_EXITING_DETECTION,*LPNET_DVR_REGION_EXITING_DETECTION;

Members

dwSize

Structure size.

byEnabled

Whether to enable region exiting detection: 0-no, 1-yes

byEnableHumanMisinfoFilter

Whether to enable false human body alarm prevention: 0-no, 1-yes

byEnableVehicleMisinfoFilter

Whether to enable false vehicle alarm prevention: 0-no, 1-yes

byRes1

Reserved, set to 0.

struRegion

Coordinates of detection region, refer to the structure NET_DVR_REGIONEXITING_REGION for details.

byRes2

Reserved, set to 0.

Remarks

  • If the values of all members in the structure NET_DVR_REGIONEXITING_REGION are set to 0, it indicates clearing this region. If the value of any members in the structure is not set to 0, the parameter struRegion is invalid (that is the settings will not take effect).

  • If the false alarm prevention is enabled, the false alarm will be filtered without uploading, but the false alarm will still be locally stored.