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

@best

Show HN: Open-source, real-time object tracking for live video feeds github.com · 12 points · 0 comments · HN thread

TL;DR tamserve is an open-source serving engine that runs Meta's SAM 2/EdgeTAM tracking models over many live camera feeds, with one shared model copy for all cameras. Optional Tracker and PeopleTracker add-ons, built on SAM 3, let users find and follow objects by name (for example "forklift" or "person") instead of pointing at them. The author reports speed and memory figures on one RTX 4090 against the models' own code and SAM 3's tracker. The thread had no comments at the time of capture.

  • Engine shares one copy of EdgeTAM or SAM 2.1 across all cameras and batches every tracked object into one pass, similar to continuous batching in LLM servers.
  • Reported on one RTX 4090: 8 cameras at 323 frames/s versus 280 for the model's own code; 8.6 GB GPU memory for 8 cameras drops to 2.2 GB.
  • Memory stays flat on long videos: 0.28 GB for an 800-frame video, and 3.5 GB across 3,000 frames where SAM 3's own tracker runs out of memory at frame 423.
  • Tracker follows named phrases using SAM 3 for detection every few frames and EdgeTAM in between; the author reports 56.3 HOTA against SAM 3's 59.4 at about 2.5x less GPU time per frame.
  • PeopleTracker reports 89.6 HOTA on people versus SAM 3's 87.8, but the engine itself does not find objects by itself and cannot track backwards or across cameras.
  • Requires Python 3.10+ and an NVIDIA GPU; SAM 3 weights are gated on Hugging Face and carry a non-Apache licence.

Discussion No comments had been posted when this digest was made, so there is no discussion to summarise yet. The submission has 12 points.

#computerVision #objectTracking #videoAnalytics #SAM #opensource #GPUInference