All projects

PROJECT / Vision-Language AI

VStream — Vision-Language Inference Engine

A real-time video pipeline combining C++/OpenCV motion filtering with local vision-language models through Ollama. Asynchronous inference produces scene descriptions while video and telemetry stream over WebSockets to a Next.js dashboard.

View source
Illustrative stock imagery · Project screenshots coming later

01 / THE PROBLEM

What this build explores

A slow vision-language model can stall live video if capture, inference, and display share one blocking path.

02 / THE APPROACH

How the pieces connect

C++/OpenCV frame differencing selects motion regions. The full frame retains environmental context, with a bounding box marking activity. Background Ollama inference generates descriptions while FastAPI streams frames and telemetry to a Next.js dashboard over WebSockets.

  1. 01Camera / file
  2. 02OpenCV filter
  3. 03Async Ollama
  4. 04WebSocket
  5. 05Dashboard

03 / ENGINEERING JUDGMENT

The tradeoffs

Dropping redundant work keeps the display responsive, but limits how often scenes receive fresh descriptions. A smooth video feed does not imply that the model describes every frame.

A useful next question

Measure capture-to-display and capture-to-description latency separately, including behavior under sustained motion.

SOURCE & SCOPE

The current repository describes motion filtering, local Ollama models, inference cooldowns, and description deduplication. It differs from the earlier Qwen-VL/token-pruning résumé description.

Detailed contribution stories and additional benchmarks will be added in a later update.

Read the engineering note: A live video system has two clocks
NEXT BUILDFault-Tolerant Webhook Dispatch Engine

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.