PROJECT / Computer Vision / Applied Cryptography
CryptaVision — Privacy-Focused Edge Video Intelligence
A dual-stream surveillance prototype that extracts YOLOv8 pose skeletons and CLIP scene embeddings at the edge, then delivers telemetry through a native C++ TCP sink to a FastAPI/Next.js dashboard. A separate TenSEAL CKKS path encrypts face latents; end-to-end forensic reconstruction remains under development.
01 / THE PROBLEM
What this build explores
A monitoring dashboard often needs scene activity rather than identifiable raw footage. CryptaVision explores separating everyday semantic monitoring from a protected facial-evidence workflow.
02 / THE APPROACH
How the pieces connect
A GStreamer tee feeds separate inference branches. Stream A extracts YOLOv8 pose keypoints and CLIP scene embeddings; Stream B extracts 128-dimensional FaceVAE latents for TenSEAL CKKS encryption. A custom C++ sink frames both payload types over TCP using a 9-byte CRYP header. The asynchronous receiver routes metadata to FastAPI SSE/WebSocket consumers and ciphertext to an in-memory latent store. The Next.js dashboard shows skeletons, subject counts, inference timings, and frame-driven feed health.
- 01Video / GStreamer
- 02Pose + CLIP / face latents
- 03Native framed TCP
- 04FastAPI ingest
- 05SSE dashboard / latent store
03 / ENGINEERING JUDGMENT
The tradeoffs
The semantic monitoring path has a documented working local demo. The forensic path still needs shared CKKS key provisioning, trained FaceVAE weights, and reliable face detection on Apple Silicon before end-to-end reconstruction can be validated. Stream A metadata is cleartext in the development transport and can reveal sensitive information. The implementation encrypts latents; it does not implement zero-knowledge proofs or demonstrate cloud-side homomorphic analytics.
A useful next question
Unify edge and forensic key contexts, supply compatible trained reconstruction weights, and validate the complete encrypted path before hardening authentication, transport, and persistence.
SOURCE & SCOPE
Reviewed against the current README, GStreamer/AI pipeline, C++ TCP sink, asynchronous receiver, and crypto engine. The repository documents a live semantic dashboard recording and a focused 20-test regression selection on macOS/Apple Silicon. This is a development prototype; those checks do not establish forensic reconstruction or production security.
Detailed contribution stories and additional benchmarks will be added in a later update.
VALIDATION / REPOSITORY EVIDENCE
What has been checked
- Repository-documented demo: local video → edge inference → native TCP → FastAPI SSE → visible skeletons, counts, embeddings, and advancing frames.
- The documented 20-test selection covers process cleanup, source resolution, segment-based looping, native packet delivery, and semantic-output compatibility; it is not a full-suite claim.
- Forensic reconstruction, hardened deployment, and cross-platform performance remain unvalidated in the documented workflow.
Validation is reported by the linked repository and scoped to its documented environment.
FOLLOW THE IMPLEMENTATION
Inference and dual-stream processingNative TCP packet sinkAsynchronous ingest and latent storeCKKS latent encryptionLocal validation and limitations