Intelligent weapon detection & threat analysis platform for real-time video surveillance. Fine-tuned YOLO11 model with custom Threat Association Engine that evaluates spatial proximity and weapon-person associations.
Status: MSc Thesis Project (Defense Pending) | Lead: Fatma Duran
Thesis Supervisor: Prof. Dr. Kaan Yılancıoğlu
Head of Biosecurity Master's Program, Üsküdar University
kaan.yilancioglu@uskudar.edu.tr
| V3 (YOLO11n) | 2.6M params, 5.4 MB |
| Live analysis (CPU) | ~94 ms/frame |
| V4 (YOLO11s) | 9.4M params, 57 MB |
| Video upload (GPU) | ~226 ms/frame |
Two fine-tuned YOLO11 variants are maintained. V3 (YOLO11n) is deployed for live analysis due to low memory footprint; V4 (YOLO11s) provides higher accuracy (mAP@0.5 = 0.748) for offline video processing.
✓ Handgun: AP@0.5 = 0.908 — Excellent (4,777 training samples)
✓ Knife: AP@0.5 = 0.737 — Good (4,574 training samples)
✓ Blunt Weapon: AP@0.5 = 0.688 — Acceptable (2,960 training samples)
⚠ Rifle: AP@0.5 = 0.287 — CRITICAL (only 234 training samples) — Future work: augment data to 1,000+ samples
Original academic contribution: Instead of simple binary IoU, computes continuous threat_score combining spatial proximity + overlap to determine weapon-person association.
threat_score = weapon_weight × (α × proximity_score + β × overlap_score) × weapon_confidence
| CRITICAL | score ≥ 0.65 | Red pulsing banner + audio alert |
| WARNING | score ≥ 0.35 | Orange indicator |
| UNCONFIRMED | score > 0.05 | Suppressed from UI (noise filtered) |
ByteTrack + EMA smoothing maintains persistent object identity across frames. Exponential Moving Average (EMA) with α=0.40 provides fast response while dampening single-frame spikes.
Explore real-time threat detection and analysis
open visionsleuth →meet the team →