An open-source project dedicated to tracking and segmenting any objects in videos, either automatically or interactively. The primary algorithms utilized include the Segment Anything Model (SAM) for key-frame segmentation and Associating Objects with Transformers (AOT) for efficient tracking and propagation purposes.
First of all, thank you very much for making this code publicly available!
While I was using your code, I noticed that in the
find_new_objs
function inSegTracker.py
(https://github.com/z-x-yang/Segment-and-Track-Anything/blob/main/SegTracker.py#L123) could have an issue regarding modification ofnew_obj_mask
during iteration. In addition, as pointed out in https://github.com/z-x-yang/Segment-and-Track-Anything/issues/105, shouldn'tobj_num
beself.curr_idx + 1
rather thanself.curr_idx
? Please correct me if I'm mistaken.Many thanks, Gyungin