SentrySearch finds moments in local videos from text or image queries. It chunks footage, embeds video with Gemini, Qwen cloud, or local models, stores vectors in ChromaDB, and can trim matching clips.
Overview
SentrySearch targets workflows where you describe what happened in recorded video and want the matching segment back as a file. It splits videos into overlapping chunks, embeds each chunk into a shared vector space, and indexes embeddings in a local ChromaDB database.
Text search embeds your query and ranks chunks by similarity, optionally trimming the top match into a new clip. Image search embeds a reference still for visual similarity search. A highlights mode surfaces statistically unusual clips when you do not have a specific query.
Backends include Google's Gemini Embedding API by default, Alibaba DashScope qwen-cloud, LiteLLM gateways, and local or MLX-accelerated Qwen3-VL models on Apple Silicon or NVIDIA hardware without an API key. Options cover chunk length, overlap, preprocessing, rate limits, reranking, deduplication, and dry-run cost previews.
You install via uv tool install on macOS, Linux, or Windows, initialize API keys when using cloud backends, then run index and search commands. ffmpeg handles chunking and trimming.
Key features
- Text and image semantic video search
- Gemini, DashScope, and local MLX backends
- ChromaDB local vector index
- Automatic clip trimming from matches
- Anomaly-based highlights mode
- Optional VLM reranking of candidates
- Tesla metadata overlay support
- Configurable chunking and preprocessing
Use cases
- Searching dashcam or security footage
- Finding scenes in long MP4 archives
- Offline private video retrieval
- Skimming anomalous moments in new footage