We present a real-time system for vehicle detection and classification in road intersections, incorporating image processing techniques. This system estimates the traffic flow at a specific point, as it is capable of recognizing the trajectories of different vehicles at an intersection, inferring whether they leave or enter the city. It is designed to be integrated into a high-fidelity digital twin, aiding in estimating environmental traffic pollutants. Since Computational Fluid Dynamics (CFD) use estimators like average or aggregate measurements, we use more accurate methods to estimate pollution. The implications of our study are significant for urban planning and traffic management. It allows for immediate decisions and informs long-term infrastructure planning by providing a deep understanding of intersection dynamics. Our research offers a comprehensive perspective on traffic analysis, introducing data-driven traffic management strategies for efficient urban mobility. The code developed for this purpose can be found in \https://github.com/capo-urjc/TrackingSORT
|