Social distancing in Real-Time using live video stream/IP camera in OpenCV.
Input | Output |
---|---|
![]() |
![]() |
- Accept feed from live cam, IP camera and custom video input.
- Counting the number of people in real-time.
- Sending an alert(audio) if the people are way over the social distancing limits.
- Safe distance entered by the user (GUI).
- Detect humans in the frame with yolov4.
- Stores violations in a csv file.
๐ป Install the dependencies on command line:
$ pip install -r requirement.txt
๐ป To run the program on command line:
$ python social distance detector.pyw
๐ป To run the GUI on command line:
$ python social distance detector gui.pyw