Video-Based Parking Occupancy Detection for Smart Control System
<p>The real-world presented large variations in appearance, occlusions, and displayed different camera angle: (<b>a</b>) Horizontal view, (<b>b</b>) Side view, and (<b>c</b>) Vertical view.</p> "> Figure 2
<p>Actual parking spaces in label patches. In the real-world four categories may be encountered: (<b>a</b>) Occupied, (<b>b</b>) Vacancy, (<b>c</b>) Occlusion, and (<b>d</b>) dark or nighttime.</p> "> Figure 3
<p>System process chart.</p> "> Figure 4
<p>Architecture design of the automatic streetlight and smart street parking control system.</p> "> Figure 5
<p>System methodology.</p> "> Figure 6
<p>Streetlight model.</p> "> Figure 7
<p>Relationship between anchor box and ground truth.</p> "> Figure 8
<p>MobileNet architecture diagram. (<b>a</b>) Standard convolution with 3 × 3 kernel. (<b>b</b>) Convolution operation is replaced with depthwise and pointwise convolution.</p> "> Figure 9
<p>Comparison of convolutional blocks among architectures.</p> "> Figure 10
<p>Comparison of methods using center points and area. (<b>a</b>) Parking lots. (<b>b</b>) Green bounding boxes provided by the dataset determine parking-space occupancy. (<b>c</b>) Blue bounding boxes are detected using YOLO. (<b>d</b>) The overlapping and IOU method is used to determine parking occupancy.</p> "> Figure 11
<p>(<b>a</b>) Real-time situation of the overlapping area; (<b>b</b>) overlapping; and (<b>c</b>) IOU.</p> "> Figure 12
<p>Illustration of voting mechanism.</p> "> Figure 13
<p>Illustration of smart streetlight system.</p> "> Figure 14
<p>Images of the automatic streetlight control system, which switched from dim night settings to a high state during object detection. In the daytime simulation, the LEDs were not illuminated. (<b>a</b>) In the nighttime representation, the dim LEDs were illuminated. (<b>b</b>) When an object was detected by the detection model form camera, the first set of high LEDs was illuminated, whereas the rest remained in the dim mode. (<b>c</b>) Only the second set of LEDs glowed at the high setting, and (<b>d</b>) the rest remained in a dim state.</p> "> Figure 15
<p>Streetlight control with the Jetson TX2. A sequence of images showed (<b>a</b>) the red car driving into the parking grid. (<b>b</b>) The model began to determine whether the red car occupied the space. (<b>c</b>,<b>d</b>) The voting mechanism verified that the red and blue cars stopped at parking grids.</p> "> Figure 16
<p>Occupancy detection process. (<b>a</b>) Original image of the input. (<b>b</b>) Green bounding boxes represent parking grids. (<b>c</b>) Blue bounding boxes from YOLO represent detected vehicles. (<b>d</b>) The yellow area was the intersection between parking grids and vehicles.</p> "> Figure 17
<p>Several conditions with the proposed method. (<b>a1</b>–<b>a4</b>) A car parking. (<b>b1</b>–<b>b4</b>) A car leaving its parking space. (<b>c1</b>–<b>c4</b>) A car passing through other parking spaces while leaving its parking space.</p> "> Figure 18
<p>Nighttime conditions with the proposed method. (<b>a1</b>–<b>a6</b>) A car leaving parking space 1. (<b>b1</b>–<b>b6</b>) A car leaving parking space 8.</p> "> Figure 19
<p>Overlapping and IOU comparison. (<b>a</b>) Original image. (<b>b</b>) Overlapping area of the car in the back and the parking space. (<b>c</b>) Overlapping area of the car in the front and the parking space.</p> ">
Abstract
:1. Introduction
2. Materials and Methods
2.1. Jetson TX2
2.2. Detection Model
2.2.1. YOLO
2.2.2. MobileNet
2.2.3. Vehicle Detection Based on MobileNet—YOLO Model
2.3. IOU and Overlapping
2.4. Voting Mechanism
Algorithm 1. Pseudocode for occupancy and voting mechanism. |
|
2.5. Streetlight Judgment
3. Experimental Results
3.1. Model for Reality Situation
3.2. Network
3.3. Verifying Our Approach with Real Scenes
4. Discussion
5. Conclusions
Author Contributions
Funding
Conflicts of Interest
References
- Anthopoulos, L.; Janssen, M.; Weerakkody, V. A Unified Smart City Model (USCM) for smart city conceptualization and benchmarking. In Smart Cities and Smart Spaces: Concepts, Methodologies, Tools, and Applications; IGI Global: Hershey, PA, USA, 2016; Volume 12, pp. 77–93. [Google Scholar] [CrossRef] [Green Version]
- Giffinger, R.; Gudrun, H. Smart cities ranking: An effective instrument for the positioning of the cities? ACE Archit. City Environ. 2010, 4, 7–26. [Google Scholar]
- Su, K.; Li, J.; Fu, H. Smart City and the Applications. In Proceedings of the 2011 international conference on electronics, communications and control (ICECC), Ningbo, China, 9–11 September 2011; pp. 1028–1031. [Google Scholar]
- Khanna, A.; Anand, R. IoT Based Smart Parking System. In Proceedings of the 2016 International Conference on Internet of Things and Applications (IOTA), Pune, India, 22–24 January 2016; pp. 266–270. [Google Scholar]
- Yoshiura, N.; Fujii, Y.; Ohta, N. Smart Street Light System Looking Like Usual Street Lights Based on Sensor Networks. In Proceedings of the 2013 13th International Symposium on Communications and Information Technologies (ISCIT), Surat Thani, Thailand, 4–6 September 2013; pp. 633–637. [Google Scholar]
- Sudhakar, K.S.; Anil, A.A.; Ashok, K.C.; Bhaskar, S.S. Automatic street light control system. Int. J. Emerg. Technol. Adv. Eng. 2013, 3, 188–189. [Google Scholar]
- Mumtaz, Z.; Ullah, S.; Ilyas, Z.; Liu, S.; Aslam, N.; Meo, J.A.; Madni, H.A. Automatic streetlights that glow on detecting night and object using Arduino. arXiv 2018, arXiv:1806.10968. [Google Scholar]
- Rajasekhar, T.; Rao, K.P. Solar powered led street light with auto intensity control. Int. J. Tech. Innov. Mod. Eng. Sci. 2017, 3, 1–4. [Google Scholar]
- Jagadeesh, Y.; Akilesh, S.; Karthik, S. Intelligent Street Lights. Procedia Technol. 2015, 21, 547–551. [Google Scholar] [CrossRef] [Green Version]
- Subramanyam, B.; Reddy, K.B.; Reddy, P.A.K. Design and development of intelligent wireless street light control and monitoring system along with gui. Int. J. Eng. Res. Appl. (IJERA) 2013, 3, 2115–2119. [Google Scholar]
- Mumtaz, Z.; Ullah, S.; Ilyas, Z.; Aslam, N.; Iqbal, S.; Liu, S.; Meo, J.; Madni, H. An automation system for controlling streetlights and monitoring objects using Arduino. Sensors 2018, 18, 3178. [Google Scholar] [CrossRef] [Green Version]
- Barve, V. Smart Lighting for Smart Cities. In Proceedings of the 2017 IEEE Region 10 Symposium (TENSYMP), Cochin, India, 14–16 July 2017; pp. 1–5. [Google Scholar]
- Yusoff, Y.M.; Rosli, R.; Karnaluddin, M.U.; Samad, M. Towards Smart Street Lighting System in Malaysia. In Proceedings of the 2013 IEEE Symposium on Wireless Technology & Applications (ISWTA), Kuching, Malaysia, 22–25 September 2013; pp. 301–305. [Google Scholar]
- Fujii, Y.; Yoshiura, N.; Takita, A.; Ohta, N. Smart Street Light System with Energy Saving Function Based on the Sensor Network. In Proceedings of the Fourth International Conference on Future Energy Systems, Berkeley, CA, USA, 22–24 May 2013; pp. 271–272. [Google Scholar]
- Kianpisheh, A.; Mustaffa, N.; Limtrairut, P.; Keikhosrokiani, P. Smart parking system (SPS) architecture using ultrasonic detector. Int. J. Softw. Eng. Appl. 2012, 6, 55–58. [Google Scholar]
- Marso, K.; Macko, D. A New Parking-Space Detection System Using Prototyping Devices and Bluetooth Low Energy Communication. Int. J. Eng. Technol. Innov. 2019, 9, 108. [Google Scholar]
- Yamada, K.; Mizuno, M. A vehicle parking detection method using image segmentation. Electron. Commun. Jpn. (Part III Fundam. Electron. Sci.) 2001, 84, 25–34. [Google Scholar] [CrossRef]
- Ho, G.T.S.; Tsang, Y.P.; Wu, C.H.; Wong, W.H.; Choy, K.L. A computer vision-based roadside occupation surveillance system for intelligent transport in smart cities. Sensors 2019, 19, 1796. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Vítek, S.; Melničuk, P. A distributed wireless camera system for the management of parking spaces. Sensors 2018, 18, 69. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Acharya, D.; Yan, W.; Khoshelham, K. Real-Time Image-Based Parking Occupancy Detection Using Deep Learning. In Proceedings of the 5th Annual Conference of Research@Locate, Adelaide, Australia, 9–11 April 2018; pp. 33–40. [Google Scholar]
- Nurullayev, S.; Lee, S.-W. Generalized Parking Occupancy Analysis Based on Dilated Convolutional Neural Network. Sensors 2019, 19, 277. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Ren, S.; He, K.; Girshick, R.; Sun, J. Faster R-Cnn: Towards Real-Time Object Detection with Region Proposal Networks. In Proceedings of the Advances in neural information processing systems, Montreal, QC, Canada, 7–12 December 2015; pp. 91–99. [Google Scholar]
- Liu, W.; Anguelov, D.; Erhan, D.; Szegedy, C.; Reed, S.; Fu, C.-Y.; Berg, A.C. Ssd: Single Shot Multibox Detector. In Proceedings of the European Conference on Computer Vision, Amsterdam, The Netherlands, 11–14 October 2016; pp. 21–37. [Google Scholar]
- Redmon, J.; Divvala, S.; Girshick, R.; Farhadi, A. You Only Look Once: Unified, Real-Time Object Detection. In Proceedings of the IEEE conference on computer vision and pattern recognition, Las Vegas, NV, USA, 27–30 June 2016; pp. 779–788. [Google Scholar]
- Ciampi, L.; Amato, G.; Falchi, F.; Gennaro, C.; Rabitti, F. Counting Vehicles with Cameras. In Proceedings of the SEBD, Castellaneta, Marina, Italy, 24–27 June 2018. [Google Scholar]
- Cai, B.Y.; Alvarez, R.; Sit, M.; Duarte, F.; Ratti, C. Deep Learning Based Video System for Accurate and Real-Time Parking Measurement. IEEE Internet Things J. 2019, 6, 7693–7701. [Google Scholar] [CrossRef] [Green Version]
- Xiang, X.; Lv, N.; Zhai, M.; El Saddik, A. Real-time parking occupancy detection for gas stations based on Haar-AdaBoosting and CNN. IEEE Sens. J. 2017, 17, 6360–6367. [Google Scholar] [CrossRef]
- Redmon, J.; Farhadi, A. Yolov3: An Incremental Improvement. Available online: https://arxiv.org/abs/1804.02767 (accessed on 8 August 2019).
- Sandler, M.; Howard, A.; Zhu, M.; Zhmoginov, A.; Chen, L.-C. Mobilenetv2: Inverted Residuals and Linear Bottlenecks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, 18–22 June 2018; pp. 4510–4520. [Google Scholar]
- Amato, G.; Carrara, F.; Falchi, F.; Gennaro, C.; Meghini, C.; Vairo, C. Deep learning for decentralized parking lot occupancy detection. Expert Syst. Appl. 2017, 72, 327–334. [Google Scholar] [CrossRef]
- Lin, T. Labelimg. Available online: https://github.com/tzutalin/labelImg (accessed on 29 March 2018).
- Krizhevsky, A.; Sutskever, I.; Hinton, G.E. Imagenet Classification with Deep Convolutional Neural Networks. In Proceedings of the Advances in Neural Information Processing Systems, Lake Tahoe, NV, USA, 3–6 December 2012; pp. 1097–1105. [Google Scholar]
- Blanco-Filgueira, B.; García-Lesta, D.; Fernández-Sanjurjo, M.; Brea, V.M.; López, P. Deep learning-based multiple object visual tracking on embedded system for iot and mobile edge computing applications. IEEE Internet Things J. 2019, 6, 5423–5431. [Google Scholar] [CrossRef] [Green Version]
- Giubilato, R.; Chiodini, S.; Pertile, M.; Debei, S. An evaluation of ROS-compatible stereo visual SLAM methods on a nVidia Jetson TX2. Measurement 2019, 140, 161–170. [Google Scholar] [CrossRef]
- Liu, J.; Liu, J.; Du, W.; Li, D. Performance Analysis and Characterization of Training Deep Learning Models on NVIDIA TX2. arXiv 2019, arXiv:1906.04278. [Google Scholar]
- Dollár, P.; Wojek, C.; Schiele, B.; Perona, P. Pedestrian Detection: A Benchmark. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Miami, FL, USA, 20–25 June 2009; pp. 304–311. [Google Scholar]
- Chang, S.-L.; Chen, L.-S.; Chung, Y.-C.; Chen, S.-W. Automatic license plate recognition. IEEE Trans. Intell. Transp. Syst. 2004, 5, 42–53. [Google Scholar] [CrossRef]
- Sun, Z.; Bebis, G.; Miller, R. On-road vehicle detection: A review. IEEE Trans. Pattern Anal. Mach. Intell. 2006, 28, 694–711. [Google Scholar] [PubMed]
- Sivaraman, S.; Trivedi, M.M. Looking at vehicles on the road: A survey of vision-based vehicle detection, tracking, and behavior analysis. IEEE Trans. Intell. Transp. Syst. 2013, 14, 1773–1795. [Google Scholar] [CrossRef] [Green Version]
- De La Escalera, A.; Moreno, L.E.; Salichs, M.A.; Armingol, J.M. Road traffic sign detection and classification. IEEE Trans. Ind. Electron. 1997, 44, 848–859. [Google Scholar] [CrossRef] [Green Version]
- Bahlmann, C.; Zhu, Y.; Ramesh, V.; Pellkofer, M.; Koehler, T. A System for Traffic Sign Detection, Tracking, and Recognition Using Color, Shape, and Motion Information. In Proceedings of the IEEE Proceedings. Intelligent Vehicles Symposium, Las Vegas, NV, USA, 6–8 June 2005; pp. 255–260. [Google Scholar]
- Girshick, R.; Donahue, J.; Darrell, T.; Malik, J. Rich Feature Hierarchies for Accurate Object Detection and Semantic Segmentation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Columbus, OH, USA, 23–28 June 2014; pp. 580–587. [Google Scholar]
- Lin, T.-Y.; Dollár, P.; Girshick, R.; He, K.; Hariharan, B.; Belongie, S. Feature Pyramid Networks for Object Detection. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA, 21–26 July 2017; pp. 2117–2125. [Google Scholar]
- He, K.; Zhang, X.; Ren, S.; Sun, J. Deep Residual Learning for Image Recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA, 27–30 June 2016; pp. 770–778. [Google Scholar]
- Deng, J.; Dong, W.; Socher, R.; Li, L.-J.; Li, K.; Fei-Fei, L. Imagenet: A large-scale Hierarchical Image Database. In Proceedings of the 2009 IEEE Conference on Computer Vision and Pattern Recognition, Miami, FL, USA, 20–25 June 2009; pp. 248–255. [Google Scholar]
- Howard, A.G.; Zhu, M.; Chen, B.; Kalenichenko, D.; Wang, W.; Weyand, T.; Andreetto, M.; Adam, H. Mobilenets: Efficient convolutional neural networks for mobile vision applications. arXiv 2017, arXiv:1704.04861. [Google Scholar]
- True, N. Vacant Parking Space Detection in Static Images; University of California: San Diego, CA, USA, 2007; Volume 17, pp. 659–662. [Google Scholar]
- Canziani, A.; Paszke, A.; Culurciello, E. An analysis of deep neural network models for practical applications. arXiv 2016, arXiv:1605.07678. [Google Scholar]
Name of Method | Testing Accuracy |
---|---|
AlexNet | 96.54% |
ResNet50 | 96.24% |
CarNet [21] | 97.24% |
Ours | 98.97% |
Name of Method | MOE |
---|---|
mAlexNet | 4.17% |
Mask R-CNN | 5.23% |
Re-trained Mask R-CNN [25] | 3.64% |
Ours | 1.56% |
Name of Network | Per Frame | FPS | Parameter |
---|---|---|---|
Darknet-53 | 0.55 sec | 1.8 | 61576342 |
MobileNet v2 | 0.41 sec | 2.3 | 4359264 |
Image | Camera Model | Image Size (H) × (V) | Resolution | Accuracy |
---|---|---|---|---|
CNRPark + EXT | 5 MP Fixed Focus Color Camera | 2592 × 1944 pixels | 96 dpi | 98.97% |
real scenes 1 (daytime) | Logitech-C920 HD PRO WEBCAM | 1204 × 907 pixels | 142 dpi | 96.71% |
real scenes 2 (nighttime) | Microsoft LifeCam Studio V2 (Q2F-00017) | 1920 × 1080 pixels | 96 dpi | 89.97% |
© 2020 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
Chen, L.-C.; Sheu, R.-K.; Peng, W.-Y.; Wu, J.-H.; Tseng, C.-H. Video-Based Parking Occupancy Detection for Smart Control System. Appl. Sci. 2020, 10, 1079. https://doi.org/10.3390/app10031079
Chen L-C, Sheu R-K, Peng W-Y, Wu J-H, Tseng C-H. Video-Based Parking Occupancy Detection for Smart Control System. Applied Sciences. 2020; 10(3):1079. https://doi.org/10.3390/app10031079
Chicago/Turabian StyleChen, Lun-Chi, Ruey-Kai Sheu, Wen-Yi Peng, Jyh-Horng Wu, and Chien-Hao Tseng. 2020. "Video-Based Parking Occupancy Detection for Smart Control System" Applied Sciences 10, no. 3: 1079. https://doi.org/10.3390/app10031079
APA StyleChen, L. -C., Sheu, R. -K., Peng, W. -Y., Wu, J. -H., & Tseng, C. -H. (2020). Video-Based Parking Occupancy Detection for Smart Control System. Applied Sciences, 10(3), 1079. https://doi.org/10.3390/app10031079