Framekernel

Local video analysis and object tracking in Rust.

Build the CLI · Connect an MCP client

Work with a video dataset

Import a directory of recordings, query codecs and durations, and extract frames or clips by timestamp. Framekernel stores video content by hash and keeps the dataset index in SQLite.

Track objects across samples

The optional CPU detector finds objects in sampled frames. Batch analysis associates overlapping boxes of the same class across consecutive samples and records track IDs for each video. Query the results through the CLI or the Model Context Protocol (MCP) server.

Label and segment recordings

Choose a point on an object to track its mask across samples. Save labeled intervals, train a frame classifier on examples, compare validation scores, and export a timeline as clips. Export a tagged dataset with its media and an offline review page.

Try the batch example

From a cloned checkout with Rust, FFmpeg, Python and uv installed, run the example to build two short videos, analyze four samples, and check the resulting tracks.

examples/test-batch.sh
Read the example