May I ask which part of the code implements the Quality Good part of step 3 in the literature and uses SAM to optimize the mask?

Author: EliftwosixCreated Jul 16, 2025Updated Jul 18, 2025

I am interested in evaluating the quality of the generated mask and refining it using SAM, but I have not found any specific code implementation. I hope someone can tell me where this part of the code is located,please.

Source: gaomingqi/Track-Anything