Code Monkey home page Code Monkey logo

social-distancing-using-deep-learning-and-opencv's Introduction

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

social-distancing-using-deep-learning-and-opencv's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

social-distancing-using-deep-learning-and-opencv's Issues

How to run on Video file and save output results?

Hi , I am using YOLOV3 and I want to detect about 6 classes of objects and i can do it successfully. Now I want to perform distance calculation between detected objects and draw line between them on video file and save the output. can you guide me about that?

Error in prediction

Hi , there is following error when i run the project , I think the weights load function is not right.

error2
error1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.