CAST-Park: A Dual-View Deep Learning Framework for Cross-Camera Parking Occupancy Recognition and Reliability-Aware Decision-Making
Authors
Department of Cybersecurity, Northwest University, Kano State (Nigeria)
Department of Computer Science, Northwest University, Kano State (Nigeria)
Department of Cybersecurity, Northwest University, Kano State (Nigeria)
Department of Cybersecurity, Northwest University, Kano State (Nigeria)
Department of Software Engineering, Northwest University, Kano State (Nigeria)
Article Information
DOI: 10.51584/IJRIAS.2026.11110130
Subject Category: Computer Science
Volume/Issue: 11/11 | Page No: 1943-1963
Publication Timeline
Submitted: 2026-11-16
Accepted: 2026-11-21
Published: 2026-12-02
Abstract
Reliable vision-based parking occupancy recognition requires accurate classification across camera perspectives and confidence estimates that support operational decisions. We propose CAST-Park, a dual-view framework combining contextual and polygon-masked parking-space representations through two source-trained ResNet18 encoders. The study compares equal probability averaging with regularised logistic fusion of 1,024-dimensional concatenated representations and evaluates source-fitted temperature scaling, selective prediction and asymmetric error costs. Models were developed on PKLot UFPR04 and evaluated with fixed parameters on eight additional CNRPark-EXT cameras comprising 149,710 annotated spaces from 3,621 photographs. Equal averaging achieved mean camera macro-F1 of 0.9493 against 0.9206 for the contextual branch and reduced pooled classification errors by 34.8% (12,323 to 8,036). The individual branches exhibited 11,456 complementary correct decisions. On camera9, averaging reversed 535 correct masked-branch decisions, whereas feature-level fusion recovered 151 observations across the evaluation set that both individual heads misclassified. Source-calibrated averaging improved target Brier score to 0.04471 and ECE15 to 0.01954. Cost-sensitive threshold analysis demonstrated that the preferred integration strategy depends on both the error-cost ratio and decision threshold: calibrated averaging yielded lower weighted loss at ratios 2:1 and 5:1, while calibrated learned fusion had a small advantage at 10:1. These results establish the value of paired spatial representations and jointly evaluating predictive accuracy, probability reliability and cost-aware decision behaviour under camera transfer. The analysis further distinguishes pooled space-weighted metrics from equal-camera summaries and examines cases in which combining representations reverses a correct individual prediction. Camera-cluster uncertainty estimates and matched-coverage experiments are used to qualify the comparisons. The findings are limited to the specified source-to-target benchmark configuration and do not establish generalisation across independently sampled parking facilities.
Keywords
Parking occupancy recognition, dual-view fusion, cross-camera transfer, probability calibration, selective classification
Downloads
References
1. Amato, G., Carrara, F., Falchi, F., Gennaro, C., Meghini, C., & Vairo, C. (2017). Deep learning for decentralized parking lot occupancy detection. Expert Systems with Applications, 72, 327–334. https://doi.org/10.1016/j.eswa.2016.10.055 [Google Scholar] [Crossref]
2. Amato, G., Carrara, F., Falchi, F., Gennaro, C., Meghini, C., & Vairo, C. (n.d.). CNRPark+EXT: A dataset for visual occupancy detection of parking lots. CNR official dataset project. https://cnrpark.it/ (accessed 5 November 2026). [Google Scholar] [Crossref]
3. de Almeida, P. R. L., Oliveira, L. S., Britto Jr., A. S., Silva Jr., E. J., & Koerich, A. L. (2015). PKLot—A robust dataset for parking lot classification. Expert Systems with Applications, 42(11), 4937–4949. https://doi.org/10.1016/j.eswa.2015.02.009 [Google Scholar] [Crossref]
4. de Almeida, P. L., Alves, J. H., Kujavski, L. M., Alves, P. L., & Oliveira, L. E. (2026). MetaPKLot—New challenges and protocols for vision-based parking lot management. Neural Computing and Applications, 38, Article 704. https://doi.org/10.1007/s00521-026-12398-0 [Google Scholar] [Crossref]
5. Geifman, Y., & El-Yaniv, R. (2017). Selective classification for deep neural networks. Advances in Neural Information Processing Systems, 30. [Google Scholar] [Crossref]
6. Guo, C., Pleiss, G., Sun, Y., & Weinberger, K. Q. (2017). On calibration of modern neural networks. Proceedings of the 34th International Conference on Machine Learning, Proceedings of Machine Learning Research, 70, 1321–1330. [Google Scholar] [Crossref]
7. Jiang, J., Tang, R., Kang, W., Xu, Z., & Qian, C. (2025). Two-stage efficient parking space detection method based on deep learning and computer vision. Applied Sciences, 15(3), Article 1004. https://doi.org/10.3390/app15031004 [Google Scholar] [Crossref]
8. Lassen, V., Lübke, M., & Franchi, N. (2025). Parking-occupancy detection through adaptive multisensor camera-CNN fusion. IEEE Sensors Letters, 9(9), Article 7004404. https://doi.org/10.1109/LSENS.2025.3593908 [Google Scholar] [Crossref]
9. Martynova, A., Kuznetsov, M., Porvatov, V., Tishin, V., Kuznetsov, A., Semenova, N., & Kuznetsova, K. (2023). Revising deep learning methods in parking lot occupancy detection [Preprint]. arXiv:2306.04288. https://arxiv.org/abs/2306.04288 [Google Scholar] [Crossref]
10. Nurullayev, S., & Lee, S.-W. (2019). Generalized parking occupancy analysis based on dilated convolutional neural network. Sensors, 19(2), Article 277. https://doi.org/10.3390/s19020277 [Google Scholar] [Crossref]
11. Qian, C., Yang, K., He, J., Peng, X., & Huang, H. (2025). Curb parking occupancy prediction based on real-time fusion of multi-view spatial-temporal information using graph attention gated networks. Applied Soft Computing, 171, Article 112781. https://doi.org/10.1016/j.asoc.2025.112781 [Google Scholar] [Crossref]
12. Sharifai, A. G., Danlami, M., Bakari, I. B., & Haruna, U. S. (2024). Vacant parking space detection based on DenseNet-121 with Swin Transformer in smart cities. 2024 1st International Conference on Cyber Security and Computing (CyberComp), 51–56. https://doi.org/10.1109/CyberComp60759.2024.10913963 [Google Scholar] [Crossref]
13. Thakur, N., Bhattacharjee, E., Jain, R., Acharya, B., & Hu, Y.-C. (2024). Deep learning-based parking occupancy detection framework using ResNet and VGG-16. Multimedia Tools and Applications, 83(1), 1941–1964. https://doi.org/10.1007/s11042-023-15654-w [Google Scholar] [Crossref]
14. Yuldashev, Y., Mukhiddinov, M., Abdusalomov, A. B., Nasimov, R., & Cho, J. (2023). Parking lot occupancy detection with improved MobileNetV3. Sensors, 23(17), Article 7642. https://doi.org/10.3390/s23177642 [Google Scholar] [Crossref]
15. Yuldashev, Y., Mukhiddinov, M., Abdusalomov, A. B., Nasimov, R., & Cho, J. (2024). Correction: Yuldashev et al. Parking Lot Occupancy Detection with Improved MobileNetV3. Sensors 2023, 23, 7642. Sensors, 24(16), Article 5236. https://doi.org/10.3390/s24165236 [Google Scholar] [Crossref]
16. Yunganina Mamani, F. G., Ccori Coarite, G. L., Chambi Vilca, J. A., Condori-Coaquira, A. R., Mamani-Pari, D., Humpiri-Flores, M. E., & Tocto-Cano, E. (2026). Comparative evaluation of deep learning object detectors for real-time parking occupancy detection under variable lighting conditions. Sensors, 26(17), Article 5329. https://doi.org/10.3390/s26175329 [Google Scholar] [Crossref]
Metrics
Views & Downloads
Similar Articles
- What the Desert Fathers Teach Data Scientists: Ancient Ascetic Principles for Ethical Machine-Learning Practice
- Comparative Analysis of Some Machine Learning Algorithms for the Classification of Ransomware
- Comparative Performance Analysis of Some Priority Queue Variants in Dijkstra’s Algorithm
- Transfer Learning in Detecting E-Assessment Malpractice from a Proctored Video Recordings.
- Dual-Modal Detection of Parkinson’s Disease: A Clinical Framework and Deep Learning Approach Using NeuroParkNet