A distributed, professional-grade intelligence mesh for real-time vision processing, target recognition, and forensic metadata extraction. Sentrix-AI transforms standard CCTV networks into an active security shield by combining edge-side inference with a centralized neural recognition engine.
Sentrix-AI is a FastAPI + Qdrant + YOLO-World + InsightFace stack. The system utilizes a decoupled "Two-Core" edge intelligence model where workers handle heavy inference and the centralized hub manages identity resolution and real-time alerts.
╔══════════════════════════════════════════════════════════════════════════╗
║ S E N T R I X - A I ║
║ Distributed Intelligence Surveillance Mesh ║
╚══════════════════════════════════════════════════════════════════════════╝
┌─────────────────────────────────────────────────────────────────────┐
│ PRESENTATION LAYER │
│ │
│ ┌──────────────────────────────────────────────────────────────┐ │
│ │ Tactical Dashboard (Vanilla JS/CSS) │ │
│ │ │ │
│ │ ┌────────────┐ ┌──────────────┐ ┌──────────────────┐ │ │
│ │ │ Alert Feed │ │ Live Stream │ │ ROI Management │ │ │
│ │ │ (SSE Match)│ │ (H.264/MJPEG)│ │ /api/roi │ │ │
│ └──────────────────────────────────────────────────────────────┘ │
└───────────────────────────┬─────────────────────────────────────────┘
HTTP / SSE / H.264
┌────────────────────────────▼────────────────────────────────────────┐
│ CENTRAL HUB (backend/app) │
│ │
│ FastAPI ┌────────────────────────────────────────────────────┐ │
│ + SQLite │ INTELLIGENCE ROUTER │ │
│ │ /api/upload-frame /api/sse/stream │ │
│ │ /api/upload-object /api/watchlist │ │
│ └──────────────────────┬─────────────────────────────┘ │
│ │ │
│ ┌────────────────────────▼─────────────────────────────┐ │
│ │ NEURAL SEARCH ENGINE │ │
│ │ Qdrant Vector DB (512-D Face Embeddings) │ │
│ │ ├── Search(vector) → Identity Match │ │
│ │ └── Store(vector) → Template Persistence │ │
│ └──────────────────────────────────────────────────────┘ │
└─────────────────────────────────────────────────────────────────────┘
Metadata & Frame Stream
┌──────────────────────────────────▼──────────────────────────────────┐
│ EDGE INTELLIGENCE LAYER │
│ │
│ ╔══════════════════════════════════════════════════╗ │
│ ║ WORKER AGENT (Field Node) ║ │
│ ║ ║ │
│ ║ ┌──────────┐ ┌──────────┐ ┌─────────────┐ ║ │
│ ║ │ Face Core│ │ Obj Core │ │ Motion │ ║ │
│ ║ │ (Insight)│ │ (YOLO-W) │ │ Gating │ ║ │
│ ║ └──────────┘ └──────────┘ └─────────────┘ ║ │
│ ╚══════════════════════════════════════════════════╝ │
└─────────────────────────────────────────────────────────────────────┘
To understand the speed of Sentrix AI, here is the internal request lifecycle and the progression of data through the system pipeline.
This ASCII state diagram maps the internal state progression of a single camera frame as it is analyzed by the dual-core mesh intelligence.
+-----------------------+
| CAMERA (RTSP) |
| Raw Stream Capture |
+-----------------------+
|
v
+-----------------------+
| WORKER AGENT |
| (Motion Threshold) |
+-----------------------+
|
+---------------------------------------+
| |
v v
+-----------------------+ +-----------------------+
| CORE 1: FACE | | CORE 2: OBJECT |
| - Crop Faces | | - YOLO Inference |
| - 512-D Embeddings | | - Box Generation |
+-----------------------+ +-----------------------+
| |
+-------------------+-------------------+
|
v
+-----------------------+
| METADATA AGGREGATION |
| (Prepare JSON Payload)|
+-----------------------+
|
v
+-----------------------+
| TRANSMIT TO HUB |
| (HTTP POST /upload) |
+-----------------------+
Once the Worker transmits the data, the Hub processes the payload and pushes real-time alerts.
+-----------------------+
| CENTRAL HUB (API) |
| (Receives Payload) |
+-----------------------+
|
+---------------+---------------+
| |
v v
+-------------------------------+ +-----------------------+
| QDRANT DB | | SQLITE DB |
| - Search Vector Store | | - Save Metadata |
| - Check Cosine Similarity | | - Log Known/Unknown |
+-------------------------------+ +-----------------------+
|
v
+-------------------------------+
| MATCH RESOLUTION |
| Is similarity > threshold? |
+-------------------------------+
|
+-----+-----+
| |
(Yes) (No)
| |
v v
+----------------+ +----------------+
| TRIGGER ALERT | | ARCHIVE ONLY |
| (SSE Pipeline) | | (No UI Alert) |
+----------------+ +----------------+
|
v
+-----------------------+
| TACTICAL DASHBOARD |
| - Live Feed Update |
| - Flash UI Prompt |
+-----------------------+
Motion Detected at Edge
│
▼
┌──────────────┐ Frame Analysis (Local Inference)
│ Worker Agent │ ───────────────────────────────────────────────────┐
│ (Inference) │ │
└──────────────┘ ┌────────▼────────┐
│ │ Central Hub │
│ POST /api/upload-frame (Vector + Crop) │ (FastAPI Router)│
│ ─────────────────────────────────────────────────► │ │
│ └────────┬────────┘
│ │
│ Qdrant.search(vector, limit=1)
│ │
│ ┌────────▼────────┐
│ │ Vector Engine │
│ │ (Identity) │
│ └────────┬────────┘
│ │
│ Similarity > Threshold?
│ │
│ ┌────────▼────────┐
│ SSE: data:{"event":"MATCH", "person":"..."} │ SSE Pipeline │
│ ◄───────────────────────────────────────────────── │ (Real-time Out) │
└────────────────────────────────────────────────────└─────────────────┘
| Layer | Component | Technology | Responsibility |
|---|---|---|---|
| Presentation | Tactical UI |
Vanilla HTML/CSS/JS | Real-time monitoring, alert history, ROI drawing. |
| Application | Central Hub |
FastAPI + Uvicorn | Route dispatch, JWT Auth, Database orchestration. |
| Edge Node | Worker Agent |
Python (Multiprocessing) | Frame capture, motion suppression, H.264 streaming. |
| Face Engine | Core 1 |
InsightFace + ONNX | 512-D vector extraction and face alignment. |
| Object Engine | Core 2 |
YOLO-World / YOLOv8 | Real-time context classification (80+ classes). |
| Neural Search | Vector DB |
Qdrant | Sub-millisecond similarity lookup for face matches. |
| Persistence | Metadata DB |
SQLite | Storage for sightings, alerts, and system telemetry. |
Sentrix AI utilizes a multi-layered intelligence pipeline designed for forensic-grade accuracy and high-concurrency performance.
The worker node employs a decoupled "Two-Core" execution model to maintain ultra-low latency:
- Neural Core (Face): Optimized for 512-dimension vector extraction using InsightFace (Buffalo_S) at intervals as low as 250ms.
- Context Core (Object): Implements zero-shot object detection via YOLO-World, tracking 80+ dynamic classes (vehicles, electronics, forensic markers) with custom-defined confidence thresholds.
- Motion Gating: Implements a spatial-temporal delta threshold (160x120 grayscale) to suppress inference on static frames, reducing overall power consumption and VRAM pressure by up to 70% during idle periods.
- Vector Engine: Centralized 512-D embedding storage using Qdrant with Cosine Distance metrics for instant similarity lookups.
- Hybrid Persistent Fallback: A dual-store architecture (Qdrant + SQLite) ensures identity persistent across reboots and network partitions.
- AEI (Adaptive Edge Intelligence): Dynamic ROI (Region of Interest) synchronization allows the Hub to update worker-side detection zones in real-time via persistent API hooks.
- Mission-Control Aesthetics: The dashboard leverages a "Cognitive Vision Suite" aesthetic, utilizing Orbitron and Share Tech Mono typography for high readability in low-light command environments.
- Real-Time Visual Feedback: Implements CRT-style scanline overlays and periodic "heartbeat" animations to verify live-stream health and nodal connectivity.
- Glassmorphism Overlays: High-performance CSS glassmorphism (backdrop-filter: blur) ensures that tactical overlays do not obstruct critical visual information during multi-stream monitoring.
- Authentication: Industry-standard BCrypt password hashing and HS256 JWT signing for all node-to-hub communication.
- SSE Alert Pipeline: High-frequency Server-Sent Events (SSE) deliver neural matches in <200ms. The pipeline supports JWT token injection via query parameters for seamless EventSource integration.
- Autonomous Failover: Multi-process worker orchestration with automated CUDA environment self-healing and VRAM-aware memory allocation (expandable segments).
Sentrix AI is engineered for high-concurrency environments, balancing edge-side processing with centralized intelligence.
- High-Frequency Inference: Supports detection intervals as low as 0.5 seconds, ensuring no target remains undetected even in fast-moving environments.
- Multi-Node Scalability: The system has been validated to manage 10+ concurrent high-definition camera feeds from a single orchestrator node with minimal CPU overhead.
- Bandwidth Optimization: Implements MJPG-encoded streaming for USB and RTSP cameras, reducing network congestion by up to 60% compared to raw frame transmission.
- Hardware Acceleration: Native support for CUDA and ONNX Runtime ensures sub-500ms end-to-end latency from target detection to dashboard alert.
- Python 3.10+
- NVIDIA GPU (Recommended for CUDA acceleration)
- FFmpeg installed (for live streaming)
- Qdrant (Running via Docker or Local)
cd backend
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python3 main.pyEnsure Qdrant is running:
docker run -p 6333:6333 qdrant/qdrantcd worker
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
# Run a single camera node
python3 worker_agent.py --server http://localhost:8000 --user admin --password admin123 --camera 0To launch multiple camera nodes simultaneously:
python3 sentrix_orchestrator.pySentrix-AI/
├── backend/ # Intelligence Hub
│ ├── app/ # FastAPI Source
│ │ ├── core/ # AI Engines & DB Logic
│ │ ├── features/ # Modular Feature Routers
│ │ └── static/ # Dashboard UI
│ └── main.py # Hub Entry Point
├── worker/ # Field Intelligence Node
│ ├── worker_agent.py # Edge Inference Engine
│ └── models/ # Local ONNX/PT Models
├── libs/ # Shared Utilities
├── sentrix_orchestrator.py # Multi-node Manager
└── docker-compose.yml # Containerized Stack
- Database: Primary metadata storage in
backend/data/cctv.db(SQLite). - Vectors: Persistent vector storage initialized in
backend/data/qdrant_storage/. - Detection: Standard detection model located at
backend/models/best.pt. - Recognition: InsightFace models are managed in
backend/models/insightface/.
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/login |
Authenticates User/Worker |
| GET | /api/sse/stream |
Real-time Alert Stream (SSE) |
| POST | /api/upload-frame |
Face Detection + Embedding |
| POST | /api/upload-object |
Object Detection Metadata |
| POST | /api/upload-live-h264 |
H.264 Stream Ingestion |
| GET | /api/roi/worker/rois |
Worker Config Sync |
| Category | Challenge | Result |
|---|---|---|
| Accuracy | Target identification using 15+ templates in variable lighting. | ✅ 98.2% |
| Latency | End-to-end alert delivery (Edge Detection → UI Alert). | ✅ <200ms |
| Efficiency | Motion gating suppression on static high-res streams. | ✅ 70% VRAM Savings |
| Scaling | Management of 10+ concurrent HD feeds on single node. | ✅ Stable |
| Forensics | Full travel history reconstruction across 5-node mesh. | ✅ Verified |
Sentrix-AI is designed for mission-critical security environments with high-visibility tactical overlays. For security reasons, full live demonstrations are restricted to verified inquiries.
Tip
Verified Proof & Contact
If you require more detailed work proof or a live demonstration, feel free to reach out. I can share comprehensive details of this project’s secure architecture and capabilities.
Email: arpitbhojani.contact@gmail.com
DM me anytime without worry for additional proof.
Screenshot 1 — Master Command Dashboard
Real-time system oversight featuring core infrastructure telemetry, VRAM utilization, and global activity metrics.

Screenshot 2 — Tactical Intelligence Overview
Mission-critical dashboard tracking high-priority threat matches, watchlist targets, and real-time node connectivity.

# Start a worker with specific object tracking enabled
python3 worker_agent.py --camera rtsp://admin:pass@192.168.x.xx --objects car laptop phone| Identity | Username | Password |
|---|---|---|
| Site Admin | admin |
admin123 |
| Field Operative | worker1 |
worker123 |
Proprietary Security Intelligence Software. Licensed for specialized facility use.