File size: 758 Bytes
8c738c4 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
# YOLO11 Webcam App
Basit bir Streamlit arayüzü ile webcam üzerinden YOLO11 gerçek zamanlı tespit.
## Gereksinimler
- Python 3.9+
- Paketler: `ultralytics`, `streamlit`, `streamlit-webrtc`, `av`, (opsiyonel) `huggingface_hub`
## Kurulum (PowerShell)
```powershell
cd C:\yolov11\YOLO11
python -m venv .venv
. .venv\Scripts\Activate.ps1
pip install -U pip
pip install ultralytics streamlit streamlit-webrtc av huggingface_hub
```
## Çalıştırma
```powershell
cd C:\yolov11\YOLO11
. .venv\Scripts\Activate.ps1
streamlit run apps/webcam_app.py
```
Sol menüden modeli yükleyin (örn. `yolo11n.pt`) ve kameraya izin verin.
Notlar:
- HF Hub’dan özel model çekmek için `HF_TOKEN` ortam değişkeni gerekebilir.
- CUDA yoksa cihazı `cpu` seçin. |