Skip to content

Considering the unfortunate circumstances due to COVID-19 keeping distance from one person to another is crucial.

Notifications You must be signed in to change notification settings

BoostTag/Social-Distancing

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Social Distancing Using Deep Learning and OpenCV

Objective

Today's unfortunate circumstances due to COVID-19, keeping distance among people is crucial. The goal is to detect people using Deep Learning and find the distance between people to check whether a norm social distance of 6feet or 1.8m is maintained by people.

Social Distancing

Tool and Libraries

  • Python
  • OpenCV
  • YoloV3

Description

  • Step 1: Find the number of people in the frame/Image.
  • Step 2: Creating Bounding Box over the people identified using YOLO.
  • Step 3: A width threshold is set for object among which the distance is measured i.e. the width of the people. I am setting width as 27inch or 0.70 meter. Try other values if required.
  • Step 4: Mapping the pixels to metric (meter or inches).
  • Step 5: Find the distance between, the center point of one person to another person in meters.

Result

Social Distance

About

Considering the unfortunate circumstances due to COVID-19 keeping distance from one person to another is crucial.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 99.3%
  • Python 0.7%