https://github.com/rituyadav92/social_distancing_project
https://github.com/rituyadav92/social_distancing_project
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rituyadav92/social_distancing_project
- Owner: RituYadav92
- Created: 2020-06-13T22:31:22.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-25T14:02:36.000Z (over 5 years ago)
- Last Synced: 2025-01-28T17:45:28.568Z (8 months ago)
- Language: Python
- Size: 12.2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Social_Distancing_Project
Detect objects and check cases of social distancing violation.#### Demo:

## How to run?
### 1. Run .yml file to create the enviornment for this project.
```conda env create -f environment.yml```
### 2. Drop an email to download the pre-trained YOLO v3 weights on coco dataset.
### 3. Run the code using following command
```python social_distance_detector.py --input pedestrians.mp4 --output output.avi```### 4. If X server error then
#### prevent any future commands in this session from connecting to your real X environment
```unset DISPLAY XAUTHORITY```#### run yourcode.py with a fake X environment provided by xvfb-run
```xvfb-run python yourcode.py```