Skip to main content
Log in

On the Use of Bayesian Networks for Real-Time Urban Traffic Measurements: a Case Study with Low-Cost Devices

  • Published:
Journal of Signal Processing Systems Aims and scope Submit manuscript

Abstract

This paper describes a low cost computer vision system able to obtain traffic metrics at urban intersections. The proposed system is based on a Bayesian network based reasoning model. It employs the data extracted from background subtraction and contrast analysis techniques applied to predefined regions of interest of the video sequences, to evaluate different traffic metrics. The system has been designed to be able to work with already installed urban cameras, in order to reduce installation costs. So, it can be configured to work with different types of image sizes and video frame rates, as well as to process images taken from different distances and perspectives. The validity of the proposed system has been proved using a Raspberry Pi platform and tested using two real surveillance video cameras managed by the local authority of Cartagena (Spain) during different environmental light conditions. Using this hardware the system is able to process VGA grayscale images at a rate of 8 frames per second.

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.

Institutional subscriptions

Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7
Figure 8
Figure 9

Similar content being viewed by others

References

  1. Tian, R., Morris, B. T., Tang, M., Liu, Y., Yao, Y., Gou, C., Shen, D., & Tang, S. (2015). Hierarchical and networked vehicle surveillance in ITS: A survey. IEEE Transactions on Intelligent Transportation Systems, 18(1), 557–580.

    Article  Google Scholar 

  2. (2018) BeagleBone Black. https://beagleboard.org/black. Accessed 17 May 2018.

  3. (2018) Raspberry Pi. https://www.raspberrypi.org/. Accessed 17 May 2018.

  4. Buch, N., Velastin, S., & Orwell, J. (2011). A review of computer vision techniques for the analysis of urban traffic. IEEE Transactions on Intelligent Transportation Systems, 12(3), 920–939.

    Article  Google Scholar 

  5. Russell, S., & Norvig, P. (2009). Artificial Intelligence: A Modern Approach (3er ed.). Upper Saddle River: Prentice Hall Press.

    MATH  Google Scholar 

  6. Benezeth, Y., Jodoin, P. M., Emile, B., Laurent, H., & Rosenberger, C. (2010). Comparative study of background subtraction algorithms. Journal of Electronic Imaging, 19(3).

  7. Barcellos, P., Gomes, V., & Scharcanski, J. (2016). Shadow detection in camera-based vehicle detection: Survey and analysis. Journal of Electronic Imaging, 25(5), 051205.

    Article  Google Scholar 

  8. Bhaskar, P. K., & Yong, S. P. (2014). Image processing based vehicle detection and tracking method. Kuala Lumpur: International conference on computer and information sciences (ICCOINS).

    Book  Google Scholar 

  9. Kochláň, M., Hodoň, M., ČechoviČ, L., Kapitulík, J., & JureČka, M. (2014). WSN for traffic monitoring using raspberry pi board. Warsaw: Federated Conf. on Comp. Sci. and Information Syst.

    Book  Google Scholar 

  10. Riyazhussain, S., Riyazhussain, C. R. S., Vamsikrishna, P., & Rohan, G. (2016). Raspberry pi controlled traffic density monitoring system. International Conference on Wireless Communications. Chennai: Signal Processing and Networking (WiSPNET).

    Google Scholar 

  11. Sorwar, T., Azad, S. B., Hussain, S. R., & Mahmood, A. I. (2017). Real-time vehicle monitoring for traffic surveillance and adaptive change detection using raspberry pi camera module. Dhaka: Humanitarian Technology Conference (R10-HTC).

    Book  Google Scholar 

  12. Rao, R., & Tasgaonkar, P. P. (2017). Lane and vehicle lane departure detection. Bangalore: 2nd IEEE Intl. Conf. on Recent Trends in Electronics, Information & Communication Techn. (RTEICT).

    Book  Google Scholar 

  13. de-la Rocha, E., & Palacios, R. (2010). Image-processing algorithms for detecting and counting vehicles waiting at a traffic light. Journal of Electronic Imaging, 19(4), 043025.

    Article  Google Scholar 

  14. Sanchez-Iborra, R., Ingles-Romero, J. F., Domenech-Asensi, G., Moreno-Cegarra, J. L., & Cano, M. D. (2016). Proactive intelligent system for optimizing traffic signaling. Auckland: 14th DASC-PICom-DataCom-CyberSciTec Congress.

    Book  Google Scholar 

  15. Morales-Esteras, V., Ingles-Romero, J. F., Domenech-Asensi, G., & Cano, M. D. (2018). Vehicle detection and counting for urban intersections using background subtraction and texture analysis. Eindhoven: 12th ACM International Conference on Distributed Smart Cameras ICDSC 2018.

    Google Scholar 

  16. Kafai, M., & Bhanu, B. (2012). Dynamic Bayesian networks for vehicle classification in video. IEEE Transactions on Industrial Informatics, 8(1), 100–109.

    Article  Google Scholar 

  17. Sun, S., Zhang, C., & Yu, G. (2006). A bayesian network approach to traffic flow forecasting. IEEE Transactions on Intelligent Transportation Systems, 7(1), 124–132.

    Article  Google Scholar 

  18. Castillo, E., Menéndez, J. M., & Sánchez-Cambronero, S. (2008). Predicting traffic flow using Bayesian networks. Transportation Research Part B, 42, 482–509.

    Article  Google Scholar 

  19. Russell, S., & Norvic, P. (2016). Artificial intelligence: A modern approach. Harlow: Pearson Education.

    Google Scholar 

  20. (2018) OpenCV library. https://opencv.org.

Download references

Funding

Dirección General de Tráfico (SPIP2017-02230)

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ginés Doménech-Asensi.

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

Doménech-Asensi, G., Cano, MD. & Morales-Esteras, V. On the Use of Bayesian Networks for Real-Time Urban Traffic Measurements: a Case Study with Low-Cost Devices. J Sign Process Syst 94, 293–304 (2022). https://doi.org/10.1007/s11265-020-01601-7

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11265-020-01601-7

Keywords

Navigation