Privacy-Preserving Contextual Edge Video Analytics SDK
Project description
🦅 FluxState Edge SDK
Privacy-Preserving Contextual Edge Video Analytics for Enterprise Security
FluxState Edge is an extensible, camera-agnostic video analytics SDK designed for direct integration into proprietary security backends. It processes RTSP streams locally on the edge, extracting behavioral metadata via object detection, 3D skeletal posing, audio processing, and VLM semantic reasoning.
🚀 Quick Install
pip install fluxstate-security
🎥 Installation Demo
See the SDK installation and verification in under a minute.
▶️ Watch Installation Demo (Google Drive)
⚡ System Capabilities
| Capability | Technical Implementation |
|---|---|
| 🧠 Agentic VLM Reasoner | Runs Vision-Language Models (e.g., Qwen2.5-VL) locally via MLX on Apple Silicon unified memory for deep contextual scene understanding. Bypasses cloud APIs entirely. |
| 🎯 Tactical Visual Grounding | Automatically injects high-contrast red bounding boxes over anomalies. This guides the VLM toward the detected region, reducing irrelevant reasoning and improving contextual grounding. |
| 🛡️ Privacy-by-Design | Actively zeroes out image buffers post-inference via C-level memset. Designed with privacy-first principles to prevent sensitive pixel data from lingering in the system heap. |
| 🗄️ Temporal Forensics | Behavioral anomalies are serialized into a local SQLite database (fluxstate_security/core/forensics.py), creating a searchable text-based ledger of physical events. |
| 📹 Hardware Agnostic | Ingests existing IP cameras via standard RTSP URLs. No proprietary recording hardware required. |
| 🐳 Edge Containerization | Ships with a highly optimized Dockerfile for enterprise edge deployments (Kubernetes/Docker Swarm), permanently locking native OS dependencies. |
🖼️ Architectural Vision & Use Cases
🛠️ Minimal SDK Integration
FluxState is designed to fade into the background. Drop it into your existing backend and attach a webhook.
import time
from fluxstate_security import FluxStateNode
# 1. Initialize the SDK
sdk = FluxStateNode()
# 2. Define your integration hook
def handle_threat(event_payload):
print(f"\n[INTEGRATION BUS] Escalating to VMS...")
print(f"Target Identity: {event_payload['entities']}")
print(f"Behavioral Vector: {event_payload['context_log']}")
# 3. Bind the hook
sdk.on_threat_detected = handle_threat
# 4. Deploy Headlessly (Runs as a background daemon)
sdk.start_headless_daemon()
try:
while True: time.sleep(1)
except KeyboardInterrupt:
sdk.stop() # 5. Clean shutdown
📦 Deployment Strategies
Option A: Enterprise Docker Deployment (Recommended)
For production environments, use the provided Docker container to guarantee system dependencies (Tesseract, PortAudio) are perfectly locked across the cluster.
docker build -t fluxstate-security .
docker run -d --name fluxstate-security fluxstate-security
Option B: Local Python Development
pip install fluxstate-security
# macOS dependencies
brew install tesseract portaudio
# Linux dependencies
sudo apt-get install tesseract-ocr libportaudio2 libportaudiocpp0 portaudio19-dev
🧪 Forensics & Testing
FluxState ships with an automated pytest suite covering the Forensic SQLite ledger and JSON intelligence policies.
pytest tests/
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_security-1.0.1.tar.gz.
File metadata
- Download URL: fluxstate_security-1.0.1.tar.gz
- Upload date:
- Size: 23.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 |
1535c09446922d045bb7fbee2027a3bb4628f19b54aacc5099eed9cad05908ee
|
|
| MD5 |
7504fc3041f21a4b904abe9ece243b11
|
|
| BLAKE2b-256 |
625294858510fe0aa3925e9a4a2d429ecdab4efc9346018f31c58cdff7da32df
|
Provenance
The following attestation bundles were made for fluxstate_security-1.0.1.tar.gz:
Publisher:
publish.yml on contact-us-gdinexus/fluxstate
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fluxstate_security-1.0.1.tar.gz -
Subject digest:
1535c09446922d045bb7fbee2027a3bb4628f19b54aacc5099eed9cad05908ee - Sigstore transparency entry: 2073338986
- Sigstore integration time:
-
Permalink:
contact-us-gdinexus/fluxstate@9eb4f5c57433be4dda6c91a542a34860ec8d2649 -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/contact-us-gdinexus
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@9eb4f5c57433be4dda6c91a542a34860ec8d2649 -
Trigger Event:
release
-
Statement type:
File details
Details for the file fluxstate_security-1.0.1-py3-none-any.whl.
File metadata
- Download URL: fluxstate_security-1.0.1-py3-none-any.whl
- Upload date:
- Size: 23.2 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 |
798e4fe2b1ac730272c237ac60011a19436ff6ef48df797a287fef7e310abaeb
|
|
| MD5 |
b0d5bb417ee8e5072a7a10bf791e53ba
|
|
| BLAKE2b-256 |
643331cd204728705ed278a21882fb22dfb3707853f9c2c75c5cb202a2028bb8
|
Provenance
The following attestation bundles were made for fluxstate_security-1.0.1-py3-none-any.whl:
Publisher:
publish.yml on contact-us-gdinexus/fluxstate
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fluxstate_security-1.0.1-py3-none-any.whl -
Subject digest:
798e4fe2b1ac730272c237ac60011a19436ff6ef48df797a287fef7e310abaeb - Sigstore transparency entry: 2073339123
- Sigstore integration time:
-
Permalink:
contact-us-gdinexus/fluxstate@9eb4f5c57433be4dda6c91a542a34860ec8d2649 -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/contact-us-gdinexus
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@9eb4f5c57433be4dda6c91a542a34860ec8d2649 -
Trigger Event:
release
-
Statement type: