Setting up the Traffic Light Detection software module is performed on the corresponding settings panel. The Traffic Light Detection object is created under the Camera object in the Hardware tab of System settings dialog box (Fig. 7.5—1).
Fig. 7.5—1 Traffic Light Detection object
To setup the Traffic Light Detection, do the following:
- Go to the Traffic Light Detection settings panel (Fig. 7.5—2).
Fig. 7.5—2 Settings panel of the Traffic Light Detection object
- Click «Settings» (Fig. 7.5—2).
The «Detector settings» window will open (Fig. 7.5—3).
Fig. 7.5—3 The Traffic Light Detection software module setup
- Specify the area of traffic light signals:
- Click «Stop video» to capture the video frame (Fig. 7.5—3, 1).
- Do the following actions for each traffic light signal:
- click the button with this signal (Fig. 7.5—3, 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 (Fig. 7.5—4).
Fig. 7.5—4 Specify the areas of traffic light signal
Note. To remove the area click opposite the corresponding button.
- Specify the software module parameters:
- Go to the «Parameters» tab (Fig. 7.5—4).
- Specify the detection sensitivity in conventional units in a range from 0 to 255 in the corresponding field (Fig. 7.5—5, 1).
Fig. 7.5—5 Specify parameters of Traffic Light Detection software module
-
- Enter the time period (in seconds) between creating messages about the states of traffic light signal in the «Periodicity of events occurrence, s» field (Fig. 7.5—5, 2).
- Set the «Reduce large resolution» checkbox if the state of traffic light signal is to be recognized on the frame (Fig. 7.5—5, 3).
- Click «OK» to save changes and to return to the settings panel of the «Traffic Light Detection»
object (Fig. 7.5—5, 4).
Note. Click «Cancel» to return to the settings panel of «Traffic Light Detection» object without saving changes (Fig. 7.5—5, 5).
- Click «Apply» on the settings panel of «Traffic Light Detection» object.
Setting up the «Traffic Light Detection» software module is completed.