AbstractA two‐step framework that integrates real‐time data collection with time series forecasting models for predicting traffic volume is proposed. In the first step, the framework utilizes live highway surveillance video data and YOLO‐v7 object detector to construct accurate traffic volume data. In the second step, an ARIMA–LSTM time series model is applied to forecast future traffic volumes. Experimental results show that YOLO‐v7 achieved a vehicle detection accuracy of over 93.30%, ensuring high precision in traffic volume data construction. The ARIMA–LSTM model demonstrated superior performance in traffic volume prediction, with a mean squared error of 87.97, root mean squared error of 10,388.57, and mean absolute error of 101.39. YOLO‐v7's detection speed of 7.8 ms per frame further validates the feasibility of real‐time data construction. The findings indicate that the combination of YOLO‐v7 for vehicle detection and ARIMA–LSTM for traffic prediction is highly effective, offering a significant reduction in training time compared to more complex deep learning models while maintaining high prediction accuracy. This research presents a unified solution for traffic data collection and prediction, enhancing transportation infrastructure planning and optimizing traffic flow. Future work will focus on extending the prediction intervals and further refining the models to improve performance.