IEEE Access (Jan 2024)
Research on Parking Space Detection and Prediction Model Based on CNN-LSTM
Abstract
With the continuous acceleration of urbanization, the parking problem is becoming increasingly serious. How to better manage parking resources has become an urgent problem to be solved in urban development. In this context, according to the historical data and real-time video data collected by the parking camera, this paper proposes an algorithm for parking space detection and state recognition. Through image preprocessing, region of interest selection, Hough line detection, and parking information recognition of the input test image, an intelligent parking space detection model is constructed, which improves the utilization rate of parking space and reduces the management cost. On this basis, according to the free parking space data obtained by the detection algorithm, a short-term demand prediction algorithm for on-road parking based on Convolutional Neural Network (CNN) and Long Short-Term Memory Neural Network (LSTM) was proposed. Through the preprocessing of input parking space data, time vector transformation, data separation, model training, and prediction, the parking demand data is predicted and analyzed. By comparing the prediction results of multiple models, it was found that the CNN-LSTM prediction model had the best model stability and goodness of fit, the lowest Mean Error (MAE) and Root Mean Square Error (RMSE), the errors of working days were 13.301 and 21.156, and the errors of rest days were 12.573 and 20.739, respectively. It shows that CNN-LSTM can effectively capture the time and spatial feature information of parking lot free parking space data, and the prediction accuracy is good, which can be used to predict the number of free parking spaces in parking lots.
Keywords