facebookresearch / segment-anything

The repository provides code for running inference with the SegmentAnything Model (SAM), links for downloading the trained model checkpoints, and example notebooks that show how to use the model.
Apache License 2.0
47.87k stars 5.66k forks source link

Prompt detection #706

Open tnotariano opened 8 months ago

tnotariano commented 8 months ago

When inpainting, it detects objects that were in the prompt, but sometimes it detects objects that weren’t. How do I limit the area of detection in an image?