sam3 icon indicating copy to clipboard operation
sam3 copied to clipboard

Image as Exemplar: Tracks any object in an input image or video that has features similar to those of an Exemplar image.

Open Bin-ze opened this issue 3 months ago • 5 comments

I want to use a reference image as a prompt, similar to a text prompt, to track objects that provide the same semantic meaning as the reference image. Is this possible?

Bin-ze avatar Nov 21 '25 10:11 Bin-ze

Hi,

I am encountering the same issue.

A section from the official blog on SAM 3 states: "SAM 3 supports a variety of prompt modalities, including both concept prompts such as simple noun phrases and image exemplars, as well as visual prompts, such as masks, boxes, and points [...]. This increases the flexibility and usability of segmentation, particularly for concepts that are rare or hard to describe with text alone." To me, this implies that we should be able to use a reference image (or "image exemplar") as a prompt, but I cannot find this functionality in the code. Am I missing something?

JohannesGrand avatar Nov 24 '25 10:11 JohannesGrand

I have also ran into this issue. I can't get an exemplar bounding box to work with video propagation. Text only prompts work fine of course.

stevosaurus avatar Nov 26 '25 16:11 stevosaurus

I agree. It appears that the current visual prompt implementation follows the SAM 2 logic (spatial/interactive refinement) rather than the semantic 'concept' logic described in the blog.

Has anyone successfully used a bounding box or image crop as a semantic exemplar to track a concept, rather than just as a spatial locator?

sunwell1994 avatar Nov 27 '25 17:11 sunwell1994

Has anyone figured out if SAM3 lets you do “few-shot” prompting by giving it reference images? I've just had success with text prompts

svengoluza avatar Dec 01 '25 11:12 svengoluza

i want knwo

hanwn125-sketch avatar Dec 03 '25 08:12 hanwn125-sketch