Skip to content

analyticalnahid/social-distance-detector

Repository files navigation

Social Distance Detector

An simple social distance detector using YOLO and OpenCV, on the basis of Euclidean distance.

How it works?

Checkout my youtube video->

Installation

Must have to satisfy all the requirements

  1. Clone Repository
   $ git clone https://github.com/analyticalnahid/social-distance-detector.git
   $ cd social-distance-detector
  1. Install All Dependencies
   $ pip install -r requirements.txt
  1. Run the program
      $ python social_distancing_detector.py --input pedestrians.mp4 --output output.avi --display 0

Usage

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.

References

Inspiration from Adrian Rosebrock's

FAQ

What's the main purpose?

You can work with this project a bit along, you can implement it on any realtime IP CCTV camera and monitor any specific area.

🔗 Links

Connect with me:

analyticalnahid analyticalnahid analyticalnahid iamtechnicalnahid analyticalnahid https://analyticalnahid.medium.com https://www.youtube.com/channel/UCLeFKnFwC11FQWvtFk32vJQ

Releases

No releases published

Packages

No packages published

Languages