NET_VCA_TRAVERSE_PLANE_DETECTION

Line crossing detection parameter structure

Structure Definition

struct{
  DWORD                          dwSize;
  BYTE                           byEnable;
  BYTE                           byEnableDualVca;
  BYTE                           byEnableHumanMisinfoFilter;
  BYTE                           byEnableVehicleMisinfoFilter;
  NET_VCA_TRAVERSE_PLANE         struAlertParam[MAX_ALERTLINE_NUM/*8*/];
  NET_DVR_SCHEDTIME              struAlarmSched[MAX_DAYS][MAX_TIMESEGMENT_V30/*8*/];
  NET_DVR_HANDLEEXCEPTION_V41    struHandleException;
  DWORD                          dwMaxRelRecordChanNum;
  DWORD                          dwRelRecordChanNum;
  DWORD                          byRelRecordChan[MAX_CHANNUM_V30/*64*/];
  NET_DVR_SCHEDTIME              struHolidayTime[MAX_TIMESEGMENT_V30/*8*/];
  BYTE                           byRes2[100];
}NET_VCA_TRAVERSE_PLANE_DETECTION,*LPNET_VCA_TRAVERSE_PLANE_DETECTION;

Memebers

dwSize

Structure size.

byEnable

Whether to enable line crossing detection: 0-no, 1-yes

byEnableDualVca

Whether to enable dual-VCA: 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

struAlertParam

Detection line parameters, refer to the structure NET_VCA_TRAVERSE_PLANE for details.

struAlarmSched

Arming schedule, refer to the structure NET_DVR_SCHEDTIME for details.

struHandleException

Alarm linkage types, refer to the structure NET_DVR_HANDLEEXCEPTION_V41 for details.

dwMaxRelRecordChanNum

Maximum number of alarm triggered video channels (read-only).

dwRelRecordChanNum

Actual number of alarm triggered video channels.

byRelRecordChan

Alarm triggered channel No., which is between 0 and the value of dwRelRecordChanNum. For example, if the dwRelRecordChan is 5, the available channel No. that can trigger alarm is between dwRelRecordChan[0] and dwRelRecordChan[4].

struHolidayTime

Holiday schedule, up to 8 time periods can be configured, refer to the structure NET_DVR_SCHEDTIME for details.

byRes2

Reserved, set to 0.

Remarks

  • When the value of dwMaxRelRecordChanNum is larger than 64, the channels will be divided in to groups and each group will be numbered (dwGroup) in the structure NET_DVR_CHANNEL_GROUP, and up to 64 channels can be contained in a group.

  • The video channel No. links with the group No., e.g., when the group No. is 0, the No. of channels in the group is between 1 and 64; when the group No. is 1, the No. of channels in the group is between 65 and 128, and so on. If the group No. is 0xffffffff, it indicates that the No. of channels in current group and the following channels is invalid.

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