Open OliverHxh opened 2 months ago
I think you just need to modify add_new_points
such that points
and labels
are obtained from your bounding box coordinates. Check the SAM2ImagePredictor on how to preprocess the bounding box inputs.
@weixi-feng Thanks for your hints. Very useful!
@OliverHxh We've also noticed this issue when we implement Grounded SAM 2, we try the following method to get a stable segmentation result based on box prompts:
Thanks for your great work. I have read the example code, but I didn’t find how to adopt bounding boxes as prompts to track objects in videos. Is there anyway to do that?
Thank you so much!