An Improved CrowdDet Algorithm for Traffic Congestion Detection in Expressway Scenarios
Abstract
:1. Introduction
- The proposal of an improved version of the CrowdDet algorithm (IBCDet) that incorporates the Involution operator and BiFPN modules, leading to enhanced long-distance vehicles and occluded vehicles detection accuracy in expressway surveillance scenarios.
- The development of a vehicle-tracking algorithm based on IBCDet that calculates the running speed of vehicles and utilizes the Chinese expressway LoS criteria for traffic congestion detection.
- Extensive experiments conducted on the self-built NJRY dataset and the public UA-DETRAC dataset, which demonstrate the superior performance of the proposed IBCDet algorithm in both vehicle detection accuracy and traffic congestion detection accuracy compared to commonly used object detection algorithms.
2. Related Works
3. Methodology
3.1. Baseline Detector
3.2. The Improved Vehicle Detection Network Model Based on CrowdDet Algorithm (IBCDet)
3.3. Traffic Congestion Detection Based on IBCDet
4. Experimental Results and Performance Analysis
4.1. Dataset
4.2. Evaluation Metrics of Vehicle Detection
4.3. Performance Analysis
4.3.1. Experimental Results on NJRY Dataset
4.3.2. Experimental Results on the UA-DETRAC Dataset
4.4. Using IBCDet to Implement Traffic Congestion Detection
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Pei, J.; Li, J.; Zhou, B.; Li, Y.; Li, J. A Recommendation Algorithm about Choosing Travel Means for Urban Residents in Intelligent Traffic System. In Proceedings of the 2021 IEEE 5th Advanced Information Technology, Electronic and Automation Control Conference (IAEAC), Chongqing, China, 26–28 March 2021; pp. 2553–2556. [Google Scholar]
- Wang, L. Significance Analysis of Influencing Factors of Highway Freight Transportation in China and Multi-Variable Grey Prediction for Its Development. Intell. Fuzzy Syst. 2021, 41, 1237–1246. [Google Scholar] [CrossRef]
- Enescu, F.M.; Bizon, N.; Serban, G.; Vatuiu, T.-B.; Istrate, D.-C. Environmental Protection-Blockchain Solutions for Intelligent Passenger Transportation of Persons. In Proceedings of the 2021 13th International Conference on Electronics, Computers and Artificial Intelligence (ECAI), Pitesti, Romania, 24–26 June 2021; pp. 1–6. [Google Scholar]
- Zhang, C.; Shen, S.; Huang, H.; Fang, S.; Zhao, H.; Zhao, X. Estimation of the Vehicle Speed Using Cross-Correlation Algorithms and MEMS Wireless Sensors. Sensors 2021, 21, 1721. [Google Scholar] [CrossRef] [PubMed]
- Zhang, L.; Lu, Y. Distributed Consensus-Based Boundary Observers for Freeway Traffic Estimation with Sensor Networks. In Proceedings of the American Control Conference (ACC), Denver, CO, USA, 1–3 July 2020; pp. 4497–4502. [Google Scholar]
- Tampubolon, H.; Yang, C.L.; Chan, A.S.; Ciptadi, A. Optimized CapsNet for Traffic Jam Speed Prediction Using Mobile Sensor Data under Urban Swarming Transportation. Sensors 2019, 19, 5277. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Qureshi, K.N.; Abdullah, A.H.; Altameem, A. Road Aware Geographical Routing Protocol Coupled with Distance, Direction and Traffic Density Metrics for Urban Vehicular Ad Hoc Networks. Wireless Pers. Commun. 2017, 92, 1251–1270. [Google Scholar] [CrossRef]
- Oumaima, E.J.; Jalel, B.O.; Véronique, V. A Stochastic Traffic Model for Congestion Detection in Multi-lane Highways. In Proceedings of the Ad Hoc Networks: 12th EAI International Conference (ADHOCNETS 2020), Paris, France, 17 November 2020; Springer International Publishing: Cham, Switzerland, 2021; pp. 87–99. [Google Scholar]
- Lam, C.T.; Gao, H.; Ng, B. A Real-Time Traffic Congestion Detection System Using On-Line Images. In Proceedings of the IEEE 17th International Conference on Communication Technology (ICCT), Chengdu, China, 27–30 October 2017; pp. 1548–1552. [Google Scholar]
- Tahmid, T.; Hossain, E. Density Based Smart Traffic Control System Using Canny Edge Detection Algorithm for Congregating Traffic Information. In Proceedings of the 3rd International Conference on Electrical Information and Communication Technology (EICT), Khulna, Bangladesh, 28–30 December 2017; pp. 1–5. [Google Scholar]
- He, F.; Yan, X.; Liu, Y.; Han, L.; Li, G. A Traffic Congestion Assessment Method for Urban Road Networks Based on Speed Performance Index. Procedia Eng. 2016, 137, 425–433. [Google Scholar] [CrossRef] [Green Version]
- Jin, Y.; Hao, W.; Wang, P.; Wang, Z. Fast Detection of Traffic Congestion from Ultra-Low Frame Rate Image Based on Semantic Segmentation. In Proceedings of the 2019 14th IEEE Conference on Industrial Electronics and Applications (ICIEA), Xi’an, China, 19–21 June 2019; pp. 528–532. [Google Scholar]
- Willis, C.; Harborne, D.; Tomsett, R.; Guo, Y. A Deep Convolutional Network for Traffic Congestion Classification. In Proceedings of the NATO IST-158/RSM-010 Specialists’ Meeting on Content Based Real-Time Analytics of Multi-Media Streams, Bucharest, Romania, 16–18 May 2017; pp. 1–11. [Google Scholar]
- García-García, L.; Jimenez, J.M.; Taha, M.; Lloret, J. Wireless Technologies for IoT in Smart Cities. Netw. Protoc. Algorithms 2018, 10, 23–64. [Google Scholar] [CrossRef] [Green Version]
- Rehman, G.; Ghani, A.; Zubair, M.; Ghayyure, S.A.K.; Muhammad, S. Honesty based democratic scheme to improve community cooperation for Internet of Things based vehicular delay tolerant networks. Trans. Emerg. Telecommun. Technol. 2021, 32, e4191. [Google Scholar] [CrossRef]
- Rehman, G.; Ghani, A.; Zubair, M.; Saeed, M.I.; Singh, D. SOS: Socially Omitting Selfishness in IoT for Smart and Connected Communities. Int. J. Commun. Syst. 2020, 36, e4455. [Google Scholar] [CrossRef]
- Rasheed, A.; Gillani, S.; Ajmal, S.; Ahmad, I. Vehicular Ad Hoc Network (VANET): A Survey, Challenges, and Applications. In Proceedings of the Vehicular Ad-Hoc Networks for Smart Cities: Second International Workshop, Lahore, Pakistan, 7–8 August 2016; Springer: Singapore, 2017; pp. 39–51. [Google Scholar]
- Wang, H.; Quan, W.; Ochieng, W.Y. Smart Road Stud Based Two-Lane Traffic Surveillance. J. Intell. Transp. Syst. 2020, 24, 480–493. [Google Scholar] [CrossRef]
- Ding, D.; Tong, J.; Kong, L. A Deep Learning Approach for Quality Enhancement of Surveillance Video. J. Intell. Transp. Syst. 2020, 24, 304–314. [Google Scholar] [CrossRef]
- Chu, X.; Zheng, A.; Zhang, X.; Ma, J.; Qi, H. Detection in Crowded Scenes: One Proposal, Multiple Predictions. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Virtual, 13–19 June 2020; pp. 12214–12223. [Google Scholar]
- Li, D.; Hu, J.; Wang, C.; Shi, B.; Zhuang, Y.; Lin, Y. Involution: Inverting the Inherence of Convolution for Visual Recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Virtual, 19–25 June 2021; pp. 12321–12330. [Google Scholar]
- Tan, M.; Pang, R.; Le, Q.V. EfficientDet: Scalable and Efficient Object Detection. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA, 13–19 June 2020; pp. 10781–10790. [Google Scholar]
- Gao, Y.; Li, J.; Xu, Z.; Zhao, X.; Cheng, Y.; Wang, Y.; Wang, X.; Zhang, B. A Novel Image-Based Convolutional Neural Network Approach for Traffic Congestion Estimation. Expert Syst. Appl. 2021, 180, 115037. [Google Scholar] [CrossRef]
- Kurniawan, J.; Syahra, S.G.S.; Dewa, C.K. Traffic Congestion Detection: Learning from CCTV Monitoring Images Using Convolutional Neural Network. Procedia Comput. Sci. 2018, 2672, 222–231. [Google Scholar] [CrossRef]
- Chakraborty, P.; Adu-Gyamfi, Y.O.; Poddar, S.; Ahsani, V.; Sharma, A.; Sarkar, S. Traffic Congestion Detection from Camera Images Using Deep Convolution Neural Networks. Transp. Res. Rec. 2018, 144, 291–297. [Google Scholar] [CrossRef] [Green Version]
- 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]
- Lam, C.-T.; Ng, B.; Chan, C.-W. Real-Time Traffic Status Detection from On-Line Images Using Generic Object Detection System with Deep Learning. In Proceedings of the 2019 IEEE 19th International Conference on Communication Technology (ICCT), Xi’an, China, 16–19 October 2019; pp. 1506–1510. [Google Scholar]
- Liu, B.; Lam, C.T.; Ng, B.K. Improved Real-Time Traffic Congestion Detection with Automatic Image Cropping using Online Camera Images. In Proceedings of the 2021 IEEE 21st International Conference on Communication Technology (ICCT), Xi’an, China, 28–31 October 2021; pp. 1117–1122. [Google Scholar]
- Zambrano-Martinez, J.L.; Calafate, C.T.; Soler, D.; Cano, J.C.; Manzoni, P. Modeling and Characterization of Traffic Flows in Urban Environments. Sensors 2018, 18, 2020. [Google Scholar] [CrossRef] [Green Version]
- Costa, C.; Chatzimilioudis, G.; Zeinalipour-Yazti, D.; Mokbel, M.F. Towards Real-Time Road Traffic Analytics using Telco Big Data. In Proceedings of the International Workshop on Real-Time Business Intelligence and Analytics, Munich, Germany, 28 August 2017; pp. 1–5. [Google Scholar]
- Cui, H.; Yuan, G.; Liu, N.; Jiang, F.; Wu, J.; Zhang, J. Convolutional Neural Network for Recognizing Highway Traffic Congestion. J. Intell. Transp. Syst. 2020, 24, 279–289. [Google Scholar] [CrossRef]
- Lin, T.Y.; Maire, M.; Belongie, S.; Hays, J.; Perona, P.; Ramanan, D.; Dollár, P.; Zitnick, C.L. Microsoft COCO: Common Objects in Context. In Proceedings of the 13th European Conference on Computer Vision, Zurich, Switzerland, 6–12 September 2014; pp. 740–755. [Google Scholar]
- Zhang, S.; Benenson, R.; Schiele, B. CityPersons: A Diverse Dataset for Pedestrian Detection. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA, 21–26 July 2017; pp. 3213–3221. [Google Scholar]
- Shao, S.; Zhao, Z.; Li, B.; Xiao, T.; Yu, G.; Zhang, X.; Sun, J. CrowdHuman: A Benchmark for Detecting Human in a Crowd. arXiv 2018, arXiv:1805.00123. [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]
- 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.; Gkioxari, G.; Dollár, P.; Girshick, R. Mask R-CNN. In Proceedings of the IEEE International Conference on Computer Vision, Venice, Italy, 22–29 October 2017; pp. 2961–2969. [Google Scholar]
- Kerner, B.S. Three-Phase Traffic Theory and Highway Capacity. Phys. A Stat. Mech. Appl. 2004, 333, 379–440. [Google Scholar] [CrossRef] [Green Version]
- Wojke, N.; Bewley, A.; Paulus, D. Simple Online and Realtime Tracking with a Deep Association Metric. In Proceedings of the IEEE International Conference on Image Processing, Beijing, China, 17–20 September 2017; pp. 3645–3649. [Google Scholar]
- China Committee of Highway Engineering Standardization. Technology Standard of Highway Engineering; China Communications Press Co., Ltd.: Beijing, China, 2014. [Google Scholar]
- Dollar, P.; Wojek, C.; Schiele, B.; Perona, P. Pedestrian Detection: An Evaluation of the State of the Art. IEEE Trans. Pattern Anal. Mach. Intell. 2011, 34, 743–761. [Google Scholar] [CrossRef] [PubMed]
- Ren, S.; He, K.; Girshick, R.; Sun, J. Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks. Adv. Neural Inf. Process. 2015, 28, 91–99. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- 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, 8–16 October 2016; Springer International Publishing: Cham, Switzerland, 2016. Part I. pp. 21–37. [Google Scholar]
- Farhadi, A.; Redmon, J. Yolov3: An Incremental Improvement. In Computer Vision and Pattern Recognition; Springer: Berlin/Heidelberg, Germany, 2018; Volume 1804, pp. 1–6. [Google Scholar]
- Wang, C.Y.; Bochkovskiy, A.; Liao, H.Y.M. YOLOv7: Trainable Bag-of-Freebies Sets New State-of-the-Art for Real-Time Object Detectors. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Vancouver, BC, Canada, 18–22 June 2023; pp. 7464–7475. [Google Scholar]
Status | Discrimination Standard | Vehicle Speed |
---|---|---|
Stable state | Smooth traffic flow, with larger gaps between vehicle. | 80 km/h 120 km/h |
Congestion formation state | Smaller gaps between vehicles, with a sharp decrease in speed in a short period of time and traffic gradually slows down. | 40 km/h 80 km/h |
Severe congestion state | Stop-and-go traffic, with very small gaps between vehicles. | 25 km/h |
Mild congestion state | Very small gaps between vehicles, with significant impact on traffic flow, but vehicles are still able to move forward. | 25 km/h 40 km/h |
Congestion dissipation state | Smaller gaps between vehicles, with a rapid increase in speed and traffic gradually becoming smooth again. | 40 km/h 80 km/h |
Method | AP% | MR−2% | JI% |
---|---|---|---|
Faster RCNN | 75.89 | 68.00 | - |
SSD | 83.24 | 62.00 | - |
YOLOv3 | 85.13 | 61.00 | - |
YOLOv3+median filtering | 85.33 | 57.00 | - |
YOLOv5 | 92.31 | 42.00 | - |
YOLOv7 | 93.38 | 41.00 | - |
CrowdDet | 94.04 | 30.26 | 74.76 |
IBCDet (Ours) | 95.30 | 24.44 | 76.35 |
Method | AP% | MR−2% | JI% |
---|---|---|---|
Baseline | 94.04 | 30.26 | 74.76 |
The third layer | 93.35 | 30.16 | 70.71 |
The fourth layer | 92.56 | 29.81 | 70.85 |
The fifth layer | 95.12 | 25.03 | 77.25 |
Method | AP% | MR−2% | JI% |
---|---|---|---|
ResNet+FPN | 94.04 | 30.26 | 74.76 |
ResNet+BiFPN | 95.19 | 27.20 | 75.07 |
Method | AP% | MR−2% | JI% |
---|---|---|---|
Baseline | 94.04 | 30.26 | 74.76 |
w/o BiFPN | 95.12 | 25.03 | 77.25 |
w/o Involution | 95.19 | 27.20 | 75.07 |
IBCDet (Ours) | 95.30 | 24.44 | 76.35 |
Method | AP% | MR−2% | JI% |
---|---|---|---|
SSD | 89.30 | 54.00 | - |
Faster RCNN | 90.36 | 49.00 | - |
YOLOv5 | 94.91 | 34.00 | - |
YOLOv7 | 95.69 | 30.00 | - |
CrowdDet | 96.78 | 15.47 | 88.73 |
IBCDet (Ours) | 97.49 | 14.38 | 90.43 |
Method | Number of Vehicles | Average Speed of Vehicles | |
---|---|---|---|
AP% | MR−2% | Accuracy% | |
Speed detection algorithm on YOLOv5 | 92.31 | 42.00 | 89.46 |
Speed detection algorithm on IBCNet (Ours) | 95.30 | 24.44 | 91.28 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 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 (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Wang, C.; Chen, Y.; Wang, J.; Qian, J. An Improved CrowdDet Algorithm for Traffic Congestion Detection in Expressway Scenarios. Appl. Sci. 2023, 13, 7174. https://doi.org/10.3390/app13127174
Wang C, Chen Y, Wang J, Qian J. An Improved CrowdDet Algorithm for Traffic Congestion Detection in Expressway Scenarios. Applied Sciences. 2023; 13(12):7174. https://doi.org/10.3390/app13127174
Chicago/Turabian StyleWang, Chishe, Yuting Chen, Jie Wang, and Jinjin Qian. 2023. "An Improved CrowdDet Algorithm for Traffic Congestion Detection in Expressway Scenarios" Applied Sciences 13, no. 12: 7174. https://doi.org/10.3390/app13127174
APA StyleWang, C., Chen, Y., Wang, J., & Qian, J. (2023). An Improved CrowdDet Algorithm for Traffic Congestion Detection in Expressway Scenarios. Applied Sciences, 13(12), 7174. https://doi.org/10.3390/app13127174