Skip to main content
Log in

A hybrid deep learning CNN-ELM approach for parking space detection in Smart Cities

  • Original Article
  • Published:
Neural Computing and Applications Aims and scope Submit manuscript

Abstract

With each passing day, the number of smart vehicles is increasing manifold, hence, automatic/automated parking lot detection is gaining a lot of importance among Smart City applications. A robust approach is desired to identify parking spaces effectively and efficiently. This work presents a deep learning classifier based on convolutional neural network (CNN) and extreme learning machine (ELM), i.e., CNN-ELM to classify the parking space as vacant or occupied. CNN is well-known for efficient image classification, but its training time is highly influenced by backpropagation of errors in the fully connected layer. Thus, ELM is plugged into CNN to replace the fully connected layer and perform classification whereas, feature extraction is performed using CNN. The performance of CNN-ELM is validated on the publicly available PKLot dataset, which contains approximately 700,000 images categorized into sunny, overcast, and rainy weather conditions. The experimental results indicate that CNN-ELM approach outperforms other hybrid CNN models using different classifiers such as support vector machine, Xgboost, and Extra Trees in terms of sensitivity, specificity, and accuracy. The comparison of results with other state-of-the-art approaches based on accuracy and Area under the curve (AUC) score further justifies the effectiveness of the proposed approach in real-time parking space detection.

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 dataset analyzed during the current study is publicly available [30].

References

  1. Jimenez JA (2018) Smart transportation systems. In: Smart Cities, pp 123–133. Springer

  2. Zhu L, Yu FR, Wang Y, Ning B, Tang T (2018) Big data analytics in intelligent transportation systems: a survey. IEEE Trans Intell Transp Syst 20(1):383–398

    Google Scholar 

  3. Zantalis F, Koulouras G, Karabetsos S, Kandris D (2019) A review of machine learning and IoT in smart transportation. Future Internet 11(4):94

    Google Scholar 

  4. Jan B, Farman H, Khan M, Talha M, Din IU (2019) Designing a smart transportation system: an internet of things and big data approach. IEEE Wireless Commun 26(4):73–79

    Google Scholar 

  5. Anagnostopoulos T, Fedchenkov P, Tsotsolas N, Ntalianis K, Zaslavsky A, Salmon I (2020) Distributed modeling of smart parking system using LSTM with stochastic periodic predictions. Neural Comput Appl 32(14):10783–10796

    Google Scholar 

  6. Wang Z, Ma Y (2022) Detection and recognition of stationary vehicles and seat belts in intelligent internet of things traffic management system. Neural Comput Appl 34(5):3513–3522

    Google Scholar 

  7. Lee S, Yoon D, Ghosh A (2008) Intelligent parking lot application using wireless sensor networks. In: 2008 International symposium on collaborative technologies and systems, pp 48–57. IEEE

  8. Kianpisheh A, Mustaffa N, Limtrairut P, Keikhosrokiani P (2012) Smart parking system (SPS) architecture using ultrasonic detector. Int J Softw Eng Its Appl 6(3):55–58

    Google Scholar 

  9. Patil M, Bhonge VN (2013) Wireless sensor network and RFID for smart parking system. Int J Emerg Technol Adv Eng 3(4):188–192

    Google Scholar 

  10. Shao Y, Chen P, Cao T (2018) A grid projection method based on ultrasonic sensor for parking space detection. In: IGARSS 2018-2018 IEEE international geoscience and remote sensing symposium, pp 3378–3381. IEEE

  11. Delibaltov D, Wu W, Loce RP, Bernal EA (2013) Parking lot occupancy determination from lamp-post camera images. In: 16th international IEEE conference on intelligent transportation systems (ITSC 2013), pp 2387–2392. IEEE

  12. del Postigo CG, Torres J, Menéndez JM (2015) Vacant parking area estimation through background subtraction and transience map analysis. IET Intell Transp Syst 9(9):835–841

    Google Scholar 

  13. Amato G, Carrara F, Falchi F, Gennaro C, Vairo C (2016) Car parking occupancy detection using smart camera networks and deep learning. In: 2016 IEEE symposium on computers and communication (ISCC), pp 1212–1217. IEEE

  14. Rawat W, Wang Z (2017) Deep convolutional neural networks for image classification: a comprehensive review. Neural Comput 29(9):2352–2449

    MathSciNet  MATH  Google Scholar 

  15. Liu J, Guo F, Gao H, Huang Z, Zhang Y, Zhou H (2021) Image classification method on class imbalance datasets using multi-scale CNN and two-stage transfer learning. Neural Comput Appl 33(21):14179–14197

    Google Scholar 

  16. 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. Springer

  17. Chang Y-L, Tan T-H, Lee W-H, Chang L, Chen Y-N, Fan K-C, Alkhaleefah M (2022) Consolidated convolutional neural network for hyperspectral image classification. Remote Sens. 14(7):1571

    Google Scholar 

  18. Patel H, Upla KP (2022) A shallow network for hyperspectral image classification using an autoencoder with convolutional neural network. Multimed Tools Appl 81(1):695–714

    Google Scholar 

  19. Huang G-B, Zhu Q-Y, Siew C-K (2006) Extreme learning machine: theory and applications. Neurocomputing 70(1–3):489–501

    Google Scholar 

  20. Huang G-B, Zhu Q-Y, Siew C-K (2004) Extreme learning machine: a new learning scheme of feedforward neural networks. In: 2004 IEEE international joint conference on neural networks (IEEE Cat. No. 04CH37541), vol 2, pp 985–990. IEEE

  21. Huang G-B, Zhou H, Ding X, Zhang R (2011) Extreme learning machine for regression and multiclass classification. IEEE Trans Syst Man Cybern Part B (Cybern) 42(2):513–529

    Google Scholar 

  22. Chorowski J, Wang J, Zurada JM (2014) Review and performance comparison of SVM-and ELM-based classifiers. Neurocomputing 128:507–516

    Google Scholar 

  23. Huang G-B (2014) An insight into extreme learning machines: random neurons, random features and kernels. Cognit Comput 6(3):376–390

    Google Scholar 

  24. Ahmad I, Basheri M, Iqbal MJ, Rahim A (2018) Performance comparison of support vector machine, random forest, and extreme learning machine for intrusion detection. IEEE Access 6:33789–33795

    Google Scholar 

  25. Rujirakul K, So-In C (2018) Histogram equalized deep PCA with elm classification for expressive face recognition. In: 2018 international workshop on advanced image technology (IWAIT), pp 1–4. IEEE

  26. Gurpinar F, Kaya H, Dibeklioglu H, Salah A (2016) Kernel elm and CNN based facial age estimation. In: Proceedings of the IEEE conference on computer vision and pattern recognition workshops, pp 80–86

  27. Deeb H, Sarangi A, Mishra D, Sarangi SK (2022) Human facial emotion recognition using improved black hole based extreme learning machine. Multimed Tools Appl 81(17):24529–24552

    Google Scholar 

  28. Wu C, Li Y, Zhao Z, Liu B (2020) Extreme learning machine with autoencoding receptive fields for image classification. Neural Comput Appl 32(12):8157–8173

    Google Scholar 

  29. Roul RK, Asthana SR, Kumar G (2017) Study on suitability and importance of multilayer extreme learning machine for classification of text data. Soft Comput 21(15):4239–4256

    Google Scholar 

  30. De Almeida PR, Oliveira LS, Britto AS Jr, Silva EJ Jr, Koerich AL (2015) PKLot—a robust dataset for parking lot classification. Expert Syst Appl 42(11):4937–4949

    Google Scholar 

  31. Karami Z, Kashef R (2020) Smart transportation planning: data, models, and algorithms. Transp Eng 2:100013

    Google Scholar 

  32. Raj E Fantin Irudaya, Appadurai M (2022) Internet of things-based smart transportation system for smart cities. In: Intelligent systems for social good, pp 39–50. Springer

  33. Khan A, Aslam S, Aurangzeb K, Alhussein M, Javaid N (2022) Multiscale modeling in smart cities: a survey on applications, current trends, and challenges. Sustain Cities Soc 78:103517

    Google Scholar 

  34. Tekouabou SCK, Cherif W, Silkan H et al (2020) Improving parking availability prediction in smart cities with IoT and ensemble-based model. J King Saud Univ Comput Inf Sci 34(3):687–697

    Google Scholar 

  35. 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

    Google Scholar 

  36. 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

    Google Scholar 

  37. Jelen G, Podobnik V, Babic J (2021) Contextual prediction of parking spot availability: a step towards sustainable parking. J Clean Prod 312:127684

    Google Scholar 

  38. Nyambal J, Klein R (2017) Automated parking space detection using convolutional neural networks. In: 2017 pattern recognition association of South Africa and robotics and mechatronics (PRASA-RobMech), pp 1–6. IEEE

  39. Xiang X, Lv N, Zhai M, El Saddik A (2017) Real-time parking occupancy detection for gas stations based on Haar-AdaBoosting and CNN. IEEE Sens J 17(19):6360–6367

    Google Scholar 

  40. Gkolias K, Vlahogianni EI (2018) Convolutional neural networks for on-street parking space detection in urban networks. IEEE Trans Intell Transp Syst 20(12):4318–4327

    Google Scholar 

  41. Nurullayev S, Lee S-W (2019) Generalized parking occupancy analysis based on dilated convolutional neural network. Sensors 19(2):277

    Google Scholar 

  42. Šćekić Z, Čakić S, Popović T, Jakovljević A (2022) Image-based parking occupancy detection using deep learning and faster r-cnn. In: 2022 26th international conference on information technology (IT), pp 1–5. IEEE

  43. Naufal A, Fatichah C, Suciati N (2020) Preprocessed mask RCNN for parking space detection in smart parking systems. Int J Intell Eng Syst 13(6):255–265

    Google Scholar 

  44. LeCun Y, et al (2015) Lenet-5, convolutional neural networks. URL: http://yann.lecun.com/exdb/lenet, vol 20(5), p 14

  45. Krizhevsky A, Sutskever I, Hinton GE (2012) Imagenet classification with deep convolutional neural networks. Adv Neural Inf Process Syst, 25

  46. Simonyan K, Zisserman A (2014) Very deep convolutional networks for large-scale image recognition. arXiv:1409.1556

  47. Targ S, Almeida D, Lyman K (2016) Resnet in resnet: generalizing residual architectures. arXiv:1603.08029

  48. Szegedy C, Ioffe S, Vanhoucke V, Alemi AA (2017) Inception-v4, inception-resnet and the impact of residual connections on learning. In: Thirty-first AAAI conference on artificial intelligence

  49. Cheng G-J, Cai L, Pan H-X (2009) Comparison of extreme learning machine with support vector regression for reservoir permeability prediction. In: 2009 international conference on computational intelligence and security, vol 2, pp 173–176. IEEE

  50. Niu W-J, Feng Z-K, Feng B-F, Min Y-W, Cheng C-T, Zhou J-Z (2019) Comparison of multiple linear regression, artificial neural network, extreme learning machine, and support vector machine in deriving operation rule of hydropower reservoir. Water 11(1):88

    Google Scholar 

  51. Gao Z, Hu Q, Xu X (2022) Condition monitoring and life prediction of the turning tool based on extreme learning machine and transfer learning. Neural Comput Appl 34(5):3399–3410

    Google Scholar 

  52. Roul RK (2022) Impact of multilayer elm feature mapping technique on supervised and semi-supervised learning algorithms. Soft Comput 26(1):423–437

    MathSciNet  Google Scholar 

  53. Weisstein EW (2002) Moore-penrose matrix inverse. https://mathworld.wolfram.com/

  54. Suthaharan S (2016) Support vector machine. In: Machine learning models and algorithms for big data classification, pp 207–235. Springer

  55. Chen T, He T, Benesty M, Khotilovich V, Tang Y, Cho H, Chen K et al (2015) Xgboost: extreme gradient boosting. R package version 0.4-2 1(4):1–4

    Google Scholar 

  56. Geurts P, Ernst D, Wehenkel L (2006) Extremely randomized trees. Mach Learn 63(1):3–42

    MATH  Google Scholar 

  57. Kramer O (2013) K-nearest neighbors. In: Dimensionality reduction with unsupervised nearest neighbors, pp 13–23. Springer

  58. Murtagh F (1991) Multilayer perceptrons for classification and regression. Neurocomputing 2(5–6):183–197

    MathSciNet  Google Scholar 

  59. Murphy KP et al (2006) Naive Bayes classifiers. Univ B C 18(60):1–8

    Google Scholar 

  60. Tharwat A, Gaber T, Ibrahim A, Hassanien AE (2017) Linear discriminant analysis: a detailed tutorial. AI Commun 30(2):169–190

    MathSciNet  Google Scholar 

  61. Srivastava S, Gupta MR, Frigyik BA (2007) Bayesian quadratic discriminant analysis. J Mach Learn Res 8(6):1277–1305

    MathSciNet  MATH  Google Scholar 

  62. Chollet F (2017) Xception: deep learning with depthwise separable convolutions. In: Proceedings of the IEEE conference on computer vision and pattern recognition, pp 1251–1258

  63. Szegedy C, Vanhoucke V, Ioffe S, Shlens J, Wojna Z (2016) Rethinking the inception architecture for computer vision. In: Proceedings of the IEEE conference on computer vision and pattern recognition, pp 2818–2826

  64. He K, Zhang X, Ren S, Sun J (2016) Deep residual learning for image recognition. In: Proceedings of the IEEE conference on computer vision and pattern recognition, pp 770–778

  65. Ding X, Yang R (2019) Vehicle and parking space detection based on improved yolo network model. In: Journal of physics: conference series, vol 1325, p 012084. IOP Publishing

  66. Polprasert C, Sruayiam C, Pisawongprakan P, Teravetchakarn S (2019) A camera-based smart parking system employing low-complexity deep learning for outdoor environments. In: 2019 17th international conference on ICT and knowledge engineering (ICT &KE), pp 1–5. IEEE

  67. Mettupally SNR, Menon V (2019) A smart eco-system for parking detection using deep learning and big data analytics. In: 2019 SoutheastCon, pp 1–4. IEEE

  68. Agrawal T, Urolagin S (2020) Multi-angle parking detection system using mask r-cnn. In: Proceedings of the 2020 2nd international conference on big data engineering and technology, pp 76–80

  69. Sairam B, Agrawal A, Krishna G, Sahu SP (2020) Automated vehicle parking slot detection system using deep learning. In: 2020 4th international conference on computing methodologies and communication (ICCMC), pp 750–755. IEEE

  70. Dhuri V, Khan A, Kamtekar Y, Patel D, Jaiswal I (2021) Real-time parking lot occupancy detection system with vgg16 deep neural network using decentralized processing for public, private parking facilities. In: 2021 international conference on advances in electrical, computing, communication and sustainable technologies (ICAECT), pp 1–8. IEEE

  71. Kolhar M, Alameen A (2021) Multi criteria decision making system for parking system. Comput Syst Sci Eng 36(1):101–116

    Google Scholar 

  72. Ahrnbom M, Astrom K, Nilsson M (2016) Fast classification of empty and occupied parking spaces using integral channel features. In: Proceedings of the IEEE conference on computer vision and pattern recognition workshops, pp 9–15

  73. He K, Sun J (2015) Convolutional neural networks at constrained time cost. In: Proceedings of the IEEE conference on computer vision and pattern recognition, pp 5353–5360

  74. Huang G-B, Ding X, Zhou H (2010) Optimization method based extreme learning machine for classification. Neurocomputing 74(1):155–163

    Google Scholar 

  75. Zhong H, Miao C, Shen Z, Feng Y (2014) Comparing the learning effectiveness of BP, ELM, I-ELM, and SVM for corporate credit ratings. Neurocomputing 128:285–295

    Google Scholar 

  76. Olatunji SO (2017) Extreme learning machines and support vector machines models for email spam detection. In: 2017 IEEE 30th Canadian conference on electrical and computer engineering (CCECE), pp 1–6. IEEE

  77. Sandberg IW (1994) General structures for classification. IEEE Trans Circuits Syst I Fundam Theory and Appl 41(5):372–376

    MATH  Google Scholar 

  78. Huang G-B, Chen Y-Q, Babri HA (2000) Classification ability of single hidden layer feedforward neural networks. IEEE Trans Neural Netw 11(3):799–801

    Google Scholar 

Download references

Acknowledgments

We acknowledge the financial support provided by Department of Science and Technology (DST), Government of India under Innovation in Science Pursuit for Inspired Research (INSPIRE) Fellowship, INSPIRE Code- IF190242, for carrying out this research. We are also grateful to Thapar Institute of Engineering & Technology, Patiala, India for providing smart system with GPU for this research work.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ravneet Kaur.

Ethics declarations

Conflict of interest

The authors declare that they have no conflict of interest.

Ethical approval

This article does not contain any studies with human participants or animals performed by any of the authors.

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 (e.g. a society or other partner) 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

Kaur, R., Roul, R.K. & Batra, S. A hybrid deep learning CNN-ELM approach for parking space detection in Smart Cities. Neural Comput & Applic 35, 13665–13683 (2023). https://doi.org/10.1007/s00521-023-08426-y

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00521-023-08426-y

Keywords

Navigation