Skip to main content
Log in

Machine learning driven intelligent and self adaptive system for traffic management in smart cities

  • Regular Paper
  • Published:
Computing Aims and scope Submit manuscript

Abstract

Traffic congestion is becoming a serious problem with the large number of vehicle on the roads. In the traditional traffic control system, the timing of the green light is adjusted regardless of the average traffic rate at the junction. Many strategies have been introduced to solve and improve vehicle management. However, in order to handle road traffic issues, an intelligent traffic management solution is required. This article represents a self adaptive real-time traffic light control algorithm based on the traffic flow. We present a machine learning approach coupled with image processing to manage the traffic clearance at the signal junction. The proposed system utilizes single image processing via neural network and You Only Look Once (YOLOv3) framework to establish traffic clearance at the signal. We employed YOLO architectures because it is accurate in terms of mean average precision (mAP), interaction over union (IOU) values and fast in object detection tasks as well. It runs significantly faster than other detection methods with comparable performance. The average processing time of single image was estimated to be 1.3 s. Further based on the input from YOLO we estimated the ‘on’ time period green light for effective traffic clearance. Several real time parameters like number of vehicles (two wheelers, four wheelers), road width and junction crossing time are considered to estimate the ‘on’time of green light. Moreover, we used the real traffic images to test the performance and trained the system with different dataset. Our experiments investigation reveals that the predicted vehicle counts were well matched with the actual vehicle count and proposed method apprehended an average accuracy of 81.1%. The reported strategy is self adaptive, highly accurate, fast and has the potential to be implemented in the traffic clearance at the junctions.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11

Similar content being viewed by others

References

  1. Redmon J, Farhadi A (2018) Yolov3: an incremental improvement. arXiv preprint arXiv:1804.02767

  2. Rath M (2018) Smart traffic management system for traffic control using automated mechanical and electronic devices. IOP Conf Ser Mater Sci Eng 377:012201. https://doi.org/10.1088/1757-899X/377/1/012201

    Article  Google Scholar 

  3. Shinde MS, Jagtap S (2016) Intelligent traffic management systems. A review. Int J Innov Res Sci Technol 2:293–298

    Google Scholar 

  4. Komsiyah S, Desvania E (2021) Traffic lights analysis and simulation using fuzzy inference system of mamdani on three-signaled intersections. Procedia Comput Sci 179:268–280. https://doi.org/10.1016/j.procs.2021.01.006

    Article  Google Scholar 

  5. Toh CK, Sanguesa JA, Cano JC, Martinez FJ (2020) Advances in smart roads for future smart cities. Proc R Soc A 476(2233):20190439. https://doi.org/10.1098/rspa.2019.0439

    Article  Google Scholar 

  6. Allström A, Barceló J, Ekström J, Grumert E, Gundlegård D, Rydergren C (2017) Traffic management for smart cities. In: Angelakis V, Tragos E, Pöhls HC, Kapovits A, Bassi A (eds) Designing, developing, and facilitating smart cities. Springer, Cham, pp 211–240. https://doi.org/10.1007/978-3-319-44924-1_11

    Chapter  Google Scholar 

  7. Asha CS, Narasimhadhan AV (2018) Vehicle counting for traffic management system using YOLO and correlation filter. In: 2018 IEEE international conference on electronics, computing and communication technologies (CONECCT). IEEE, Bangalore, pp 1–6. https://doi.org/10.1109/CONECCT.2018.8482380

  8. Alpatov BA, Babayan PV, Ershov MD (2018) Vehicle detection and counting system for real-time traffic surveillance. In: 2018 7th Mediterranean conference on embedded computing (MECO). IEEE, Budva, pp 1–4. https://doi.org/10.1109/MECO.2018.8406017

  9. Basil E, Sawant S (2017) IoT based traffic light control system using Raspberry Pi. In: 2017 International conference on energy, communication, data analytics and soft computing (ICECDS). IEEE, Chennai, pp 1078–1081. https://doi.org/10.1109/ICECDS.2017.8389604. https://ieeexplore.ieee.org/document/8389604/

  10. Corovic A, Ilic V, Duric S, Marijan M, Pavkovic B (2018) The real-time detection of traffic participants using YOLO algorithm. In: 2018 26th Telecommunications forum (TELFOR). IEEE, Belgrade, pp 1–4. https://doi.org/10.1109/TELFOR.2018.8611986

  11. Makaba T, Doorsamy W, Paul BS (2021) Bayesian network-based framework for cost-implication assessment of road traffic collisions. Int J ITS Res 19(1):240–253. https://doi.org/10.1007/s13177-020-00242-1

    Article  Google Scholar 

  12. Khan M, Ectors W, Bellemans T, Janssens D, Wets G (2018) Unmanned aerial vehicle-based traffic analysis: a case study for shockwave identification and flow parameters estimation at signalized intersections. Remote Sens 10(3):458. https://doi.org/10.3390/rs10030458

    Article  Google Scholar 

  13. Takano T, Ono S, Kawasaki H, Ikeuchi K (2021) High-resolution image data collection scheme for road sensing using wide-angle cameras on general-use vehicle criteria to include/exclude collected images for super resolution. Int J ITS Res 19(2):299–311. https://doi.org/10.1007/s13177-020-00243-0

    Article  Google Scholar 

  14. Fielbaum A (2020) Strategic public transport design using autonomous vehicles and other new technologies. Int J ITS Res 18(2):183–191. https://doi.org/10.1007/s13177-019-00190-5

    Article  Google Scholar 

  15. Lykov S, Asakura Y (2020) Anomalous traffic pattern detection in large urban areas: tensor-based approach with continuum modeling of traffic flow. Int J ITS Res 18(1):13–21. https://doi.org/10.1007/s13177-018-0167-5

    Article  Google Scholar 

  16. Contreras M, Gamess E (2020) An algorithm based on VANET technology to count vehicles stopped at a traffic light. Int J ITS Res 18(1):122–139. https://doi.org/10.1007/s13177-019-00184-3

    Article  Google Scholar 

  17. Hu H, Gao Z, Sheng Y, Zhang C, Zheng R (2019) Traffic density recognition based on image global texture feature. Int J ITS Res 17(3):171–180. https://doi.org/10.1007/s13177-019-00187-0

    Article  Google Scholar 

  18. Peque G, Miyagi T, Kurauchi F (2018) Adaptive learning algorithms for simulation-based dynamic traffic user equilibrium. Int J ITS Res 16(3):215–226. https://doi.org/10.1007/s13177-017-0150-6

    Article  Google Scholar 

  19. Hamidi H, Kamankesh A (2018) An approach to intelligent traffic management system using a multi-agent system. Int J ITS Res 16(2):112–124. https://doi.org/10.1007/s13177-017-0142-6

    Article  Google Scholar 

  20. García-Nieto J, Alba E, Carolina Olivera A (2012) Swarm intelligence for traffic light scheduling: application to real urban areas. Eng Appl Artif Intell 25(2):274–283. https://doi.org/10.1016/j.engappai.2011.04.011

    Article  Google Scholar 

  21. Jain P (2011) Automatic traffic signal controller for roads by exploiting fuzzy logic. In: Das VV, Stephen J, Chaba Y (eds) Computer networks and information technologies, vol 142. Springer. Berlin, Heidelberg, pp 273–277. https://doi.org/10.1007/978-3-642-19542-6_46

    Chapter  Google Scholar 

  22. Hilmani A, Maizate A, Hassouni L (2020) Automated real-time intelligent traffic control system for smart cities using wireless sensor networks. Wirel Commun Mob Comput 2020:1–28. https://doi.org/10.1155/2020/8841893

    Article  Google Scholar 

  23. Singh S, Vishwakarma S, Kispotta S, Yadav A (2020) A statistical analysis of various technologies to detect and prevent fake news. In: Batra U, Roy NR, Panda B (eds) Data science and analytics, vol 1230. Springer, Singapore, pp 164–172. https://doi.org/10.1007/978-981-15-5830-6_15

    Chapter  Google Scholar 

  24. Pop MD (2018) Traffic lights management using optimization tool. Procedia Soc Behav Sci 238:323–330. https://doi.org/10.1016/j.sbspro.2018.04.008

    Article  Google Scholar 

  25. Alexy AB (2021) Github repository for YOLO V3. https://github.com/AlexeyAB/darknet

  26. PrashantJha SS, Kispotta S (2019) A lightweight approach for an adaptive traffic signal. Jabalpur, India

  27. Liu X, Wang H, Dong C (2021) An improved method of nonmotorized traffic tracking and classification to acquire traffic parameters at intersections. Int J ITS Res 19(2):312–323. https://doi.org/10.1007/s13177-020-00247-w

    Article  Google Scholar 

  28. Wang Z, Cui J, Zha H, Kagesawa M, Ono S, Ikeuchi K (2014) Foreground object detection by motion-based grouping of object parts. Int J ITS Res 12(2):70–82. https://doi.org/10.1007/s13177-013-0074-8

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding authors

Correspondence to Saurabh Singh or Kishor Kumar Sadasivuni.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Khan, H., Kushwah, K.K., Maurya, M.R. et al. Machine learning driven intelligent and self adaptive system for traffic management in smart cities. Computing 104, 1203–1217 (2022). https://doi.org/10.1007/s00607-021-01038-1

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00607-021-01038-1

Keywords

Navigation