DIGEST: deep video analysis platform

Configurable intelligence platform for surveillance video (2026-present)

A platform for deep analysis of surveillance video built with Python, PyTorch, FastAPI, and PostgreSQL/pgvector. Each video runs through a staged GPU pipeline: RT-DETR for person and vehicle detection, BoT-SORT for multi-object tracking, InsightFace (RetinaFace detection with 512-D ArcFace embeddings) for faces, MiVOLO for age and gender, CLIP / X-CLIP zero-shot models for scene and action recognition, and RT-DETR plus OCR for licence plates. Per-track ArcFace embeddings are clustered by cosine similarity, with optional OSNet body re-identification, into cross-video identities stored in pgvector. A configurable digest engine resolves Boolean queries over identity, action, environment, and attribute facets, merges the matching segments, and renders condensed MP4 summaries through FFmpeg, while a Qwen2.5-VL video-language model produces narrative descriptions and NetworkX builds co-presence graphs.