Structure about the traffic light parameters detected in a single video.
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;
Number of traffic lights.
Whether the straight signal is on: 0-no, 1-yes.
Whether the left turn signal is on: 0-no, 1-yes.
Whether the right turn signal is on: 0-no, 1-yes.
Whether the red light is on: 0-no, 1-yes.
Whether the green light is on: 0-no, 1-yes.
Whether the yellow light is on: 0-no, 1-yes.
Yellow light duration used to correct recognition deviation of red light and green light.
Traffic light area, see details in the structure NET_POS_PARAM.
Reserved, set to 0.