A new AI-powered system uses computer vision, deep learning, and vehicle tracking to detect wrong-way vehicles in real time. Designed for highways, smart cities, and toll plazas, the system leverages YOLOv11 for accurate vehicle detection and classification, supporting cars, trucks, buses, and motorcycles.
The system analyzes vehicle direction using trajectory tracking and line-crossing logic, reducing false alarms. It allows custom polygon monitoring regions to focus on specific traffic zones and triggers instant visual and audible alerts when a violation occurs.
Every violation is logged with a tracking ID, timestamp, and vehicle snapshot, and all data can be exported as a CSV report for traffic enforcement and safety audits. The solution also includes a Tkinter-based GUI dashboard that supports video upload, RTSP cameras, and live visualization.
This project demonstrates how AI and computer vision can improve road safety by automatically identifying dangerous driving behavior in real time.