Securing traffic at railway intersections is a major challenge. The safety requirements are extremely high and the impact of an unsafe situation can be extremely high. Triggering real-time information enhances reliability and safeguarding of crossroads and rail traffic. Two types of systems 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. M3 interprets captured images and trigger signals to controls those active systems at the intersection. Our system makes it possible to capture unsafe situations like red-light enforcements, stopped vehicles and unsafe situations with pedestrians and cyclists.