Skip to main content

Aerial Based Traffic Tracking and Vehicle Count Detection Using Background Subtraction

  • Conference paper
  • First Online:
Intelligent Manufacturing and Mechatronics (SympoSIMM 2021)

Abstract

With the advent of increasing population, the traffic density is also increasing. Thus, it becomes deemed necessary for the urban planners to analyse the traffic condition via video surveillance for a successful improvisation to the existing town planning. The objective of this study was to develop a high altitude video surveillance setup with centroid tracker and compare different variants of background subtraction comprising of K-Nearest Neighbour, Mixture of Gaussian and Geometric Multi-Grid on a vision-based system for road vehicle counting and tracking. This project uses Python as its programming language and Open Computer Vision (OpenCV) as an open-source library for developing a high altitude video surveillance system for vehicle counting and directional motion detection. The designed system was able to achieve high count precision even in difficult scenarios related to occlusions or the presence of shadows. The principle of the system was to install a camera on the pedestrian bridges and track the vehicular traffic congestion by incorporating a unique ID. Moving objects were tracked using different background subtraction algorithm and object tracking was conducted using the centroid tracker. The video processing model was combined with a motion detection procedure, which correctly classified the positioning of moving vehicles depending on the space and time when the experiment was conducted on the site location. From the results it was revealed that both K-Nearest Neighbour and Mixture of Gaussian showed better accuracy with 93% and 100% depending upon the traffic density modalities. Using the proposed setup design, the identification of severe shadows based on solidity can be computed through the nature of the shape and this classification allows its accuracy to be estimated.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 229.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 299.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Kamble, S.J., Kounte, M.R.: Machine learning approach on traffic congestion tracking system in internet of vehicles. Procedia Comput. Sci. 171, 2235–2241 (2020)

    Article  Google Scholar 

  2. Gleason, J., Nefian, A.V., Bouyssounousse, X., Fong, T., Bebis, G.: Vehicle detection from aerial imagery. In: 2011 IEEE International Conference on Robotics and Automation, Shanghai, pp. 2065–2070. IEEE (2011)

    Google Scholar 

  3. Hao, Y., Yin, Y., Lan, J.: Vehicle tracking algorithm based on observation feedback and block symmetry particle filter. J. Electr. Comput. Eng. 2014 (2014)

    Google Scholar 

  4. Xu, M., Zhang, X., Liu, Y., Huang, G., Liu, X., Lin, F.X.: Approximate query service on autonomous IoT cameras. In: Proceedings of the 18th International Conference on Mobile Systems, Applications, and Services, Toronto, pp. 191–205. ACM (2020)

    Google Scholar 

  5. Ge, Y.: A spatial-temporal-map-based traffic video analytic model for large-scale cloud-based deployment. Rutgers The State University of New Jersey, School of Graduate Studies (2020)

    Google Scholar 

  6. Seenouvong, N., Watchareeruetai, U., Nuthong, C., Khongsomboon, K., Ohnishi, N.: A computer vision based vehicle detection and counting system. In: 8th International Conference on Knowledge and Smart Technology (KST), Chiangmai, pp. 224–227. IEEE (2016)

    Google Scholar 

  7. Anandhalli, M., Baligar, V.P.: Improvised approach using background subtraction for vehicle detection. In: 2015 IEEE International Advance Computing Conference (IACC), Bangalore, pp. 303–308. IEEE (2015)

    Google Scholar 

  8. Lu, X., Izumi, T., Takahashi, T., Wang, L.: Moving vehicle detection based on fuzzy background subtraction. In: 2014 IEEE International Conference on Fuzzy Systems (FUZZ-IEEE), Beijing, pp. 529–532. IEEE (2014)

    Google Scholar 

  9. Seenouvong, N., Watchareeruetai, U., Nuthong, C., Khongsomboon, K., Ohnishi, N.: Vehicle detection and classification system based on virtual detection zone. In: 2016 13th International Joint Conference on Computer Science and Software Engineering (JCSSE), Khon Kaen, pp. 1–5. IEEE (2016)

    Google Scholar 

  10. Kaewtrakulpong, P., Bowden, R.: An improved adaptive background mixture model for real-time tracking with shadow detection. In: Proceedings of the 2nd European Workshop on Advanced Video Based Surveillance Systems, Kingston, pp. 1–5. Kluwer Academic Publishers (2001)

    Google Scholar 

  11. Mohamed, S.S., Tahir, N.M., Adnan, R.: Background modelling and background subtraction performance for object detection. In: 6th International Colloquium on Signal Processing & Its Applications, Malacca, pp. 1–6. IEEE (2010)

    Google Scholar 

  12. Zivkovic, Z.: Improved adaptive Gaussian mixture model for background subtraction. In: Proceedings of the 17th International Conference on Pattern Recognition, Cambridge, vol. 2, pp. 28–31. IEEE (2004)

    Google Scholar 

  13. Godbehere, A.B., Goldberg, K.: Algorithms for visual tracking of visitors under variable-lighting conditions for a responsive audio art installation. In: LaViers, A., Egerstedt, M. (eds.) Controls and art, pp. 181–204. Springer, Cham (2014). https://doi.org/10.1007/978-3-319-03904-6_8

    Chapter  Google Scholar 

  14. Cheong, Y.Z., Chew, W.J.: The application of image processing to solve occlusion issue in object tracking. In: MATEC Web of Conferences, vol. 152, p. 3001 (2018)

    Google Scholar 

Download references

Acknowledgement

The authors would like to acknowledge the RUI grant 1001.PAERO.8014035 by RCMO, Universiti Sains Malaysia.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Elmi Abu Bakar .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Muhamad, M.Z.B., Akhtar, M.N., Bakar, E.A., Zulkoffli, Z.B., Mahmod, M.F. (2022). Aerial Based Traffic Tracking and Vehicle Count Detection Using Background Subtraction. In: Ali Mokhtar, M.N., Jamaludin, Z., Abdul Aziz, M.S., Maslan, M.N., Razak, J.A. (eds) Intelligent Manufacturing and Mechatronics. SympoSIMM 2021. Lecture Notes in Mechanical Engineering. Springer, Singapore. https://doi.org/10.1007/978-981-16-8954-3_35

Download citation

Publish with us

Policies and ethics