Case study 01

MOSAIC

Ask questions about any video and jump straight to the moment that answers it.

01Find a clip by describing itAsked for the part where the Swift network is explained, MOSAIC returns a 20-second clip with its exact timestamps.
02Search with an imageUpload a frame and ask for the moment it appears. The query is matched against CLIP embeddings of the video.
03Image to clip, then explainThe matching 10-second clip comes back, then the same chat summarises what the whole video is about.

Overview

MOSAIC is a multimodal video understanding system. It indexes what is said, what is shown and what is written on screen, so a long video becomes something you can search and talk to.

Upload one or more videos and ask in plain language. MOSAIC finds the relevant moments, cuts the clips with timestamps, and answers with grounded references back to the footage.

What it does

How it works

  1. 01Ingest: FFmpeg splits audio and samples frames from each upload.
  2. 02Understand: Whisper transcribes speech, CLIP embeds frames, a vision LLM captions key frames.
  3. 03Index: embeddings go into ChromaDB and FAISS for fast hybrid retrieval.
  4. 04Reason: a LangChain ReAct agent picks the right search tools for the question.
  5. 05Answer: the agent replies with timestamps and extracted clips as evidence.

Stack

More projects

Work with me