NET_ITC_LANE_MPR_PARAM

Structure about the lane parameters in video recognition mode.

Structure Definition

struct{
  BYTE              byLaneNO;
  union{
     BYTE           uLen[4];
     struct{
       BYTE         byIONo;
       BYTE         byTriggerType;
       BYTE         byRes1[2];
     }struIO;
     struct{
       BYTE         byRelateChan;
       BYTE         byRes2[3];
     }struRS485;
  }uTssParamInfo;
  BYTE              byCarDriveDirect;
  BYTE              byRes[58];
  NET_ITC_LINE      struLaneLine;
  NET_ITC_POLYGON   struPlateRecog;
  BYTE              byRes1[256];
}NET_ITC_LANE_MPR_PARAM,*LPNET_ITC_LANE_MPR_PARAM;

Members

byLaneNO

Vehicle lane No.

uTssParamInfo

Triggering parameter union, see details below.

uLen

Union size, which is 4 bytes.

struIO

Structure about the parameters of alarm input triggering mode, see details below.

byIONo

Linked alarm input No., which starts from 1.

byTriggerType

Triggering mode, 0-falling edge,1-rising edge

byRes1

Reserved, set as 0.

struRS485

Structure about the parameters of RS-485 triggering mode, see details below.

byRelateChan

Linked vehicle detector No., which is between 1 and 16.

byRes2

Reserved, set as 0.

byCarDriveDirect

Vehicle driving direction, see details below:

enum{
  ITC_LANE_DRIVE_UNKNOW      = 0,
  ITC_LANE_DRIVE_UP_TO_DOWN  = 1,
  ITC_LANE_DRIVE_DOWN_TO_UP  = 2 
}ITC_LANE_CAR_DRIVE_DIRECT
ITC_LANE_DRIVE_UNKNOW

Unknown.

ITC_LANE_DRIVE_UP_TO_DOWN

Drive from top to bottom on image.

ITC_LANE_DRIVE_DOWN_TO_UP

Drive from bottom to top on image.

byRes

Reserved

struLaneLine

Lane line, see details in the structure NET_ITC_LINE.

struPlateRecog

License plate region information, see details in the structure NET_ITC_POLYGON.

byRes1

Reserved

Remarks

The structure struIO in the union uTssParamInfo is valid when the value of parameter bySourceType (in structure NET_ITC_POST_MPR_PARAM) equal to1; the structure struRS485 in the union uTssParamInfo is valid when the value of parameter bySourceType (in structure NET_ITC_POST_MPR_PARAM) equal to 2.