Zero-Trace Contextual Edge Video Analytics SDK
Project description
FluxState: Zero-Trace Edge Intelligence SDK
FluxState Edge is an enterprise-grade, camera-agnostic video analytics SDK designed for high-security environments. It operates as a headless Intelligence layer, ingesting RTSP streams from existing IP cameras and applying advanced, multi-modal behavioral reasoning.
Unlike legacy security systems that rely on hardcoded tripwires or controversial facial recognition, FluxState utilizes a Behavioral Threat Matrix. It fuses geometric Vision (YOLOv8), 3D Skeletal Kinetics (MediaPipe), Acoustic Escalation (PyAudio), and RF Payload signatures to generate a dynamic, anonymous Reality Graph.
🚀 Core Enterprise Capabilities
- Zero-Trace Privacy Engine: Engineered for strict GDPR and Defense data-retention compliance. Raw pixel buffers are processed entirely in ephemeral RAM and cryptographically overwritten (zeroed out) instantly post-inference, neutralizing memory-dump attacks.
- Hardware Agnostic (RTSP): Connects to any existing IP camera via standard RTSP URLs. No proprietary hardware required.
- Swarm Ledger (GPASS): Introduces Geometric Perceptual Anonymous Signature Swarm tracking. Associates behaviors to cryptographic hashes based on upper-body geometry instead of faces.
- Over-The-Air (OTA) Policies: Threat definitions, behavioral thresholds, and VMS Webhook destinations are loaded dynamically from
intelligence_policy.json, allowing central command to update remote edge nodes without restarting the stream. - Webhooks Integration Bus: Operates completely headlessly. Emits near-instant JSON telemetry payloads to centralized Video Management Systems (VMS) only when behavioral threats are confirmed.
📦 Installation & System Requirements
System Dependencies: FluxState relies on native system libraries for optical character recognition and audio streaming.
- macOS:
brew install tesseract portaudio - Linux (Ubuntu/Debian):
sudo apt-get install tesseract-ocr libportaudio2 libportaudiocpp0 portaudio19-dev
Install the SDK:
pip install fluxstate-edge
🛠️ Seamless Developer Integration (The SDK)
FluxState is designed as the "Intel Inside" for your security infrastructure. It is meant to be embedded directly into your proprietary backend.
1. Minimal 5-Line Integration
Create an entrypoint script (e.g., main.py):
import time
from app import FluxStateNode
# Initialize the SDK (Zero-Trace Mode Enabled by Default)
sdk = FluxStateNode()
# Define your seamless integration hooks
def handle_threat(event_payload):
print(f"\n[🚨 INTEGRATION BUS] Threat Detected! Escalating to VMS...")
print(f"Target Identity: {event_payload['entities']}")
print(f"Behavioral Vector: {event_payload['context_log']}")
# Bind the hook to the SDK
sdk.on_threat_detected = handle_threat
# Deploy Headlessly (Runs as a background daemon)
sdk.start_headless_daemon()
try:
while True:
time.sleep(1)
except KeyboardInterrupt:
print("Shutting down SDK cleanly...")
sdk.stop()
2. Available Event Hooks
The FluxStateNode exposes the following native Python hooks for your backend:
on_threat_detected(payload: dict): Fires immediately when the behavioral reasoning engine crosses the threshold defined in the active Intelligence Policy.on_telemetry_update(payload: dict): A silent telemetry hook that fires 30 times a second. Useful for bridging the raw geometric track data into local caching databases (Redis/Kafka) without triggering alarms.
⚙️ Configuration: The Intelligence Policy
FluxState uses a dynamic JSON file (intelligence_policy.json) located in the runtime directory to configure behavioral thresholds. This file is hot-reloaded by the AI engine, allowing you to tweak camera sensitivity OTA.
{
"SECTOR_ID": "ENTERPRISE-HQ-01",
"RTSP_STREAM_URL": "0",
"INTEGRATION_WEBHOOK_URL": "https://api.your-vms.com/v1/telemetry",
"THREAT_VECTORS": {
"ARMS_RAISED_OR_REACHING": {
"enabled": true,
"escalation_threshold": 0.85
},
"RAPID_KINETIC_SHIFT": {
"enabled": true,
"escalation_threshold": 0.90
}
}
}
🛡️ Architecture Overview
For a deep dive into the threading model, asynchronous OCR extraction, and the mathematical implementation of the Zero-Trace Privacy Engine, please refer to the architecture.md file in the source repository.
FluxState is developed as an intelligence overlay for modern video management infrastructure.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fluxstate_edge-1.0.2.tar.gz.
File metadata
- Download URL: fluxstate_edge-1.0.2.tar.gz
- Upload date:
- Size: 19.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da03c665bfafb8d4daacd72443a66223a998d0d2436cfad8045d74a0425d4039
|
|
| MD5 |
fe0a370734011a3a3231bb9e8edd6dfb
|
|
| BLAKE2b-256 |
b996c30a8319b091b44413bb5e4f123798b2f3e196c1e804d5cb745e15fcd5ee
|
Provenance
The following attestation bundles were made for fluxstate_edge-1.0.2.tar.gz:
Publisher:
publish.yml on iamrealvinnu/fluxstate
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fluxstate_edge-1.0.2.tar.gz -
Subject digest:
da03c665bfafb8d4daacd72443a66223a998d0d2436cfad8045d74a0425d4039 - Sigstore transparency entry: 2071626464
- Sigstore integration time:
-
Permalink:
iamrealvinnu/fluxstate@ce06f9461a37c33e7168f200144e929d7063f428 -
Branch / Tag:
refs/tags/v1.0.2 - Owner: https://github.com/iamrealvinnu
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ce06f9461a37c33e7168f200144e929d7063f428 -
Trigger Event:
release
-
Statement type:
File details
Details for the file fluxstate_edge-1.0.2-py3-none-any.whl.
File metadata
- Download URL: fluxstate_edge-1.0.2-py3-none-any.whl
- Upload date:
- Size: 18.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e4170866ac7fe76c3ce33076680a54b8344335a1ecc04b83bd2c9bb6fc04a86
|
|
| MD5 |
29444871bce9006facac269967e4c31f
|
|
| BLAKE2b-256 |
ffccf12e91f38dff2b67a98a1b5d0e1c56b5b0bcd54bc1c0a8c8dc7a0362f0d4
|
Provenance
The following attestation bundles were made for fluxstate_edge-1.0.2-py3-none-any.whl:
Publisher:
publish.yml on iamrealvinnu/fluxstate
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fluxstate_edge-1.0.2-py3-none-any.whl -
Subject digest:
3e4170866ac7fe76c3ce33076680a54b8344335a1ecc04b83bd2c9bb6fc04a86 - Sigstore transparency entry: 2071626488
- Sigstore integration time:
-
Permalink:
iamrealvinnu/fluxstate@ce06f9461a37c33e7168f200144e929d7063f428 -
Branch / Tag:
refs/tags/v1.0.2 - Owner: https://github.com/iamrealvinnu
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ce06f9461a37c33e7168f200144e929d7063f428 -
Trigger Event:
release
-
Statement type: