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.81k stars 5.65k forks source link

Define granularity of segmented areas #770

Open abrahamezzeddine opened 5 months ago

abrahamezzeddine commented 5 months ago

Hello,

I am wondering if it is possible to determine the granularity of the segmented objects?

It seems to detect objects that are of course well defined, but very small. These small objects are not of interest of me and I would like to blend those smaller segments into larger segments.

For example, instead of segmenting a chair into 8 segments, I want to segment it as one single object.

daeunni commented 2 months ago

@abrahamezzeddine Me too, did you address this issue?