AI powerd Security device for insecurity in nigeria
# NISHA Sentinel
> **Distributed Telemetry & Surveillance System**
>
> Real-time acoustic and visual threat detection using edge AI, mesh networking, and multi-agent correlation.
Architecture β’ Quick Start β’ Components β’ Documentation β’ License
---
## π― Overview
NISHA Sentinel is a production-grade surveillance platform that connects distributed audio/video sensor agents to a central AI backend for real-time threat detection. The system employs:
- **Edge Agents**: ESP32 microcontrollers + mobile phones streaming audio/video
- **Master Nodes**: Raspberry Pi aggregators with local buffering and failover
- **Central Backend**: FastAPI service with YOLOv8+LSTM violence detection
- **Dashboard**: Next.js web app with real-time maps, topology graphs, and alerts
- **AI Pipeline**: Pose estimation + behavior classification + multi-agent correlation
**Key Features:**
- β
Binary NISHA protocol (24-byte header, priority queues)
- β
Continuous video streaming + audio capture
- β
GPS location tracking with background updates
- β
AI violence detection (78% accuracy, real-time)
- β
Multi-agent event correlation (spatio-temporal)
- β
Mesh topology with handoff & failover
- β
Delta-based configuration management
- β
WebSocket real-time updates
- β
Docker Compose deployment
---
## ποΈ Architecture
```
βββββββββββββββ βββββββββββββββ βββββββββββββββ βββββββββββββββ
β ESP32 β β Mobile β β Master β β Backend β
β Agent ββββββΊβ Agent ββββββΊβ Node ββββββΊβ (FastAPI) β
β (Audio) β β (AV+GPS) β β (Pi) β β β
βββββββββββββββ βββββββββββββββ βββββββββββββββ βββββββββββββββ
β
βΌ
ββββββββββββββββββββ
β PostgreSQL β
β + Redis β
ββββββββββββββββββββ
β
βΌ
ββββββββββββββββββββ
β Next.js β
β Dashboard β
ββββββββββββββββββββ
```
**Protocol**: NISHA binary frames (TELEMETRY, VIDEO, AUDIO, LOCATION streams with 4 priority levels).
**AI Models**: YOLOv8-n β¦