All projects

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.

Illustrative stock imagery · See the demo screenshot for actual project output

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.

  1. 01Video / GStreamer
  2. 02Pose + CLIP / face latents
  3. 03Native framed TCP
  4. 04FastAPI ingest
  5. 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
Read the engineering note: Separate monitoring from evidence
NEXT BUILDCustom RTP/UDP Video Streaming Server & Packet Analyzer

YOUR GUIDE TO MY WORK

Ask Atharva’s AI

A conversation is a good place to start.

Explore my work, experience, and engineering decisions. Answers use my portfolio information.

AI can make mistakes. Check linked sources. Free portfolio fallback available.