5l1v3r1 / social-distance-detector

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

social-distance-detector

Social_distance

This code will help you to do social distance detectioni in this COVID-19 situation at your premise. This is very basic code, feel free to checkout and do any improvisations.

You can change the socail distance threshold in program to make sure it works best for the your camera/input view. If you want to do more improvisation then you can calculate socail distance threshold dynamicaly based on human objects size so it will be more reliable in case of short and long distance view.

Steps to run the code :

1- open cmmand prompt and change directory(cd) to project folder
2- install all depedencies -> pip install -r requirements.txt
3- Link to Download yolov3.weights for COCO dataset - https://pjreddie.com/darknet/yolo/
4- Put the downloaded yolov3.weights in your project folder
5- Run this code : python SocialDistanceDetector.py

alt text

About


Languages

Language:Python 100.0%