https://github.com/william1nguyen/camera-alert-unsafe-distance
Camera Alert Unsafe Distance System
https://github.com/william1nguyen/camera-alert-unsafe-distance
opencv python ultralytics yolov11
Last synced: 11 days ago
JSON representation
Camera Alert Unsafe Distance System
- Host: GitHub
- URL: https://github.com/william1nguyen/camera-alert-unsafe-distance
- Owner: william1nguyen
- License: mit
- Created: 2024-10-11T04:21:31.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2025-03-22T21:32:58.000Z (4 months ago)
- Last Synced: 2025-03-22T22:20:16.829Z (4 months ago)
- Topics: opencv, python, ultralytics, yolov11
- Language: Python
- Homepage:
- Size: 23.7 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Camera Alert Unsafe Distance System
A computer vision system that detects objects, estimates their distance, and alerts when objects are at an unsafe proximity using YOLOv11 from Ultralytics.
## Features
- Real-time object detection using Ultralytics YOLO
- Accurate distance estimation
- Configurable safety threshold alerts
- Support for both live camera feed and video file input## Demo
https://github.com/user-attachments/assets/85365a95-b41b-46b0-aadb-fc78aa8c20be
## Installation
### Setup Environment
Create a conda environment using the provided configuration:
```bash
conda create -f environment.yml
```### Activate Environment
```bash
conda activate yolo
```## Usage
### Run with Live Camera
To use your computer's camera for real-time detection:
```bash
python main.py
```### Run with Test Video
Place test videos in the `tests` folder, then specify the file path:
```bash
python main.py --tests=tests/
```## Requirements
All dependencies are listed in the `environment.yml` file.
## License
[MIT License](LICENSE)