On-device AI detects dangerous crowd density via Snapdragon NPU and ExecuTorch, triggering instant safety alerts before a crowd crush occurs.