Video Intelligence#
Overview#

Video Intelligence makes large archives of recorded video searchable in plain language and summarizes them, entirely on your own infrastructure. A vision-language model describes frames sampled from short video segments, a large language model writes each segment’s caption from those descriptions, embeddings power hybrid retrieval over a vector database, and the language model produces recursive summaries and answers questions that cite the exact moment in the video. An object detection and tracking pipeline adds bounding boxes and persistent IDs on a tracking-overlay copy of the video, and reports moments where objects come into contact, each one confirmed against the frames before it reaches an answer. Everything runs on AMD Instinct GPUs (ROCm) using open-weight models, so your video data never leaves your environment.
Video Intelligence was previously published as Video Search and Summarization (chart aimsb-video-search-and-summarization).
The workflow is:
Upload a recorded video. It is split into fixed-length segments. The vision-language model describes each sampled frame on its own, the LLM writes the segment’s caption and structured tags from those descriptions, and a keyframe is saved per segment.
Caption text and keyframe images are embedded and stored in a vector database.
The LLM recursively summarizes segments into scenes and a video-level summary.
Questions are answered by hybrid retrieval (caption text plus keyframe image similarity), and each answer cites the
(segment, timestamp)it relied on. Q&A can span the whole archive.Optionally, run object detection and multi-object tracking on a video to draw boxes and IDs and make the tracked objects queryable.
AMD Solution Blueprints are packaged as helm charts for deployment on a Kubernetes cluster. For development or further exploration, the source code is public and available in the solution-blueprints GitHub repository.
Architecture#
The blueprint integrates an application backend with a single-page UI and several model services. The vision-language model describes the frames of each segment, the LLM writes captions from those descriptions and produces summaries and grounded answers, text and image embeddings power hybrid retrieval in a vector database, and an object tracker adds detection and tracking overlays. Frames are described one at a time, so an intact cup in one frame and a broken one in the next stay two observations instead of becoming a cup that breaks, which no frame shows. Events are found by measuring the tracks rather than by asking a model what happened, which makes them repeatable. The vision-language model only confirms each candidate against the frames, so objects that merely overlap on screen are not reported as contact.
Component |
Role |
|---|---|
Application + UI |
FastAPI backend and React UI for upload, search, Q&A, summaries, and tracking |
VLM (frame descriptions) |
Vision-language model that describes the frames sampled from each segment (default: Qwen3-VL-8B-Instruct) |
LLM (captions, summaries, answers) |
AIM language model that writes segment captions from frame descriptions, recursive summaries, and grounded answers (default: Qwen3-32B) |
Embeddings |
Caption-text (BGE-M3) and keyframe-image (CLIP) embeddings for hybrid retrieval, served together by one vLLM pod on a single GPU |
Vector database |
ChromaDB store for captions and keyframe embeddings |
Object detection + tracking |
Open-vocabulary OmDet-Turbo detector and ByteTrack tracker with on-video overlays |
Event detection |
Contact between tracks, measured geometrically and confirmed by the VLM before it reaches an answer |
Key Features#
Grounded, timestamp-cited answers, and “I don’t know” when no segment supports an answer
A configurable domain prompt that cascades to captioning, summarization, and Q&A
A prompt for each video, for what the frames cannot show: what the camera looks at, what is normal there, and what counts as a problem. The sample clips come with theirs filled in.
Archive-wide search across many videos
Object detection and tracking with an on-video overlay and queryable tracked objects, over an open vocabulary rather than a fixed class list, so objects specific to your footage can be named and found
Moments where tracked objects come into contact, found by measuring the tracks and confirmed against the frames, so an incident is answerable even when no caption mentions it
Configurable segment length and frames described per segment
Runs on-premises on AMD Instinct GPUs with open-weight models
Getting Started#
This is a quick start guide on how to deploy the blueprint. For advanced options, such as reusing an existing AIM or overriding storage classes, see Deploying Solution Blueprints with Helm or explore the advanced deployment guide.
Prerequisites#
System Requirements#
This blueprint can be deployed on AMD Instinct. The blueprint requires the following cluster resources by default:
Resource |
Default Configuration |
|---|---|
GPUs |
4 (vision-language model, LLM, embeddings, and tracker) |
CPUs |
23 CPU cores requested (46 limit) |
RAM |
138 GiB RAM requested (216 GiB limit) |
To deploy to the Kubernetes cluster, ensure the following prerequisites are met:
Deployment#
Solution Blueprints are packaged as OCI-compliant Helm charts in the Docker Hub registry and can be deployed to a Kubernetes cluster with a single command. Define the name (deployment name) and the namespace (Kubernetes namespace), then pipe the output of helm template to kubectl apply -f -:
name="my-deployment"
namespace="my-namespace"
helm template $name oci://registry-1.docker.io/amdenterpriseai/aimsb-video-intelligence \
| kubectl apply -f - -n $namespace
Note: You can create a namespace using kubectl create namespace $namespace
Verify Deployment#
To check the status of the deployment, run:
kubectl get pods -n $namespace
Wait until all pods report Running and Ready. The vision-language model and LLM can take several minutes to load on first start.
Connect to UI#
To connect to the UI, port-forward to any chosen port, e.g., 8090. The UI will then be available at http://localhost:8090 in your browser.
kubectl port-forward services/aimsb-video-intelligence-$name 8090:80 -n $namespace
Clean Up#
When you are finished, remove the deployed resources:
helm template $name oci://registry-1.docker.io/amdenterpriseai/aimsb-video-intelligence \
| kubectl delete -f - -n $namespace
Third-Party Components#
This Solution Blueprint utilizes multiple components. For third-party license information, refer to each component’s documentation. Key third-party components can be seen below:
Component |
License |
|---|---|
vLLM |
Apache 2.0 |
ChromaDB |
Apache 2.0 |
OmDet-Turbo |
Apache 2.0 |
Roboflow trackers (ByteTrack) |
Apache 2.0 |
Roboflow supervision |
MIT |
BGE-M3 |
MIT |
CLIP |
MIT |
React |
MIT |
react-markdown |
MIT |
remark-gfm |
MIT |
Terms of Use#
AMD Solution Blueprints are released under the MIT License, which governs the parts of the software and materials created by AMD. Third-party software and materials used within the Solution Blueprint are governed by their respective licenses.