Skip to content

Detecting people using yolov5 model and the people were classified as High, Moderate and Normal based on their distance from one another.

Notifications You must be signed in to change notification settings

priyaezhil3221/yolov5-Social-Distancing

Repository files navigation

Social-Distancing-using-YOLOv5

Detecting people and were classified as high, moderate and normaL based on their distance to other people 😷

The original YOLOv5 model was used to detect people. Thereafter the people were classified as "High" , "Moderate" and "Normal" based on their distance from one another.


Requirements

Python 3.7 or later with all requirements.txt dependencies installed, including torch >= 1.5. To install run:

$ pip install -U -r requirements.txt

Usage

Run on a single video file

$ python detect.py --source ./inference/videos/videofile.mp4

Run on all video files inside a folder

$ python detect.py --source ./inference/videos/

Output

About

Detecting people using yolov5 model and the people were classified as High, Moderate and Normal based on their distance from one another.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages