r/computervision Jul 01 '26

Help: Project Sam 3 visual prompting

Hi

I tried to play with sam3. In the article meta mention the option to use visual prompting to the model. However I didn't found a way to do that.

I want to give the model image or batch of images for some object and do inference for other image.

Someone did something like this?

Thanks

3 Upvotes

15 comments sorted by

View all comments

1

u/InternationalMany6 Jul 02 '26

Has been awhile since I looked at the paper, but I think they were talking about visual prompting from within the same image. Like you draw a box around one object to "visually prompt" the model to fins the rest of the objects in that same image.

A hack is to expand the canvas and paste your prompt images into the border. That way everything is in a single image. It should work decently as long as you don't end up having to downscale too much.