Securing the flow of traffic at rail intersections is a major challenge. The requirements for safety are extremely high. Triggering real-time information enhances reliability and safeguarding of crossroads and rail traffic. Two types of system can be controlled. An active traffic control systems warn road users of approaching trains with flashing lights. Another type of active system consists of a barrier between vehicles or pedestrians and trains. M 3 interprets captured images and trigger signals to controls those active systems at the intersection.