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.
Python 3.7 or later with all requirements.txt
dependencies installed, including torch >= 1.5
. To install run:
$ pip install -U -r requirements.txt
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/