The increasing number of road accidents is still a global concern. Traditional approaches to detecting traffic violators on the road, such as radar guns and sensors, are expensive and time-consuming to maintain and install. This often results in inefficient and ineffective detection of traffic violators. This paper proposes a more cost-effective and efficient approach to traffic violation detection utilizing visual data from CCTV footage. Specifically, the method targets two common violations: crossing red lights and overtaking on double lines. In this study, YOLO is integrated for road object detection, providing the detection of vehicles and traffic lights on the road for our system. Then, the Deep SORT tracker tracks detected vehicles, ensuring continuous monitoring over time. An automated lane detection technique is formulated to identify the stopping line/lane for red light violation detection, enabling precise detection of vehicles that cross the stop lane during red light. For overtaking detection, the system detects the double line to serve as the boundary that vehicles should not cross, identifying illegal overtaking. Furthermore, point-line distance calculation is utilized to detect traffic violators by analyzing their tracked trajectories and positions. The proposed solution is evaluated using real-world CCTV footage from online repositories to reflect the real-world scenarios as closely as possible. Experimental results show that the proposed techniques achieve promising detection of real-time traffic violators, which leads to a safer environment for road users.
Read full abstract