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.55k stars 5.62k forks source link

How to segment the Gundam in image? Any suggestion? #761

Open garrisonz opened 4 months ago

garrisonz commented 4 months ago

Thanks for your great work!

SAM cannot segment out Gundam, please refer to the below example image and the all_mask image. I hope segment mask fill full the Gundam region, howerer SAM leave a large black region on Gundam which means no mask. Any suggestion? Thanks!

input image 08

all_mask. (Black region on Gundam means no mask) all_mask

r2race commented 4 months ago

try box segmentation method output_image

garrisonz commented 4 months ago

@r2race Thanks, Good suggestion! How about the automatic mask mode? Any suggestion if I want the automatic mask including Gundam region.