Skip to main content

Advertisement

Log in

Low-cost real-time traffic situational awareness system based on modified YOLO v8 and GWO-LSTM for edge deployment

  • Research
  • Published:
Journal of Real-Time Image Processing Aims and scope Submit manuscript

Abstract

For a traditional traffic situational awareness system (TSAS), its “Road-side unit (RSU) + cloud-based analysis” structure is difficult to meet the demands of rapidly expanding urban areas. Relatively high costs of microwave speed detection modules and bandwidth requirements of information systems significantly increase construction costs. By computer vision (CV) and edge computing technologies, traffic situational awareness tasks can be integrated into cheaper edge devices (roadside surveillance, RSS), effectively addressing such challenges. In this study, we present a low-cost TSAS developed based on YOLO v8 and grey wolf optimizer-long short-term memory (GWO-LSTM) neural network. Proposed system can automatically perform vehicle and license plate recognition, speed measurement, and data recording within the field of view of RSSs. Additionally, it accurately predicts the future traffic conditions of monitored roads using recorded information. Experimental results demonstrate that the proposed TSAS achieves a license plate recognition accuracy of 97.7%, vehicle type recognition accuracy of 98.1%, and speed measurement error of less than 0.45 km/h, with R2 of 0.8971 for GWO-LSTM predictions. This system is sufficiently effective for traffic monitoring and situational awareness tasks but enforcement forensic applications.

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

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

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

Similar content being viewed by others

Data availability

No datasets were generated or analysed during the current study.

References

  1. Li, Q., Ng, K.K., Simon, C., Yiu, C.Y., Lyu, M.: Recognising situation awareness associated with different workloads using EEG and eye-tracking features in air traffic control tasks. Knowl.-Based Syst. 260, 110179 (2023)

    Google Scholar 

  2. Alavizadeh, H., et al.: A survey on cyber situation-awareness systems: Framework, techniques, and insights. ACM Comput. Surv. 55(5), 1–37 (2022)

    MATH  Google Scholar 

  3. Basheer Ahmed, M.I., et al.: A real-time computer vision based approach to detection and classification of traffic incidents. Big Data Cognitive Comput. 7(1), 22 (2023)

    MATH  Google Scholar 

  4. Haghighat, A., Sharma, A.: A computer vision-based deep learning model to detect wrong-way driving using pan–tilt–zoom traffic cameras. Comput.-Aided Civil Infrastruct. Eng. 38(1), 119–132 (2023)

    MATH  Google Scholar 

  5. SAH Alhuthali, MYI Zia, M Rashid: "A simplified traffic flow monitoring system using computer vision techniques," in 2022 2nd International Conference on Computing and Information Technology (ICCIT), IEEE, pp. 167–170 (2020)

  6. Bemposta Rosende, S., Ghisler, S., Fernández-Andrés, J., Sánchez-Soriano, J.: Implementation of an Edge-computing vision system on reduced-board computers embedded in UAVs for intelligent traffic management. Drones 7(11), 682 (2023)

    Google Scholar 

  7. Azfar, T., Li, J., Yu, H., Cheu, R.L., Lv, Y., Ke, R.: Deep learning-based computer vision methods for complex traffic environments perception: A review. Data Sci. Transport. 6(1), 1 (2024)

    MATH  Google Scholar 

  8. Shojaiee, F., Baleghi, Y.: EFASPP U-Net for semantic segmentation of night traffic scenes using fusion of visible and thermal images. Eng. Appl. Artif. Intell. 117, 105627 (2023)

    MATH  Google Scholar 

  9. S. Yuan et al., "Spatial deep deconvolution u-net for traffic analyses with distributed acoustic sensing," IEEE Transactions on Intelligent Transportation Systems (2023)

  10. S Kolekar, S Gite, B Pradhan, A Alamri (2022) Explainable AI in scene understanding for autonomous vehicles in unstructured traffic environments on Indian roads using the inception U-Net Model with Grad-CAM visualization, sensors https://doi.org/10.3390/s22249677

  11. Lin, C.-J., Jhang, J.-Y.: Intelligent traffic-monitoring system based on YOLO and convolutional fuzzy neural networks. IEEE Access 10, 14120–14133 (2022)

    MATH  Google Scholar 

  12. Mittal, U., Chawla, P., Tiwari, R.: EnsembleNet: A hybrid approach for vehicle detection and estimation of traffic density based on faster R-CNN and YOLO models. Neural Comput. Appl. 35(6), 4755–4774 (2023)

    MATH  Google Scholar 

  13. Hasan, S., Sunny, M.N.M., Al Nahian, A., Yasin, M.: Neural network-powered license plate recognition system design. Engineering 16(9), 284–300 (2024)

    Google Scholar 

  14. T. Barbu and S.-I. Bejinariu: "CNN-based Moving Vehicle Recognition using GMM-based Foreground Modeling, Level-set based Segmentation and Kalman Filter-based Tracking," in 2024 International Conference on INnovations in Intelligent SysTems and Applications (INISTA), IEEE, pp. 1–6 (2024)

  15. Singh, S.K., Jha, S., Gupta, R.: Enhancing the accuracy of wind speed estimation model using an efficient hybrid deep learning algorithm. Sustain. Energy Technol. Assess. 61, 103603 (2024)

    MATH  Google Scholar 

  16. Hussain, M.: YOLO-v1 to YOLO-v8, the rise of YOLO and its complementary nature toward digital manufacturing and industrial defect detection. Machines 11(7), 677 (2023)

    MATH  Google Scholar 

  17. Duraisamy P.: "Implementation of YOLO V8 for Advanced Autonomous Vehicle Detection Techniques," Grenze International Journal of Engineering & Technology (GIJET), vol. 10, (2024)

  18. Alruwaili, M., et al.: Deep learning-based YOLO models for the detection of people with disabilities. IEEE Access 12(2543), 2566 (2023)

    MATH  Google Scholar 

  19. Moussaoui, H., et al.: Enhancing automated vehicle identification by integrating YOLO v8 and OCR techniques for high-precision license plate detection and recognition. Sci. Rep. 14(1), 14389 (2024)

    MATH  Google Scholar 

  20. Yang, T., Zhou, S., Xu, A., Ye, J., Yin, J.: YOLO-SegNet: a method for individual street tree segmentation based on the improved YOLOv8 and the SegFormer network. Agriculture 14(9), 1620 (2024)

    Google Scholar 

  21. Z. Liu, F. Li, L. Hou, and Y. Shi: "Multi-Object Tracking Algorithm Based on Improved ByteTrack," in 2024 6th International Conference on Electronics and Communication, Network and Computer Technology (ECNCT), IEEE, pp. 463–468 (2024)

  22. Mouafo, D., Biaou, U.: Uncalibrated camera approach for vehicle speed estimation using detection and tracking. SIViP 18(12), 8819–8827 (2024)

    MATH  Google Scholar 

  23. S.-R. Wang, C.-C. Hsu, C.-W. Peng, and C.-K. Lu: "Enhanced Speed Estimation Based on 2D Object Detection and Monocular Vehicle Pose Estimation," in 2024 IEEE International Conference on Consumer Electronics (ICCE), IEEE, pp. 1–2 (2024)

  24. F. M. Shiri, T. Perumal, N. Mustapha, and R. Mohamed: "A comprehensive overview and comparative analysis on deep learning models: CNN, RNN, LSTM, GRU," arXiv preprint arXiv:2305.17473, (2023)

  25. Bai, Y., Xiang, S., Cheng, F., Zhao, J.: A dynamic-inner LSTM prediction method for key alarm variables forecasting in chemical process. Chin. J. Chem. Eng. 55, 266–276 (2023)

    MATH  Google Scholar 

  26. Niu, Z., Qi, H., Sun, A., Ren, Y., He, M., Gao, B.: Efficient and robust CNN-LSTM prediction of flame temperature aided light field online tomography. SCIENCE CHINA Technol. Sci. 67(1), 271–284 (2024)

    Google Scholar 

  27. Wang, Z., Wang, Q., Wu, T.: A novel hybrid model for water quality prediction based on VMD and IGOA optimized for LSTM. Front. Environ. Sci. Eng. 17(7), 88 (2023)

    MATH  Google Scholar 

  28. Hatta, N., Zain, A.M., Sallehuddin, R., Shayfull, Z., Yusoff, Y.: Recent studies on optimisation method of grey wolf optimiser (GWO): a review (2014–2017). Artif. Intell. Rev. 52, 2651–2683 (2019)

    Google Scholar 

  29. Ma, C., Gu, K., Zhao, Y., Wang, T.: Research on highway traffic flow prediction based on a hybrid model of ARIMA–GWO–LSTM. Neural Comput. Appl. (2024). https://doi.org/10.1007/s00521-024-10550-2

    Article  MATH  Google Scholar 

  30. Zhao, W., Yang, Y., Lu, Z.: Interval short-term traffic flow prediction method based on CEEMDAN-SE nosie reduction and LSTM optimized by GWO. Wirel. Commun. Mob. Comput. 2022(1), 5257353 (2022)

    Google Scholar 

Download references

Acknowledgements

This work was supported by Guangdong Youth Innovative Talent Project (2023KQNCX109), Guangdong College Students Science and Technology Innovation Cultivation Special Fund Project (pdjh2024a469)

Author information

Authors and Affiliations

Authors

Contributions

J.L. wrote manuscript and R.G revised tge manuscript; Y.G, Z.L and Z.C prove test and validation works about this research.

Corresponding author

Correspondence to Ruyue Gong.

Ethics declarations

Conflict of interest

The authors declare no competing interests.

Additional information

Publisher's Note

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

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Liu, J., Gong, R., Gong, Y. et al. Low-cost real-time traffic situational awareness system based on modified YOLO v8 and GWO-LSTM for edge deployment. J Real-Time Image Proc 22, 89 (2025). https://doi.org/10.1007/s11554-025-01657-3

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s11554-025-01657-3

Keywords