An open API service indexing awesome lists of open source software.

https://github.com/muntahashams/social-distance-detector

A social distancing detector built with OpenCV using YOLO(COCO model) object detector
https://github.com/muntahashams/social-distance-detector

opencv social-distancing social-distancing-detection video yolov3

Last synced: about 2 months ago
JSON representation

A social distancing detector built with OpenCV using YOLO(COCO model) object detector

Awesome Lists containing this project

README

        

# social-distance-detector

A social distancing detector built with OpenCV using YOLO(COCO model) object detector

About



Social distancing is a method used to control the spread of contagious diseases such as the COVID-19 Disease. It implies that people physically distance themselves from one another, reducing close contact, and thereby reducing the spread.

## Features:
* Object detection using the YOLO COCO model to detect only people in a video stream.
* Computes the pairwise distances between all detected people.
* Based on the computed distances, we determine whether social distancing rule is being violated or not.

## Installation:

1. Clone the repo

```
git clone https://github.com/MuntahaShams/social-distance-detector.git
cd social-distance-detector
```

2. Install dependencies

```
pip install -r requirements.txt
```

3. Run the social-distance-detector.ipynb

* YOLO COCO weights\
The weight file exceeds the github limits but can be download from here.\
Add the weight file to the weight folder.