International Journal of Science and Research (IJSR)

International Journal of Science and Research (IJSR)
Call for Papers | Fully Refereed | Open Access | Double Blind Peer Reviewed

ISSN: 2319-7064


Downloads: 201 | Views: 427 | Weekly Hits: ⮙1 | Monthly Hits: ⮙1

Research Paper | Computer Science | United States of America | Volume 9 Issue 9, September 2020


Maintaining Social Distancing using Artificial Intelligence

Krish Chaudhary


Abstract: A technological solution to help people stay six feet apart from each other and maintain social distancing in order to prevent the spread of the coronavirus. The software is installed in the hardware of CCTV cameras and can perform effective contact tracing. The application goes through the video footage and does the following process for every frame in the video. It uses Python libraries such as Keras-RetinaNet to detect which objects are human and where they are located in the frame. Then, it uses the law of similar triangles to find the distances between people, whose accuracy is improved by 30 % using the law of cosines to find a more accurate distance. The application then uses Multi-task Cascaded Convolutional Neural Networks to grab people’s faces from an image and then uses a face recognizer to recognize the names of people in the frame. The application then alerts every user that broke the social distancing rule through email and logs the instance into a database from that frame. For every frame, the application uses cv2 to create an edited image of the original that displays which people broke the social distancing rule, by writing names on top of their bounding boxes and drawing red lines between the people who broke it. In the end, the application outputs an edited video clip of the original, which in reality is a collection of all the edited frames. Already it has begun to show promise, with an 85 percent accuracy rate.


Keywords: Social Distancing, Coronavirus, Pandemic, Artificial Intelligence, Deep Learning, Contact Tracing, Computer Vision, computer science, python, MTCNN


Edition: Volume 9 Issue 9, September 2020,


Pages: 1095 - 1100


How to Download this Article?

Type Your Valid Email Address below to Receive the Article PDF Link


Verification Code will appear in 2 Seconds ... Wait

Top