facebookresearch / facebookresearch/segment-anything

Use multiple boxes and multiple points for SAM prompts

Open
#646 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
54.9k
Forks
6.4k
PR merge metrics
No merged PRs in 30d

Description

I want to use multiple Boxes and multiple Points to prompt SAM. How can I implement the code? Please help me.

![QQ截图20231214225755](https://github.com/facebookresearch/segment-anything/assets/128813348/b591b8ab-04b1-420b-b1f6-d50b2aec0c66)
This is what I came up with based on my feelings, but I encountered a problem

Contributor guide

Open the contributing guide

Research direction

Start with the example notebooks described in the repository overview and trace how SAM prompts are passed to inference. Reproduce the reported problem with multiple boxes and points, then confirm that a working example demonstrates both prompt types together.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook
Domain
computer-vision, machine-learning
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.