This paper provides a smart parking system based on open CV that was created for open parking lots, multi-story parking garages, and many more applications. The suggested system design makes use of the coordinate bound pixel and combined bound pixel and combined edge detection sections in python and the open CV library to determine whether or not a parking space in the captured footage is occupied. Additionally, it shows how to convert images to text. Text is extracted from the processed image using Tesseract. To ensure that various slots receive varying degrees of treatment to yield optimal text results, image processing is variable.One of the key functionalities of these systems is automated occupancy detection. Through the use of edge detection and pixel analysis techniques provided by OpenCV, the system can determine in real-time whether a parking spot is occupied or vacant. This information is crucial for drivers seeking available spaces and for parking facility managers to monitor occupancy levels efficiently.The variable level of image processing ensures adaptability across different environments and lighting conditions. By adjusting the image processing algorithms, the system can effectively handle variations in image quality and environmental factors, providing consistent and reliable results regardless of the setting.
Introduction
With the rapid increase in vehicle ownership, finding parking spaces in urban areas has become a significant challenge, causing traffic congestion, pollution, and inefficiency. Traditional parking methods are manual, time-consuming, and ineffective, especially in multi-storey parking structures.
To address this, smart parking systems leveraging image processing and computer vision offer an efficient solution. These systems use cameras to capture real-time images of parking lots and apply advanced algorithms—such as edge detection, background subtraction, contour detection, and machine learning classifiers—to detect and monitor parking space occupancy. Integration of machine learning improves adaptability to varying conditions and vehicle types, while Optical Character Recognition (OCR) can be used to recognize license plates and signage, enabling automated billing and enforcement.
Various related works highlight the use of embedded vision systems, IoT-based sensors (e.g., ZigBee, geomagnetic sensors), and cloud integration to enhance parking management and provide real-time occupancy data via mobile apps or displays.
The proposed system uses Python and OpenCV to analyze video feeds, define parking zones, and mark spaces as occupied (red) or vacant (green). It also employs OCR (Tesseract) for license plate recognition to automate billing based on parking duration.
Benefits include:
Reduced time searching for parking, easing congestion
Real-time parking information accessible to users
Cost savings for parking operators through automation
Environmental benefits via reduced vehicle idling and emissions
The system’s methodology involves image acquisition, preprocessing, segmentation, feature extraction, classification, and real-time occupancy updates. Algorithms like background subtraction, edge and contour detection, machine learning classifiers, and OCR form the core of the implementation.
In testing, the system successfully identifies empty parking spaces by marking them green and occupied spaces red, demonstrating practical effectiveness.
Conclusion
Image Processing is very crucial for extracting any informa-tion from an image. In this study, a proposed plan for a smart parking system based on image processing has been effectively tried and run with a few videos taken from indoor parking garages. The system works precisely in deciding regardless of whether the parking slots are occupied or not by showing a red outline if a vehicle is inside or consuming a parking spot and afterward turns green when it is unoccupied. In the number plate detection, we first applied image processing algorithms to images and afterward those images were utilized in Tesseract software to acquire the text from the images. Different images have distinctive text styles, length, width and font, so different images require different levels of digital image processing techniques. Out of these image results for a single image the most appropriate image is then applied to Tesseract for obtaining the text from an image. Therefore, after digitally processing the image we have accomplished better and near to perfection outputs.
The future scope of smart parking systems using image pro-cessing holds tremendous potential for further advancements and integration with emerging technologies.Implementation of advanced security measures, such as encryption and secure data transmission protocols, to protect user information and ensure the integrity of system operations. Privacy concerns related to image data handling will also be addressed through robust policies and technologies.
References
[1] Ming-Yee Chiu, R.Depommier,a nd T.spindler, ”An embedded real-time vision system for 24-hour indoor/outdoor car-counting applica-tions,”Pattern Recognition, 2004
[2] A design of parking space detector based on video image,”Zhang Bin,Jiang Dalin, Wang fang, and Wan Tingting Electronic Measurement Instruments, 2009.
[3] In the 13th International Symposium on Distributed Computing and Applications to Business Engineering And Science(DCABES) 2014.F. Zhou and Q. Li presented their parking guida system based on ZigBee and geomagnetic sensor technologies.which was published on pages 268-271.
[4] The paper ”Parking avaliability prediction for sensor-enabled car parks in smart cities” was presented at the IEEE 10th International Conference on Intelligent Sensors Sensor Networks and Information Processing (ISSNIP) 2015 by Y. Zheng, S. Rajasegarar , and C.Leckie.
[5] In 2016, A. Khanna and R. Anand published ”Iot based smart parking system”.
[6] ”A cloud-based intelligence car parking services for smart cities,”z.ji,I.Ganchev, M.O’droma, and X.Zhang, General Assembly and Scientific Symposium (URSI GASS) 2014 XXXIth URSI,pp.1-4.
[7] Cheng,K.(2018)” Indoor Parking DAHUA.”[online].It’s accessible at https://www.youtube.com[AS of 2018].
[8] In 2013, KETOSI published ”[KETOSI] Audi R8 V10 Parking Lot Ac-cident CCTV.”[Online].It’s accessible at https://www.youtube.com[Date of access:2018].
[9] The authors Jian, M.S., Yang,K.S.,and Lee,C.L. developed a modular RFID parking management system that integrated withan existing gate system. Transactions on Systems, WSEAS,vol.
[10] RFID-based smart parking system and Tsiropoulou,E.E., Baras, J.s., Papavassiliou,S., and Sinha,S.[22-41] in CyberPhysical Systems, Vo.3, no 1-4(2017).
[11] Bi, Y., Sun, L., Zhu, H., Yan, T., Luo, Z., A parking management system based on wireless sensor network. Acta Automatica Sinica, vol. 32, no. 6, p. 968 (2006)
[12] Vera-Gomez,´ J. A., Quesada-Arencibia, A., Garc´?a, C. R., Suarez´ Moreno, R., Guerra Hernandez,´ F., An intelligent parking management system for urban areas. Sensors, vol. 16, no. 6, p. 931 (2016)
[13] Gandhi, B. K., Rao, M. K., A prototype for IoT based car parking management system for smart cities. Indian Journal of Science and Technology, vol. 9, no. 17, pp. 1–6 (2016)
[14] Lou, L., Li, Q., Zhang, Z., Yang, R., He, W., An IoTDriven Vehicle Detection Method Based on Multisource Data Fusion Technology for Smart Parking Management System. IEEE Internet of Things Journal, vol. 7, no. 11, pp. 11020–11029 (2020)
[15] Chandra, H., Hadisaputra, K. R., Santoso, H., Anggadjaja, E., Smart parking management system: An integration of RFID, ALPR, and WSN. In: IEEE 3rd International Conference on Engineering Technologies and Social Sciences (ICETSS), 2017, pp. 1–6 (2017)