Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Sam model "rectangle" is missing a step to apply the mask (CLI) #669

Open
html5maker opened this issue Sep 9, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@html5maker
Copy link

rembg i -m sam -x '{ "sam_prompt": [{"type": "rectangle", "data": [0,0,1000,1000], "label": 1}] }' a.jpg b.png

a

Output - mask and not the actual product without bg:
b

@html5maker html5maker added the bug Something isn't working label Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant