Program to detect social distancing violations in a video using YOLOv3.
The list of required libraries can be found in the requirements.txt file. You can use pip to install the packages from requirements.txt file.
pip3 install -r requirements.txt
- Clone the git repo
git clone https://github.com/data-stats/Social-distancing-YOLO.git
- Change directory
cd Social-Distancing-YOLO
- Run the main.py file
python3 main.py
Note : Download yolov3.weights from https://pjreddie.com/darknet/yolo/ and add it to the models folder before executing the file.