Camera-Based Parking Slot Monitoring System using Adaptive Brightness Thresholding and HSV Color Filtering
DOI:
https://doi.org/10.59934/jaiea.v6i1.2622Keywords:
parking monitoring system, OpenCV, brightness thresholding, Raspberry Pi, FirebaseAbstract
Traditional parking systems have been known to cause traffic queues and difficulty in locating parking spaces. This study proposes a camera-based parking slot monitoring system that combines Region of Interest (ROI), adaptive brightness thresholding, and HSV color detection, without relying on any artificial intelligence algorithm such as CNN or YOLO. This approach was chosen so that the system can run lightly in real time on a low-power embedded device such as a Raspberry Pi 4, without requiring a training dataset or GPU acceleration. A USB camera was used as the visual sensor, a Raspberry Pi 4 as the computing unit, Firebase Realtime Database as the data storage, and a web-based dashboard as the monitoring interface. A small-scale parking prototype consisting of 20 slots was tested under two lighting conditions. As a result, detection accuracy reached 87.5% under bright lighting conditions and 65% under low-light conditions, with an average data update latency of 1–2 seconds. These findings indicate that a rule-based, pixel-brightness approach is sufficiently effective for small-scale parking monitoring, although performance under low-light conditions still requires improvement through additional lighting or more adaptive thresholding methods.
Downloads
References
G. Bradski, "The OpenCV library," Dr. Dobb's Journal of Software Tools, 2000.
Suhartono, S. Gunawan Zain, and A. F. Sadaruddin, "Implementation of convolutional neural network algorithm for detecting empty parking area based on Raspberry Pi," Jurnal E-Komtek, vol. 8, no. 1, pp. 154–167, 2024, doi: 10.37339/e-komtek.v8i1.1220.
A. Amrullah and U. Saputro Anggoro, "Validasi kendaraan pada sistem parkir cerdas berbasis pengenalan citra menggunakan Raspberry Pi 3," Smart Comp, vol. 12, no. 2, pp. 479–488, 2023, doi: 10.30591/smartcomp.v12i2.5096.
L. H. Aguswandi, B. K. T, and G. H. Martono, "Smart parking space detection using advanced deep learning techniques," Jurnal JAISE, vol. 5, no. 1, pp. 198–204, 2025, doi: 10.30811/jaise.v5i1.6473.
S. Efan, "Sistem monitoring penempatan lokasi parkir kendaraan berbasis IoT," Jurnal Syntax Admiration, vol. 2, no. 5, pp. 930–950, 2021, doi: 10.46799/jsa.v2i5.238.
G. R. Koten et al., "Penerapan internet of things pada smart parking system untuk kebutuhan pengembangan smart city," Jurnal Teknik Industri dan Manajemen Rekayasa, vol. 1, no. 1, pp. 49–59, 2023, doi: 10.24002/jtimr.v1i1.7204.
A. Muzaki, T. T. Mabruroh, R. Ibrahim, and R. Wulaningrum, "Deteksi ketersediaan lahan parkir dengan menggunakan OpenCV," Seminar Nasional Teknologi & Sains, vol. 3, no. 1, pp. 237–244, 2024, doi: 10.29407/stains.v3i1.4291.
D. P. S. A. Diandra, "Monitoring lahan parkir menggunakan Python, Cv2, Cvzone dan Numpy," Jurnal Teknik dan Sistem Komputer, vol. 9, no. 1, pp. 157–161, 2025.
M. W. Sardjono, D. A. Lestari, and M. Mujahidin, "Aplikasi penghitung kapasitas ruang parkir pada lahan parkir kosong menggunakan library OpenCV," JSCE, vol. 4, no. 1, pp. 1–14, 2023, doi: 10.47650/jsce.v4i1.656.
R. C. Gonzalez and R. E. Woods, Digital Image Processing, 4th ed. Pearson, 2018.
R. S. Pressman, Software Engineering: A Practitioner's Approach, 8th ed. McGraw-Hill, 2015.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Journal of Artificial Intelligence and Engineering Applications (JAIEA)

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.








