Outdoor Parking Control System using Image Processing and Light Fidelity (Li-Fi) Communication Technology

Download Full-Text PDF Cite this Publication

Text Only Version

Outdoor Parking Control System using Image Processing and Light Fidelity (Li-Fi) Communication Technology

Rami Nahas

Department of Electical Engineering, University of Business and Technology, Jeddah, Saudi Arabia

Abstract:- In this paper, a fully automated system is introduced which allows drivers to effectively locate and reserve the vacant parking spaces. The system will use image processing to periodically scan the parking status in parking lots and locate the vacant spaces; the reservation service will be affected by the change of physical parking status. The collected data at the parking spaces will be transmitted to the main controller using Light Fidelity technology to ensure high and efficient data transmission. A programmed radio frequency identification system is used to scan the user card to check if he/she has a permission to enter or not. A Raspberry Pi module is programmed and used to capture, communicate, and analyze data. The main advantage of this system is high communication speed.

Keywords: Li- Fi, RFID, Raspberry Pi, Smart parking, and Image processing.


As the population around the world is growing, the number of motor vehicles used is increasing rapidly, so the need of new car parking places is required. To avoid these problems, recently many new technologies have been developed to help in solving the parking problems to a great extent. The traffic generated by cars drivers searching for parking spaces takes up to 40% of the total traffic, with a huge impact on the mobility and quality of life of residents (Fraifer and Fernström, 2004; Mateo et al., 2009; Yan et al., 2009).

In the past two decades, the concept of intelligence in terms of smart parking systems became more popular in the most vibrant cities, especially in malls and shopping centers. In the mid-80s, the systems used for parking relied mainly on the traditional method of pushing a button in the device next to the checkpoint to get a parking ticket and on exiting, the driver must pay before inserting their ticket in order for the barrier to rise (Chou et al., 2008). This was the method used to determine how many cars came in and out the system each day, and it was used to count the number of vacant spaces available (Longfei et al., 2009; Adler et al., 2005; Khoukhi, 2010; Li et al., 2004; Yeh et al., 2016; Pham et al., 2015). It began by utilizing different methods such as sensors or barriers to be able to know the status of parking lots. All these methods developed dramatically further until recently the term smart city vision emerged. So, a new

method to mange the parking systems automatically is needed (Lee et al., 2016; Mahmud et al., 2013; Sharafi and Nikpoor, 2010).

There are a lot of similar works to the work presented in this paper. However, they used different techniques. For example, Nammoon and et. al. introduced a system that gives drivers real time information about the parking and direction guide. The system uses Visible light communication (VLC) technology to give smart parking information, which leads saving in time and fuel. The system was validated through indoor experiments (Nammoon et al., 2014).

Lee and et.al. introduced a system to reduce the time needed for finding a parking spot by using image processing. The system is designed to provide information about the available parking spaces and for registered users it provides an automated payment system. This system can be applied everywhere because it is easy to use and effective ( Lee et al.,2016).

Bhor and his team introduced a system that uses vehicle number plate recognition for automatic parking and electronic fee collection. The goal of this system is to increase the accessibility and security of the parking lots. The system also has a parking guidance to guide users to parking lots. The system recognizes the vehicle plate number using image processing for operation of the parking and payments (Bhor et al.,2016).

Finally, Soundarya and Sumithra proposed a system that uses image processing for parking solutions. The system uses a camera that is placed overhead the parking lots; the camera captures an image of the parking lots and a microprocessor is attached to the camera for processing the image to give the number of empty slots. Also, the system sends SMS to the driver about the number of empty spaces (Soundarya et al., 2018).

The system presented in this work will guide drivers to the available parking spaces and their location in an efficient and fast way. Hence, different technologies have been used in the introduced system such as (Sharma et al., 2011; Kianpisheh et al., 2012; Geng and Cassandras, 2012).

Light Fidelity (Li-Fi) is a wireless communication technology that enables the wireless data transmission through Laser source. This means when Laser is used, lighting bulbs can bring not only the light, but also wireless data transmitted at the same time.

Radio Frequency Identification (RFID) tags are small transponders that respond to queries from a reader by wirelessly transmitting a serial number or similar identifier. They are heavily used to track items in production environments and to label items in supermarkets. They are usually thought of as an advanced barcode.


    Proposed System Overview

    The introduced system will consist of two main parts a transmitter and a receiver as shown in Fig. 1. The camera will take images from the parking lot for each spot and send it to the microcontroller. The microcontroller will analyze the images and find available parking spots and their locations. This information will be sent to the receiver using LI-FI.

    This procedure will be updated every five seconds. The RFID system is connected to a Raspberry pi, which is easy and flexible to use. The IDs of the RFID are stored in the database to be able to add and remove IDs. To make the

    The Raspberry Pi is a small, barebones computer developed by The Raspberry Pi Foundation with the intention of providing low-cost computers and free software to students. The Raspberry pi Camera Module v2 has a Sony IMX219 8- megapixel sensor. The camera module can be used to take high-definition video, as well as stills photographs.

    In this paper, the full details of the design and implementation of the Li-Fi communication and image processing is presented, including the use of RFID tags and the Raspberry pi system at an outdoor parking control system.

    system even smarter, a screen is installed in the system that can show how many parking spots are available in the parking area, and it can communicate to the driver the nearest parking available. Indirectly with a Raspberry pi camera, information about the selected parking area will be updated every 2.3 seconds. This camera can detect all kinds of cars with high quality images. These data will be sent fast through light to the original Raspberry pi. This is where LI- FI technology takes place and it is efficient. In the entrance gate of the parking lot, there is a screen that tells this information about parking searching procedure. The gate will open once the system authorize the ID card and finds available parking.


    Transmission Part

    Transmission Part

    Receiving Part

    Receiving Part


    Receiving Part

    The receiver is responsible for sending a signal to the gate to open or not. In this part a passive RFID tag that works on high frequency range (10-15 MHz) is used. The main role of the RFID system is to provide a tag number that allow the Raspberry p controller to check if the tag number is already

    registered in the data base or not. So, if the tag number is not registered the LCD screen will display that this tag number is not available, and the user is not allowed to enter. On the other hand, If the tag number is registered the Li-Fi solar cell receiver will receive data coming from the transmitter about the number and location of available parking spots. Fig. 2 shows the flow chart of the receiving part of the system.



    Name/part number


    RC 522

    RFID transceiver

    Raspberry Pi B3


    LCD 16*2

    LCD screen 16 bit

    Servo Motor

    Gate Barrier

    Solar Cell

    Li-Fi receiver

    Transmission part

    The transmitter is responsible to take the information about the available parking slot and their location from the microcontroller and send it to the Receiving Part. The Transmission part consists of Camera, Raspberry pi, and Laser. Fig. 3 shows the flow chart of the transmitter part of the system. So, the Camera will take images of the location every 5 seconds and save them in the microcontroller. Then,

    the open CV library will take the saved images and convert them to Numby Array. Array will be compared with Cascade Classifier. The Comparison is made to find how many cars detected in images and will draw red squares on the cars found (called Frames). For detecting the location of the cars, by dividing the horizontal pixels, this will create zones. So, the system will make another comparison between the Frames location and the divided horizontal pixels of the image.



    Name/part number


    Pi Camera 8MP


    Raspberry Pi B3


    Laser 200mw

    Li-Fi sender

    The results from the comparison of the whole process will be sent as an Array explaining the parking spot status where 1 indicates the parking is taken, and 0 indicates otherwise. This information will be sent to the receiver through a laser. Fig. 4 shows the resultant Array.



In this paper a fully automated system was introduced that allows drivers to effectively find available parking spot and reserve the vacant parking spaces number. Image processing technique is used to periodically recognize the parking status in the parking lots where the reservation service is affected by the change of physical parking status. Li-Fi is used for to provide high communication speed.


  1. M. Fraifer M. Fernström. "Smart Car parking system prototype utilizing CCTVs," Intel Ireland Research Conference, Dublin- Ireland. 2014.

  2. A. Mateo, Y. Lee, and J. Lee. "Collision detection for ubiquitous parking management based on multi-agent system," KES International Symposium on Agent and Multi-Agent Systems: Technologies and Applications, pp. 570-578 .2009.

  3. G. Yan, C. Weigle, and S. Olariu. "A novel parking service using wireless networks," IEEE International Conference on Service Operations, Logistics and Informatics pp. 406-411 .2009.

  4. S. Chou, S. Lin, and C. Li. "Dynamic parking negotiation and guidance using an agent based platform," Expert Systems with Applications, pp 805-817 .2008.

  5. W. Longfei, C. Hong, and L. Yang. "Integrating mobile agent with multi-agent system for intelligent parking negotiation and guidance," 4th IEEE Conference on Industrial Electronics and Applications, pp. 1704-1707 .2009.

  6. J. Adler, G. Satapathy, V. Manikonda, B. Bowles, and J. Blue. "A multi-agent approach to cooperative traffic management and route guidance," Transportation Research Part B: Methodological, pp 297-318 .2005.

  7. A. Khoukhi. "An intelligent multi-agent system for mobile robots navigation and parking," IEEE International Workshop on Robotic and Sensors Environments (ROSE), pp. 1-6. 2010.

  8. C. Li, S. Chou, and S. Lin. "An agent-based platform for drivers and car parks negotiation," IEEE International Conference on Networking, Sensing and Control, pp. 1038-1043. 2004.

  9. H. Yeh, B. Chen, and B. Wang. "A City Parking Integration System Combined with Cloud Computing Technologies and Smart Mobile

    Devices," Eurasia Journal of Mathematics, Science & Technology Education, pp 1231-1242. 2016.

  10. T. Pham, M. Tsai, D. Nguyen, C. Dow, and D. Deng. "A Cloud- Based Smart-Parking System Based on Internet-of-Things Technologies," IEEE Access (3), pp 1581-1591. 2015.

  11. C. Lee, Y. Han, S. Jeon, D. Seo, and I. Jung. "Smart parking system for Internet of Things," IEEE International Conference on Consumer Electronics (ICCE), pp. 263-264. 2016.

  12. S. Mahmud, G. Khan, M. Rahman, and H. Zafar. "A survey of intelligent car parking system," Journal of applied research and technology, pp 714-726. 2013.

  13. M. Sharafi, and S. Nikpoor. "Intelligent parking method for truck in presence of fixed and moving obstacles and trailer in presence of fixed obstacles: Advanced Fuzzy logic technologies in industrial applications," International Conference On Electronics and Information Engineering (ICEIE), pp. V2-268-V262-272. 2010.

  14. S. Mohammadi, M. Tavassoli, and A. Rajabi. "Authoritative Intelligent Perfect Parallel Parking Based on Fuzzy Logic Controller for Car-Type Mobile Robot," 8th International Conference on Information Technology: New Generations (ITNG), pp. 135-138. 2011.

  15. A. Sharma, R. Chaki, and U. Bhattacharya. "Applications of wireless sensor network in Intelligent Traffic System: A review," 3rd International Conference on Electronics Computer Technology (ICECT), pp. 53-57. 2011.

  16. A. Kianpisheh, N. Mustaffa, P. Limtrairut, and P. Keikhosrokiani. "Smart parking system (SPS) architecture using ultrasonic detector," International Journal of Software Engineering and Its Applications, pp 55-58. 2012.

  17. Y. Geng, and C. Cassandras. "A new smart parking system infrastructure and implementation," Procedia-Social and Behavioral Sciences (54), pp 1278-1287. 2012.

  18. k. Nammoon, J. Changqiang, Z. Biao, and K. Zhou. Smart Parking Information System Exploiting Visible Light Communication International Journal of Smart Home 8(1), pp. 251-260. 2014.

  19. A. Bhor, P. Kale, P. Nalawade, and C. Aryan. Automatic Parking System using Image Processing, International Journal of Innovative Research in Computer and Communication Engineering (4) 3, pp. 3369-3372. 2016.

  20. R. Soundarya, and M. Sumithra. Smart Parking system using Image processing, International Research Journal of Engineering and Technology (IRJET), (5) 4, pp. 922-924. 2018.

Leave a Reply

Your email address will not be published. Required fields are marked *