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