开发者发布开源多摄像头实时跟踪工具tamserve
tamserve开发者表示,这款开源工具通过结合定期的SAM 3检测与EdgeTAM跟踪处理实时摄像头画面,并在多摄像头之间共享模型副本。开发者在Hacker News的Show HN帖子中称,指定对象跟踪速度为SAM 3的4倍、精度达到其92%,一块RTX 4090可同时运行16路人员跟踪摄像头,3,000帧视频的内存占用稳定在3.5 GB。其此前在r/MachineLearning上另称最高可提速3.8倍且保持相同精度,但所有速度、内存和精度数据均为开发者自报,尚无独立验证。
tamserve为降低实时多摄像头AI视频跟踪的计算与内存开销提供了一种具体的开源方案,可供仓储、安防、零售、机器人和监测系统评估使用。
SAM 2-style trackers (SAM 2.1, EdgeTAM) are more accurate and flexible than box trackers: point at anything once and get its exact outline on every frame. But on live cameras they're expensive, and Meta's code keeps every frame it sees, so it runs out of GPU memory within minutes.
tamserve shares one copy of the model across all your cameras and keeps memory flat, so it runs indefinitely, up to 3.8x faster than Meta's code out of the box, with the same accuracy.
Cost per camera per day on one RTX 4090 (from how many cameras each fits on one GPU):
- 30 fps: $1.07 vs $2.40 with Meta's code
- 10 fps: $0.36 vs $0.74
- 5 fps: $0.18 vs $0.44
Add or drop objects on any frame, cameras reconnect on their own, and it scales across GPUs. Free and open source.
Feedback welcome, and a star helps if you like it!