RC RANDOM CHAOS

Multi-Camera Real-Time Object Tracking on a Single GPU

· via Hacker News

Original source

Show HN: Open-source, real-time object tracking for live video feeds

Hacker News →

tamserve is an open-source inference server that enables real-time object tracking across multiple video streams using Meta’s SAM 2 and EdgeTAM models. The problem it addresses: these models were designed to process single pre-recorded videos, and deploying them across multiple live camera feeds typically requires a separate model instance per camera—a memory-intensive approach that scales poorly as camera count increases.

The solution borrows the batching architecture vLLM uses for language models: a single shared model instance processes frames from all cameras in parallel. This approach cuts GPU memory consumption to roughly one-third of Meta’s reference implementation while maintaining identical tracking speed. A single RTX 4090 handles six simultaneous 720p video streams at 30 frames per second.

Tracking begins either by pointing at an object in the current frame (via manual selection or automated detection), which the model then follows across subsequent frames, or through textual queries—asking the system to identify and track objects matching descriptions like “the dog” or “red mug” across all feeds. The tool targets applications requiring precise object location across multiple simultaneous streams: sports production graphics, warehouse and retail monitoring, robotics, wildlife surveillance, and annotation workflows.

Read the full article

Continue reading at Hacker News →

This is an AI-generated summary. Read the original for the full story.