IDEA-Research / Grounded-Segment-Anything

Grounded SAM: Marrying Grounding DINO with Segment Anything & Stable Diffusion & Recognize Anything - Automatically Detect , Segment and Generate Anything
https://arxiv.org/abs/2401.14159
Apache License 2.0
14.11k stars 1.31k forks source link

Code Update: FastSAM produces mutiple images if mutiple detections are made. #468

Open rajgandhi1 opened 3 months ago

rajgandhi1 commented 3 months ago

Modify the code to generate single image that contains all the annotations and masks generated from GDINO-FastSAM pipeline. I have the code that does this. If it is somethings that everyone requries, I can raise a PR and commit the code.