Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2021 Feb:65:102571.
doi: 10.1016/j.scs.2020.102571. Epub 2020 Nov 1.

A deep learning-based social distance monitoring framework for COVID-19

Affiliations

A deep learning-based social distance monitoring framework for COVID-19

Imran Ahmed et al. Sustain Cities Soc. 2021 Feb.

Abstract

The ongoing COVID-19 corona virus outbreak has caused a global disaster with its deadly spreading. Due to the absence of effective remedial agents and the shortage of immunizations against the virus, population vulnerability increases. In the current situation, as there are no vaccines available; therefore, social distancing is thought to be an adequate precaution (norm) against the spread of the pandemic virus. The risks of virus spread can be minimized by avoiding physical contact among people. The purpose of this work is, therefore, to provide a deep learning platform for social distance tracking using an overhead perspective. The framework uses the YOLOv3 object recognition paradigm to identify humans in video sequences. The transfer learning methodology is also implemented to increase the accuracy of the model. In this way, the detection algorithm uses a pre-trained algorithm that is connected to an extra trained layer using an overhead human data set. The detection model identifies peoples using detected bounding box information. Using the Euclidean distance, the detected bounding box centroid's pairwise distances of people are determined. To estimate social distance violations between people, we used an approximation of physical distance to pixel and set a threshold. A violation threshold is established to evaluate whether or not the distance value breaches the minimum social distance threshold. In addition, a tracking algorithm is used to detect individuals in video sequences such that the person who violates/crosses the social distance threshold is also being tracked. Experiments are carried out on different video sequences to test the efficiency of the model. Findings indicate that the developed framework successfully distinguishes individuals who walk too near and breaches/violates social distances; also, the transfer learning approach boosts the overall efficiency of the model. The accuracy of 92% and 98% achieved by the detection model without and with transfer learning, respectively. The tracking accuracy of the model is 95%.

Keywords: COVID-19; Deep learning; Overhead view; Person detection; Social distancing; Transfer learning; YOLOv3.

PubMed Disclaimer

Conflict of interest statement

The authors report no declarations of interest.

Figures

Fig. 1
Fig. 1
Latest number confirmed cases and deaths reported by WHO due to pandemic ().
Fig. 2
Fig. 2
Importance of social distancing.
Fig. 3
Fig. 3
Effect of social distancing: the peak of pandemic cases is decreasing and meeting with available healthcare capability ().
Fig. 4
Fig. 4
Example images from the literature, used for social distance monitoring. (a), (b) and (c) Yang et al. (2020) used faster-RCNN for monitoring social distance. (d) and (e) Punn et al. (2020b) used YOLOv3 with Deepsort to monitor social distancing on Oxford Town Center, and (f) Ramadass et al. (2020).
Fig. 5
Fig. 5
Flow diagram of overhead view social distance monitoring framework.
Fig. 6
Fig. 6
General architecture of YOLOv3 utilized for overhead view human detection.
Fig. 7
Fig. 7
Detected coordinates of person bounding box.
Fig. 8
Fig. 8
(a) Input image, (b) detected person bounding boxes using deep learning algorithm, (c) compute the centroid of each detected bounding box, and (d) finally, the distance between each pair of the centroid is determined. In the example image, the red lines indicate the distance between each bounding box centroid. (For interpretation of the references to color in this figure legend, the reader is referred to the web version of this article.)
Fig. 9
Fig. 9
Social distance monitoring from an overhead view using a pre-trained detection model. In sample frames, the people in green rectangles are those who maintain the social distancing. The people who violate the social distance threshold are shown red in rectangles. The manually labels yellow positive cross shows miss detections. (For interpretation of the references to color in this figure legend, the reader is referred to the web version of this article.)
Fig. 10
Fig. 10
Training loss of YOLOv3 using overhead view data set.
Fig. 11
Fig. 11
Training Accuracy of YOLOv3 using overhead view data set.
Fig. 12
Fig. 12
Results of social distance monitoring, using transfer learning. It can be seen that the detection performance of the model is improved after transfer learning. In sample frames, the people in green rectangles maintain social distancing while in red rectangles are those who breach/violate the social distance. (For interpretation of the references to color in this figure legend, the reader is referred to the web version of this article.)
Fig. 13
Fig. 13
Precision, Recall, and Accuracy of model (YOLOv3) with and without transfer learning.
Fig. 14
Fig. 14
Tracking accuracy with pre-trained and trained YOLOv3 detection model.
Fig. 15
Fig. 15
Comparison results of YOLOv3 trained on overhead data set with other methods.

References

    1. Adlhoch, C. (2020). https://www.ecdc.europa.eu/sites/default/files/documents/covid-19-social....
    1. Adolph C., Amano K., Bang-Jensen B., Fullman N., Wilkerson J. medRxiv. 2020 - PubMed
    1. Ahmad M., Ahmed I., Ullah K., Khan I., Adnan A. 2018 9th IEEE annual ubiquitous computing, electronics mobile communication conference (UEMCON) 2018. pp. 746–752. - DOI
    1. Ahmad M., Ahmed I., Ullah K., Khan I., Khattak A., Adnan A. International Journal of Advanced Computer Science and Applications. 2019;10 doi: 10.14569/IJACSA.2019.0100367. - DOI
    1. Ahmad M., Ahmed I., Khan F.A., Qayum F., Aljuaid H. International Journal of Distributed Sensor Networks. 2020;16 1550147720934738.

LinkOut - more resources