z-x-yang / Segment-and-Track-Anything

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.
GNU Affero General Public License v3.0
2.75k stars 332 forks source link

"detect_and_seg" why "reset_origin_merged_mask" #161

Open jiangSeu opened 2 months ago

jiangSeu commented 2 months ago

In the "detect_and_seg" function of SegTracker, why is "reset_origin_merged_mask" executed?

reset origin_mask self.reset_origin_merged_mask(bc_mask, bc_id)