For the correct operation of the Traffic lights detection module, traffic light must be always visible to camera and must not be blocked by any objects or other vehicles.

To configure the Traffic lights detection, do the following:

  1. Go to the Traffic lights detection object settings panel, which is created on the basis of the Camera object.
  2. Click the Settings button. The Detection settings window will open. 
  3. Specify the area of traffic light signals:

    1. Click the Stop video button to capture the video frame (1).

    2. Do the following actions for each traffic light signal:

      • click the button with this signal (2);

      • specify the area of this signal on the captured video frame. Click the left mouse button on the video frame and move the cursor holding it.

        To remove the area click  next the corresponding button.


  4. Specify the software module parameters:
    1. Go to the Parameters tab.
    2. Specify the detection sensitivity in conventional units in a range from 0 to 255 in the corresponding field (1).
    3. In the Periodicity of events occurrence, s field (2), enter the time period (in seconds) between creating messages about the states of traffic light signal.
    4. Set the Reduce large resolution checkbox if the state of traffic light signal is to be recognized on the frame (3).
  5. Click the OK button to save the changes and return to the settings panel of the Traffic Light Detection object (4).

    Click the Cancel button to return to the settings panel of the Traffic Light Detection object without saving the changes (5).


  6. Click the Apply button.

Configuring the Traffic Light Detection software module is completed.