An Image Feature-Based Method for Parking Lot Occupancy
<p>Parking lot occupancy system processing diagram.</p> "> Figure 2
<p>Defined parking area map on benchmark 1.</p> "> Figure 3
<p>Defined parking area map on benchmark 2.</p> "> Figure 4
<p>The image of the parking space: (<b>a</b>) before the adjustment; (<b>b</b>) after the perspective adjustment.</p> "> Figure 5
<p>The image of (<b>a</b>) sunny parking space; (<b>b</b>) the result of SIFT corner detector.</p> "> Figure 6
<p>The image of (<b>a</b>) occupied parking space); (<b>b</b>) the result of SIFT corner detector.</p> "> Figure 7
<p>The image of (<b>a</b>) available sunny parking space; (<b>b</b>) the result of SIFT corner detector.</p> "> Figure 8
<p>Frame history on 20 consecutive frames.</p> "> Figure 9
<p>A result sample from benchmark 1.</p> "> Figure 10
<p>A result sample from benchmark 2.</p> "> Figure 11
<p>Results on benchmark 1.</p> "> Figure 12
<p>Results on benchmark 2.</p> "> Figure 13
<p>Detection of parking lot 1 availability: (<b>a</b>) the before direct sunlight; (<b>b</b>) with direct sunlight; (<b>c</b>) at the end of the day.</p> "> Figure 14
<p>Detection of parking lot 2 availability: (<b>a</b>) the before direct sunlight; (<b>b</b>) with direct sunlight; (<b>c</b>) at the end of the day.</p> "> Figure 15
<p>Results on benchmark 1 over: (<b>a</b>) day, (<b>b</b>) night.</p> "> Figure 16
<p>Results on benchmark 2 over: (<b>a</b>) day, (<b>b</b>) night.</p> ">
Abstract
:1. Introduction
2. The Proposed Algorithm
2.1. Initial Configuration
2.2. The Image Processing Chain
2.2.1. Frame Preprocessing
2.2.2. Adaptive Background Subtraction
2.2.3. Extraction of the Area of Interest
2.2.4. Metrics and Measurements Used for Description of the Area of Interest
- Sliding window dimension (winsize) is set to (64, 128). It defines the size of the descriptor.
- The size descriptor winSize is first divided into size cell cellSize (8, 8), and for each cell, a histogram of gradient direction or edge orientation is computed. Each pixel in the cell contributes to the histogram based on the gradient values [8].
- Adjacent cell groups are considered 2D regions called blocks, of size (16, 16). A Block uses blockSize.width · blockSize.height adjacent cells in order to estimate a normalized histogram out of the blockSize.width · blockSize.height cell histograms. Grouping the cells into a block is the basis for grouping and normalizing histograms. BlockStride can be used to arrange the blocks in an overlapping manner. BlockStride size is set to (8, 8).
- The histogram group constructs the block histogram. All normalized histograms estimated for each block are concatenated, defining the final descriptor vector.
- YUV: standard deviation on channel V;
- HSV: standard deviation on channel S;
- YCbCr: standard deviation on channel Cb;
2.2.5. Feature Tracking
Function SetStatus (indexParkingLot) if meanHOG[indexParkingLot] > 0.03 then statusOccupied++; else statusAvailable++; end if if noSIFT[indexParkingLot] >= 7 then statusOccupied++; else statusAvailable++; end if if devSYUV[indexParkingLot] > 1.4 then statusOccupied++; else statusAvailable++; end if if (devSHSV[indexParkingLot] > 9) then statusOccupied++; else statusAvailable++; end if if (devSYCrCb[indexParkingLot] > 1.1) then statusOccupied++; else statusAvailable++; end if if (statusAvailable > statusAvailable) then status = 0 else status = 1 end if EndStatus
for parkingSpace=0:totalNumberParkingLot if(sizeOfBuffer < 20) Status = SetStatus(parkingSpace) Add status in buffer else SlidingWindow Status = SetStatus(parkingSpace) Add status in buffer end if if predominat is 1 in buffer StatusParkingSpace = 1 else StatusParkingSpace = 0 end if end for
2.2.6. Decision Process on Area of Interest
3. Results of the Proposed Method
3.1. Benchmarks and Metrics Used for Validation
3.2. Results
4. Conclusions
Author Contributions
Funding
Conflicts of Interest
References
- Masmoudi, I.; Wali, A.; Alimi, A.M. Parking spaces modelling for inter spaces occlusion handling. In Proceedings of the 22nd International Conference in Central Europe on Computer Graphics Visualization and Computer Vision, Plzen, Czech Republic, 2–5 June 2014. [Google Scholar]
- Bibi, N.; Majid, M.N.; Dawood, H.; Guo, P. Automatic parking space detection system. In Proceedings of the 2017 2nd International Conference on Multimedia and Image Processing (ICMIP), Wuhan, China, 17–19 March 2017; pp. 11–15. [Google Scholar]
- Wu, Q.; Zhang, Y. Parking Lots Space Detection; Technical Report; Carnegie Mellon University: Pittsburgh, PA, USA, 2006. [Google Scholar]
- Cazamias, J.; Marek, M. Parking Space Classification Using Convolutional Neural Networks; Technical Report; Stanford University: Stanford, CA, USA, 2016; Available online: http://cs231n.stanford.edu/reports/2016/pdfs/280_Report.pdf (accessed on 2 November 2018).
- Delibaltov, D.; Wu, W.; Loce, R.P.; Bernal, E.A. Parking lot occupancy determination from lamp-post camera images. In Proceedings of the 16th International IEEE Conference on Intelligent Transportation Systems (ITSC 2013), The Hague, The Netherlands, 6–9 October 2013; pp. 2387–2392. [Google Scholar]
- Yusnita, R.; Norbaya, F.; Basharuddin, N. Intelligent parking space detection system based on image processing. Int. J. Innov. Manag. Technol. 2012, 3, 232–235. [Google Scholar]
- George, T.S.H.; Yung, P.T.; Chun, H.W.; Wai, H.W.; King, L.C. A Computer Vision-Based Roadside Occupation Surveillance System for Intelligent Transport in Smart Cities. Sensors 2019, 19, 1796. [Google Scholar] [Green Version]
- Giuseppe, A.; Fabio, C.; Fabrizio, F.; Claudio, G.; Carlo, M.; Claudio, V. Deep Learning for Decentralized Parking Lot Occupancy Detection. Expert Syst. Appl. 2017, 72, 327–334. [Google Scholar]
- Mehmet, S.K.; Aline, C.V.; Luigi, I.; Daniel, K.; Gregory, M.; Jean, P.V. A Smart Parking Lot Management System for Scheduling the Recharging of Electric Vehicles. IEEE Trans. Smart Grid 2015, 6, 2942–2953. [Google Scholar]
- Wang, X.; Sun, J.; Peng, H.-Y. Foreground Object Detecting Algorithm based on Mixture of Gaussian and Kalman Filter in Video Surveillance. J. Comput. 2013, 8, 693–700. [Google Scholar]
- Bouwmans, T.; El Baf, F.; Vachon, B. Background Modeling using Mixture of Gaussians for Foreground Detection—A Survey. Recent Pat. Comput. Sci. 2008, 1, 219–237. [Google Scholar] [CrossRef]
- Dalal, N.; Triggs, B. Histograms of oriented gradients for human detection. In Proceedings of the International Conference on Computer Vision & Pattern Recognition (CVPR’05), Computer Society, San Diego, CA, USA, 20–25 June 2005; pp. 886–893. [Google Scholar]
- Prates, R.F.; Cámara-Chávez, G.; Schwartz, W.R.; Menotti, D. Brazilian License Plate Detection Using Histogram of Oriented Gradients and Sliding Windows. Int. J. Comput. Sci. Inf. Technol. 2013, 5, 39–52. [Google Scholar]
- Koschan, A.; Abidi, M. Digital Color Image Processing; John Wiley Sons: Hoboken, NJ, USA, 2008. [Google Scholar]
- Zhang, X.; Liu, K.; Wang, X.; Yu, C.; Zhang, T. Moving shadow removal algorithm based on HSV color space. Indones. J. Electr. Eng. 2014, 12, 2769–2775. [Google Scholar] [CrossRef]
Benchmark | No. of Frames | Algorithms | FP (%) | FN (%) | TP (%) | TN (%) | Accuracy (%) |
---|---|---|---|---|---|---|---|
1 | 90,984 | HOG, SIFT | 36.7216 | 0 | 2.3637 | 60.9146 | 63.2783 |
HOG, SIFT, YUV, HSV, YCrCb | 5.0914 | 0 | 47.4542 | 47.4542 | 93.3902 | ||
2 | 121,400 | HOG, SIFT | 18.6388 | 5.2719 | 45.4698 | 30.6193 | 82.0846 |
HOG, SIFT, YUV, HSV, YCrCb | 3.3694 | 2.6306 | 19.9672 | 74.0327 | 93.0354 |
© 2019 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Share and Cite
Tătulea, P.; Călin, F.; Brad, R.; Brâncovean, L.; Greavu, M. An Image Feature-Based Method for Parking Lot Occupancy. Future Internet 2019, 11, 169. https://doi.org/10.3390/fi11080169
Tătulea P, Călin F, Brad R, Brâncovean L, Greavu M. An Image Feature-Based Method for Parking Lot Occupancy. Future Internet. 2019; 11(8):169. https://doi.org/10.3390/fi11080169
Chicago/Turabian StyleTătulea, Paula, Florina Călin, Remus Brad, Lucian Brâncovean, and Mircea Greavu. 2019. "An Image Feature-Based Method for Parking Lot Occupancy" Future Internet 11, no. 8: 169. https://doi.org/10.3390/fi11080169
APA StyleTătulea, P., Călin, F., Brad, R., Brâncovean, L., & Greavu, M. (2019). An Image Feature-Based Method for Parking Lot Occupancy. Future Internet, 11(8), 169. https://doi.org/10.3390/fi11080169