NET_DVR_REGION_ENTRANCE_DETECTION

Region entrance detection parameter structure.

Structure Definition

struct{
  DWORD         dwSize;
  BYTE          byEnabled;
  BYTE          byEnableHumanMisinfoFilter;
  BYTE          byEnableVehicleMisinfoFilter;
  BYTE          byRes1;
 NET_DVR_REGIONENTRANCE_REGION  struRegion[MAX_REGION_NUM/*8*/];
  BYTE          byRes2[128];
}NET_DVR_REGION_ENTRANCE_DETECTION,*LPNET_DVR_REGION_ENTRANCE_DETECTION;
`

Members

dwSize

Structure size.

byEnabled

Whether to enable region entrance 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_REGIONENTRANCE_REGION for details.

byRes2

Reserved, set to 0.

Remarks

  • If the values of all members in the structure NET_DVR_REGIONENTRANCE_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).

  • The detection region should be configured one by one.

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