Answers are grounded in this paper and cite their sources.
Urban traffic management requires timely information about road conditions and vehicle movement. Conventional approaches based on fixed traffic schedules or manual observation may not respond effectively to variations in traffic volume. This paper presents an integrated system for traffic flow prediction and automated vehicle detection using machine learning and computer vision. A Random Forest classifier is trained using historical traffic data to categorize traffic conditions into four classes: Low, Normal, High, and Heavy. The model uses temporal information and vehicle-count features to estimate the traffic condition. To support automated data acquisition, the system incorporates YOLOv8 for detecting and counting cars, motorcycles, buses, and trucks from uploaded images and live webcam frames. The two components are integrated through a Flask-based web application that provides manual prediction, vehicle detection, live webcam monitoring, and recent activity tracking. Experimental evaluation on the selected dataset produced a classification accuracy of 99.66%. The results demonstrate the feasibility of connecting computer-vision-based vehicle counting with machine-learning-based traffic classification in a unified application. The proposed system provides a practical foundation for accessible traffic monitoring and can be extended with larger datasets, continuous video processing, and persistent data storage.
No takes yet. Share an insight, caveat, or question.
Gowda et al. (2026) studied this question.
Synapse has enriched 8 closely related papers on similar clinical questions. Consider them for comparative context: