Media Server 26.1
Media Server Help

# Traffic Lights

Determines the state of traffic lights, so that you can detect vehicles failing to stop for a red light.

Configuration Parameter | Description
--- | ---
AmberMinDuration | The minimum amount of time that the amber light must be on.
AmberRegion | The position of the amber light.
GreenRegion | The position of the green light.
Input | The image track to process.
MinLuminance | The luminance threshold at which Media Server considers a light to be on rather than off.
RedCyclesPerMinute | The range of acceptable frequencies for flashing red lights.
RedMinDuration | The minimum amount of time that the red light must be on.
RedRegion0 | The position of the red light.
RedRegion1 | The position of the second red light (for level crossings).
SampleInterval | The interval at which frames are selected to be analyzed.
SegmentDuration | The maximum duration of a record in the `SegmentedResult` track.
Type | The analysis engine to use. Set this parameter to `TrafficLight`.

## Output Tracks

Output track | Description
--- | ---
`Data` | Contains a record for each analyzed video frame, describing whether the lights are red.
`Result` | Contains a record each time the lights change, describing whether the lights are red.
`SegmentedResult` | (Available only when processing video). The same as the `Result` track, except the duration of each record is limited by the parameter SegmentDuration. If a result exceeds the specified duration, Media Server begins a new record with the same ID.
`Start` | The same as the `Data` track, except it contains only the first record of each event.
`End` | The same as the `Data` track, except it contains only the last record of each event.

To see an example record, use the action GetExampleRecord.

Copyright 2025 Open Text
Version 26.1 | Last updated January 2026

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Media Server 26.1

Topic Title: Traffic Lights