Social distancing detection using deep learning to evaluate the distance between people to mitigate the impact of this coronavirus pandemic. The detection tool was developed to alert people to maintain a safe distance with each other by evaluating a video feed. The video frame from the camera was used as input, and the open-source object detection pre-trained model.
- Github doesn't support files with size larger than 25 Mb.You can find the yolo weights in google drive
- Download and paste it to yolo-coco folder
- Open your terminal
- Change directory to project directory
- Execute
pip install -r requirements.txt
to install the project dependencies - Run the command
python social_distance_detector.py --input pedestrians.mp4 --output output.avi --display 1
to run your social distance detection project - After you run the last line of command,a window eill pop up and after execution of the file a
output.avi
file will be showing up in your directory
- Created by: Chandan Kumar
- Email: ck220698@gmail.com
- LinkedIn: Chandan Kumar