bayramsn
feat(tools): add pt_bundle to bundle multiple .pt files without modifying originals\nfix(apps): webcam_app device auto-resolution and session_state safety
8c738c4
| # 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. |