Skip to content

Latest commit

 

History

History
46 lines (22 loc) · 870 Bytes

README.md

File metadata and controls

46 lines (22 loc) · 870 Bytes

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