Abstract
Wrong-turn violations in safety-critical spaces such as road roundabouts are a type of traffic violation that can lead to traffic congestion and increase the risk of road crashes. Although many researchers have focused on detecting various traffic violations, wrong-turn violations have not received enough attention. This may be due to a lack of relevant datasets. This study aims to address this gap. We developed a deep learning-based approach to detect wrong-turn traffic violations at roundabouts. The proposed system captures video from strategically placed cameras at roundabouts, which is then fed into an artificial intelligence (AI) model capable of detecting vehicles committing wrong-turn violations in real time. For this purpose, we utilized the popular You Only Look Once (YOLO) algorithm. Due to the absence of an existing dataset for this specific type of violation, we created our own. Images were collected and annotated from local roundabouts in Peshawar, Pakistan. The YOLO model was trained on this dataset and evaluated using standard performance metrics, including accuracy and recall. The results suggest that the proposed approach has strong potential for refinement and real-world implementation.