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
- Host: GitHub
- URL: https://github.com/muntahashams/social-distance-detector
- Owner: MuntahaShams
- Created: 2021-04-19T20:47:47.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-04-19T21:01:51.000Z (about 4 years ago)
- Last Synced: 2025-01-13T11:29:44.609Z (4 months ago)
- Topics: opencv, social-distancing, social-distancing-detection, video, yolov3
- Language: Jupyter Notebook
- Homepage:
- Size: 18.9 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.