NET_ITC_SINGLE_VIDEO_DETECT_LIGHT_PARAM

Structure about the traffic light parameters detected in a single video.

Structure Definition

struct{
  BYTE             byLightNum;
  BYTE             byStraightLight;
  BYTE             byLeftLight;
  BYTE             byRightLight;
  BYTE             byRedLight;
  BYTE             byGreenLight;
  BYTE             byYellowLight;
  BYTE             byYellowLightTime;
  NET_POS_PARAM    struLightRect;
  BYTE             byRes[24];
}NET_ITC_SINGLE_VIDEO_DETECT_LIGHT_PARAM, *LPNET_ITC_SINGLE_VIDEO_DETECT_LIGHT_PARAM;

Members

byLightNum

Number of traffic lights.

byStraightLight

Whether the straight signal is on: 0-no, 1-yes.

byLeftLight

Whether the left turn signal is on: 0-no, 1-yes.

byRightLight

Whether the right turn signal is on: 0-no, 1-yes.

byRedLight

Whether the red light is on: 0-no, 1-yes.

byGreenLight

Whether the green light is on: 0-no, 1-yes.

byYellowLight

Whether the yellow light is on: 0-no, 1-yes.

byYellowLightTime

Yellow light duration used to correct recognition deviation of red light and green light.

struLightRect

Traffic light area, see details in the structure NET_POS_PARAM.

byRes

Reserved, set to 0.