Skip to main content
Log in

Parking slot occupancy prediction using LSTM

  • S.I. : Low Resource Machine Learning Algorithms (LR-MLA)
  • Published:
Innovations in Systems and Software Engineering Aims and scope Submit manuscript

Abstract

Nowadays due to the advancement of the smart parking solutions, the drivers are eager to know that how much vacancy will be there in a particular parking place in specific day or in a particular hour of a day. An intelligent decision support system can help to provide advance information to the drivers about the occupancy percentage of a parking area. This information should be available to any type of vehicle in an indoor parking area. In this way, parking spaces could be found more quickly during traffic searches. Parking occupancy percentage forecasting is an optimum problem. Even though many researchers have tried to solve these problems previously using various methods of deep learning, there are still some shortcomings when it comes to estimating parking space occupancy levels. As such, in this paper, parking occupancy percentage is forecasted for an indoor parking system for any type of vehicle using a modified long short-term memory model (LSTM) as a CNN-LSTM hybrid model, from which parking occupancy percentage can be predicted using the prior parking information during specific dates and hours. With the use of the Internet of Things network, cloud server, and sensors used in various smart parking places, we generate real-time information to estimate the hybrid CNN-LSTM model and the results have been discussed in detail. Comparative analysis has been done with the existing time series a model including other LSTM models, and it is found that our proposed CNN-LSTM-based models provide better results in terms of different performance measurement parameters.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9

Similar content being viewed by others

Data availability

The datasets generated during and/or analyzed during the current study are available in the repository.

References

  1. McCoy K (2017) Drivers spend an average of 17 hours a year searching for parking spots. https://www.usatoday.com/story/money/2017/07/12/parking-pain-causes-financial-and-personal-strain/467637001/. Accessed 25 Nov 2021

  2. Zheng Y, Rajasegarar S, Leckie C (2015) Parking availability prediction for sensor-enabled car parks in smart cities. In: 2015 IEEE tenth international conference on intelligent sensors, sensor networks and information processing (ISSNIP), pp 1–6. https://doi.org/10.1109/ISSNIP.2015.7106902

  3. Bura H, Lin N, Kumar N, Malekar S, Nagaraj S, Liu K (2018) An edge based smart parking solution using camera networks and deep learning. In: 2018 IEEE international conference on cognitive computing (ICCC), pp 17–24. https://doi.org/10.1109/ICCC.2018.00010

  4. Rahim RU, Aslam M, Zoolnurain, Khan MG, Basra IA (2021) Pakistani standard vehicle plates recognition using deep neural networks. In: 2021 International conference on artificial intelligence (ICAI), pp 158–163. https://doi.org/10.1109/ICAI52203.2021.9445199

  5. Bhatta S, Srivastava H, Das SK, Singh P (2021) License plate detection for smart parking management. In: International conference on emerging trends and advances in electrical engineering and renewable energy, vol 690, pp 71–79. https://doi.org/10.1007/978-981-15-7504-4_8

  6. Garg S, Lohumi P, Agrawal S (2020) Smart parking system to predict occupancy rates using machine learning. In: International conference on information, communication and computing technology (ICICCT), vol 1170, pp 163–171. https://doi.org/10.1007/978-981-15-9671-1_13

  7. Zhao Z, Zhang Y (2020) A comparative study of parking occupancy prediction methods considering parking type and parking scale. J Adv Transp 2020:12. https://doi.org/10.1155/2020/5624586

    Article  Google Scholar 

  8. Provoost JC, Kamilaris A, Wismans LJJ, Van Der Drift SJ, Van Keulen M (2020) Predicting parking occupancy via machine learning in the web of things. Internet of Things 12:100301. https://doi.org/10.1016/j.iot.2020.100301

    Article  Google Scholar 

  9. Williams G, Baxter R, He H, Hawkins S, Gu L (2002) A comparative study of RNN for outlier detection in data mining. In: 2002 IEEE international conference on data mining, 2002. Proceedings, pp 709–712. https://doi.org/10.1109/ICDM.2002.1184035

  10. Vlahogianni EI, Kepaptsoglou K, Tsetsos V, Karlaftis MG (2016) A real-time parking prediction system for smart cities. J Intell Transp Syst 20:192–204. https://doi.org/10.1080/15472450.2015.1037955

    Article  Google Scholar 

  11. Reinstadler M, Braunhofer M, Elahi M, Ricci F (2013) Predicting parking lots occupancy in Bolzano. Academic project, Computer Science, Free University of Bolzano Italy, Bolzano

    Google Scholar 

  12. Ali G, Ali T, Irfan M, Draz U, Sohail M, Glowacz A, Sulowicz M, Mielnik R, Faheem ZB, Martis C (2020) IoT based smart parking system using deep long short memory network. Electronics 9(10):1696. https://doi.org/10.3390/electronics9101696

    Article  Google Scholar 

  13. Hochreiter S, Schmidhuber J (1997) Long short-term memory. Neural Comput 9(8):1735–1780. https://doi.org/10.1162/neco.1997.9.8.1735

    Article  Google Scholar 

  14. Le XH, Ho HV, Lee G, Jung S (2019) Application of long short-term memory (LSTM) neural network for flood forecasting. Water 11(7):1387. https://doi.org/10.3390/w11071387

    Article  Google Scholar 

  15. Lu W, Li J, Li Y, Sun A, Wang J (2020) A CNN-LSTM-based model to forecast stock prices. Complexity 2020:10. https://doi.org/10.1155/2020/6622927

    Article  Google Scholar 

  16. Badii C, Nesi P, Paoli I (2018) Predicting available parking slots on critical and regular services by exploiting a range of open data. IEEE Access 6:44059–44071. https://doi.org/10.1109/ACCESS.2018.2864157

    Article  Google Scholar 

  17. Awan FM, Saleem Y, Minerva R, Crespi N (2020) A comparative analysis of machine/deep learning models for parking space availability prediction. Sensors 20(1):322. https://doi.org/10.3390/s20010322

    Article  Google Scholar 

  18. Shao W, Zhang Y, Guo B, Qin K, Chan J, Salim FD (2019) Parking availability prediction with long short term memory model. In: International conference on green, pervasive, and cloud computing. Springer, vol 11204, pp 124–137. https://doi.org/10.1007/978-3-030-15093-8_9

  19. Mishra A, Deshpande S (2021) Deep learning based parking prediction using LSTM approach. In: International conference on information and communication technology for intelligent systems. Springer, vol 196, pp 589–597. https://doi.org/10.1007/978-981-15-7062-9_59

  20. Zhang L, Huang J, Li X, Xiong L (2018) Vision-based parking-slot detection: a DCNN-based approach and a large-scale benchmark dataset. IEEE Trans Image Process 27(11):5350–5364. https://doi.org/10.1109/TIP.2018.2857407

    Article  MathSciNet  Google Scholar 

  21. Yang S, Ma W, Pi X, Qian S (2019) A deep learning approach to real-time parking occupancy prediction in transportation networks incorporating multiple spatio-temporal data sources. Transportation Research Part C: Emerging Technologies 107:248–265. https://doi.org/10.1016/j.trc.2019.08.010

    Article  Google Scholar 

  22. Chen X (2014) Parking occupancy prediction and pattern analysis. Department of Computer Science, Stanford University, Stanford, CA, USA. Technical report CS229-2014

  23. Xiao J, Lou Y, Frisby J (2018) How likely am I to find parking?—a practical model-based framework for predicting parking availability. Transp Res Part B Methodol 112:19–39. https://doi.org/10.1016/j.trb.2018.04.001

    Article  Google Scholar 

  24. Kasera RK, Acharjee T (2022) A smart indoor parking system. SN Comput Sci 3(9):1–17. https://doi.org/10.1007/s42979-021-00875-3

    Article  Google Scholar 

  25. Zhang X, Liang X, Zhiyuli A, Zhang S, Xu R, Wu B (2019) AT-LSTM: an attention-based LSTM model for financial time series prediction. IOP Conf Ser Mater Sci Eng 569(5):052037. https://doi.org/10.1088/1757-899X/569/5/052037

    Article  Google Scholar 

  26. Jin X, Yu X, Wang X, Bai Y, Su T, Kong J (2020) Prediction for time series with CNN and LSTM. In: Proceedings of the 11th international conference on modelling, identification and control (ICMIC2019). Lecture notes in electrical engineering, vol 582, pp 631–641. https://doi.org/10.1007/978-981-15-0474-7_59

  27. Ma T-Y, Faye S (2022) Multistep electric vehicle charging station occupancy prediction using hybrid LSTM neural networks. Energy 244:123217. https://doi.org/10.1016/j.energy.2022.123217

    Article  Google Scholar 

  28. Hung BT, Chakrabarti P (2022) Parking lot occupancy detection using hybrid deep learning CNN-LSTM approach. In: Proceedings of 2nd international conference on artificial intelligence: advances and applications, pp 501–509. https://doi.org/10.1007/978-981-16-6332-1_43

  29. Siami-Namini S, Tavakoli N, Siami Namin A (2018) A comparison of ARIMA and LSTM in forecasting time series. In: 2018 17th IEEE international conference on machine learning and applications (ICMLA), pp 1394–1401. https://doi.org/10.1109/ICMLA.2018.00227

  30. Zeng C, Ma C, Wang Ke, Cui Z (2022) Parking occupancy prediction method based on multi factors and stacked GRU-LSTM. IEEE Access 10:47361–47370. https://doi.org/10.1109/ACCESS.2022.3171330

    Article  Google Scholar 

  31. Brownlee J (2018) How to develop LSTM models for time series forecasting https://machinelearningmastery.com/how-to-develop-lstm-models-for-time-series-forecasting/. Accessed 28 Aug 2020

  32. Wang W, Lu Y (2018) Analysis of the mean absolute error (MAE) and the root mean square error (RMSE) in assessing rounding model. IOP Conf Ser Mater Sci Eng 324(1):012049. https://doi.org/10.1088/1757-899X/324/1/012049/meta

    Article  Google Scholar 

  33. Sarbishei O, Radecka K (2011) Analysis of mean-square-error (MSE) for fixed-point FFT units. In: 2011 IEEE international symposium of circuits and systems (ISCAS), pp 1732–1735. https://doi.org/10.1109/ISCAS.2011.5937917

  34. Willmott CJ, Matsuura K (2005) Advantages of the mean absolute error (MAE) over the root mean square error (RMSE) in assessing average model performance. Clim Res 30(1):79–82

    Article  Google Scholar 

  35. Ismail MH, Razak TR, Gining RAJM, Fauzi SSM, Abdul-Aziz A (2021) Predicting vehicle parking space availability using multilayer perceptron neural network. IOP Conf Ser Mater Sci Eng 1176(1):012035

    Article  Google Scholar 

  36. Arjona J, Linares MªPaz, Casanovas-Garcia J, Vázquez JJ (2020) Improving parking availability information using deep learning techniques. Transp Res Procedia 47:385–392. https://doi.org/10.1016/j.trpro.2020.03.113

    Article  Google Scholar 

  37. Jose A, Vidya V (2021) A stacked long short-term memory neural networks for parking occupancy rate prediction. In: 10th IEEE international conference on communication systems and network technologies (CSNT), pp 522–525. https://doi.org/10.1109/CSNT51715.2021.9509621

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Rohit Kumar Kasera.

Ethics declarations

Conflict of interest

There are no conflicts of interest related to the content of this article.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Kasera, R.K., Acharjee, T. Parking slot occupancy prediction using LSTM. Innovations Syst Softw Eng (2022). https://doi.org/10.1007/s11334-022-00481-3

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s11334-022-00481-3

Keywords

Navigation