An simple social distance detector using YOLO and OpenCV, on the basis of Euclidean distance.
Checkout my youtube video->
Must have to satisfy all the requirements
- Clone Repository
$ git clone https://github.com/analyticalnahid/social-distance-detector.git
$ cd social-distance-detector
- Install All Dependencies
$ pip install -r requirements.txt
- Run the program
$ python social_distancing_detector.py --input pedestrians.mp4 --output output.avi --display 0
YOLO COCO weights The weight file exceeds the github limits but can be download from here.
Add the weight file to the yolo-coco folder.
Inspiration from Adrian Rosebrock's
You can work with this project a bit along, you can implement it on any realtime IP CCTV camera and monitor any specific area.