facebookresearch / facebookresearch/sam2

Facing promble when use box as prompt

Open
#605 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
19.9k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

Thanks for your excellent work!

I'm using sam2 to generate a mask based on my box. However, the results are not good for some masks, especially if they are occluded by other objects, such as the result below

![Image](https://github.com/user-attachments/assets/d8de5288-1574-41ca-8ff2-0cd44bdfd2e3)

Here is the original image.
![Image](https://github.com/user-attachments/assets/888ab879-ae25-4c71-a794-6864a4bf2939)

I want to get the 'bed' mask, but what I get is only a part of it.

Is there any way to improve the test result of the mask? Thank you for your help!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.