Open Source
Explore the latest AI open-source projects from GitHub and HuggingFace.
Explore the latest AI open-source projects from GitHub and HuggingFace.
tamserve is a serving engine for live, multi-camera video object tracking built on Meta's EdgeTAM and SAM 2.1 models. The README explains that those models' own code was written for editing one recorded video at a time, so the usual way to use several cameras is one model copy per camera, with memory piling up for each copy. tamserve instead shares one copy of the model across every camera, in the way LLM servers such as vLLM batch chat requests, and the model itself is not modified. A program passes the latest frame from each camera to engine.step() and gets back a mask for every tracked object; tracking can start, stop or be corrected on any frame, and objects are specified by a box, clicks or a rough mask. A Tracker class pairs the engine with Meta's SAM 3 so that objects can be named with a word or phrase such as dog or the red mug, with a PeopleTracker variant for people and a Router that places cameras across several GPUs. The README's tables, measured with EdgeTAM on one RTX 4090 against EdgeTAM's own code at its fastest, report GPU memory of 2.2 GB against 8.6 GB at eight cameras, 219 against 177 frames per second on one camera, 323 against 280 frames per second at eight cameras, and DAVIS 2017 accuracy of 0.8685 against 0.8686. For tracking by name on SAM 3's benchmark videos it reports HOTA of 56.3 at 41 ms of GPU time per frame, against 59.4 at 101 ms for SAM 3's own tracker. The listed limits include forward-only tracking, no mask nudging without a restart, reliance on SAM 3 for finding things, a first compiled start of about 20 minutes, and every speed figure coming from one GPU. It installs with pip, needs Python 3.10 or newer and an NVIDIA GPU, and is Apache-2.0 licensed, while SAM 3 weights carry Meta's separate licence.