Skip to main content

A Deep-Learning Based Automated COVID-19 Physical Distance Measurement System Using Surveillance Video

  • Conference paper
  • First Online:
Recent Trends in Image Processing and Pattern Recognition (RTIP2R 2021)

Abstract

The contagious Corona Virus (COVID-19) transmission can be reduced by following and maintaining physical distancing (also known as COVID-19 social distance). The World Health Organisation (WHO) recommends it to prevent COVID-19 from spreading in public areas. On the other hand, people may not be maintaining the required 2-m physical distance as a mandated safety precaution in shopping malls and public places. The spread of the fatal disease may be slowed by an active monitoring system suitable for identifying distances between people and alerting them. This paper introduced a deep learning-based system for automatically detecting physical distance using video from security cameras. The proposed system employed the fine-tuning YOLO v4 for object detection and classification and Deepsort for tracking the detected people using bounding boxes from the video. Pairwise L2 vectorized normalization was utilized to generate a three-dimensional feature space for tracking physical distances and the violation index, determining the number of individuals who follow the distance rules. For training and testing, we use the MS COCO and Oxford Town Centre (OTC) datasets. We compared the proposed system to two well-known object detection models, YOLO v3 and Faster RCNN. Our method obtained a weighted mAP score of 87.8% and an FPS score of 28; both are computationally comparable.

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 69.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 89.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. Ahmed, F., Zviedrite, N., Uzicanin, A.: Effectiveness of workplace social distancing measures in reducing influenza transmission: a systematic review. BMC Public Health 18(1), 1–13 (2018)

    Article  Google Scholar 

  2. AI, L.: Landing AI creates an AI tool to help customers monitor social distancing in the workplace (2021). https://landing.ai/. Accessed 07 June 2021

  3. Bentafat, E., Rathore, M.M., Bakiras, S.: A practical system for privacy-preserving video surveillance. In: Conti, M., Zhou, J., Casalicchio, E., Spognardi, A. (eds.) Applied Cryptography and Network Security, ACNS 2020. LNCS, vol. 12147, pp. 21–39. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-57878-7_2

  4. Bochkovskiy, A., Wang, C.Y., Liao, H.Y.M.: YOLOv4: optimal speed and accuracy of object detection. arXiv preprint arXiv:2004.10934 (2020)

  5. Bouhlel, F., Mliki, H., Hammami, M.: Crowd behavior analysis based on convolutional neural network: social distancing control COVID-19. In: VISIGRAPP (5: VISAPP), pp. 273–280 (2021)

    Google Scholar 

  6. Chen, X., et al.: Microsoft coco captions: data collection and evaluation server. arXiv preprint arXiv:1504.00325 (2015)

  7. Das, S., et al.: Computer vision-based social distancing surveillance solution with optional automated camera calibration for large scale deployment. arXiv preprint arXiv:2104.10891 (2021)

  8. Gloudemans, D., Gloudemans, N., Abkowitz, M., Barbour, W., Work, D.B.: Quantifying social distancing compliance and the effects of behavioral interventions using computer vision. In: Proceedings of the Workshop on Data-Driven and Intelligent Cyber-Physical Systems, pp. 1–5 (2021)

    Google Scholar 

  9. Guardian, T.: Delta variant of COVID spreading rapidly and detected in 74 countries (2021). https://www.theguardian.com/world/2021/jun/14/. Accessed 25 June 2021

  10. Harvey, A., LaPlace, J.: Megapixels: origins, ethics, and privacy implications of publicly available face recognition image datasets. Megapixels 1, 6 (2019)

    Google Scholar 

  11. Junayed, M.S., Islam, M.B., Sadeghzadeh, A., Aydin, T.: Real-time YOLO-based heterogeneous front vehicles detection. In: 2021 International Conference on Innovations in Intelligent Systems and Applications (INISTA), pp. 1–7. IEEE (2021)

    Google Scholar 

  12. Khan, M.A., Paul, P., Rashid, M., Hossain, M., Ahad, M.A.R.: An AI-based visual aid with integrated reading assistant for the completely blind. IEEE Trans. Hum.-Mach. Syst. 50(6), 507–517 (2020)

    Article  Google Scholar 

  13. Khandelwal, P., Khandelwal, A., Agarwal, S., Thomas, D., Xavier, N., Raghuraman, A.: Using computer vision to enhance safety of workforce in manufacturing in a post COVID world. arXiv preprint arXiv:2005.05287 (2020)

  14. Ksentini, A., Brik, B.: An edge-based social distancing detection service to mitigate COVID-19 propagation. IEEE Internet Things Mag. 3(3), 35–39 (2020)

    Article  Google Scholar 

  15. Nguyen, C.T., et al.: A comprehensive survey of enabling and emerging technologies for social distancing-part II: Emerging technologies and open issues. IEEE Access 8, 154209–154236 (2020)

    Article  Google Scholar 

  16. Pias: object detection and distance measurement (2021). https://github.com/ paul-pias/Object-Detection-and-Distance-Measurement/. Accessed 11 Mar 2021

  17. Pouw, C.A., Toschi, F., van Schadewijk, F., Corbetta, A.: Monitoring physical distancing for crowd management: real-time trajectory and group analysis. PLoS ONE 15(10), e0240963 (2020)

    Article  Google Scholar 

  18. Punn, N.S., Sonbhadra, S.K., Agarwal, S., Rai, G.: Monitoring COVID-19 social distancing with person detection and tracking via fine-tuned YOLO v3 and deepsort techniques. arXiv preprint arXiv:2005.01385 (2020)

  19. Rahim, A., Maqbool, A., Rana, T.: Monitoring social distancing under various low light conditions with deep learning and a single motionless time of flight camera. PLoS ONE 16(2), e0247440 (2021)

    Article  Google Scholar 

  20. Razavi, M., Alikhani, H., Janfaza, V., Sadeghi, B., Alikhani, E.: An automatic system to monitor the physical distance and face mask wearing of construction workers in COVID-19 pandemic. arXiv preprint arXiv:2101.01373 (2021)

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

  22. Ren, S., He, K., Girshick, R., Sun, J.: Faster R-CNN: towards real-time object detection with region proposal networks. IEEE Trans. Pattern Anal. Mach. Intell. 39(6), 1137–1149 (2016)

    Article  Google Scholar 

  23. Rezaei, M., Azarmi, M.: Deepsocial: social distancing monitoring and infection risk assessment in COVID-19 pandemic. Appl. Sci. 10(21), 7514 (2020)

    Article  Google Scholar 

  24. Rezaei, M., Klette, R.: Computer Vision for Driver Assistance. Springer, Cham(2017). https://doi.org/10.1007/978-3-319-50551-0

  25. Saponara, S., Elhanashi, A., Gagliardi, A.: Implementing a real-time, AI-based, people detection and social distancing measuring system for COVID-19. J. Real-Time Image Process. 18, 1–11 (2021). https://doi.org/10.1007/s11554-021-01070-6

    Article  Google Scholar 

  26. Supply, L.: Landing AI creates an AI tool to help customers monitor social distancing in the workplace (2021). https://levelfivesupplies.com/social-distance-monitoring/. Accessed 02 June 2021

  27. Suresh, K., Bhuvan, S., Palangappa, M.: Social distance identification using optimized faster region-based convolutional neural network. In: 2021 5th International Conference on Computing Methodologies and Communication (ICCMC), pp. 753–760. IEEE (2021)

    Google Scholar 

  28. Wang, C.Y., Liao, H.Y.M., Wu, Y.H., Chen, P.Y., Hsieh, J.W., Yeh, I.H.: CSPNet: a new backbone that can enhance learning capability of CNN. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops, pp. 390–391 (2020)

    Google Scholar 

  29. Wojke, N., Bewley, A.: Deep cosine metric learning for person re-identification. In: 2018 IEEE Winter Conference on Applications of Computer Vision (WACV), pp. 748–756. IEEE (2018)

    Google Scholar 

  30. Wojke, N., Bewley, A., Paulus, D.: Simple online and realtime tracking with a deep association metric. In: 2017 IEEE International Conference on Image Processing (ICIP), pp. 3645–3649. IEEE (2017)

    Google Scholar 

  31. Worldometer: COVID-19 CORONAVIRUS PANDEMIC (2021). https://www.worldometers.info/coronavirus/?utm_campaign=homeAdvegas1?. Accessed 18 June 2021

  32. Yang, D., Yurtsever, E., Renganathan, V., Redmill, K., Özgüner, Ü.: A vision-based social distance and critical density detection system for COVID-19 (2020)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Masum Shah Junayed .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Junayed, M.S., Islam, M.B. (2022). A Deep-Learning Based Automated COVID-19 Physical Distance Measurement System Using Surveillance Video. In: Santosh, K., Hegadi, R., Pal, U. (eds) Recent Trends in Image Processing and Pattern Recognition. RTIP2R 2021. Communications in Computer and Information Science, vol 1576. Springer, Cham. https://doi.org/10.1007/978-3-031-07005-1_19

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-07005-1_19

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-07004-4

  • Online ISBN: 978-3-031-07005-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics