-
Hello. Is there a way to use SAM for detecting and segmenting multiple things without detecting the same thing again? I'm using SAM text prompts, but it detects duplicates. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Are the two segmentation maps generated from different text prompts? |
Beta Was this translation helpful? Give feedback.
-
The text prompt functionality relies on GroundingDINO to detect the objects and generate bounding boxes. The duplicates are likely resulted from GroundingDINO. I don't have a good solution for this issue. YOu probably have to do some post-processing to remove the duplicates. Some simple GIS overlay analysis can identify the duplicates. |
Beta Was this translation helpful? Give feedback.
The text prompt functionality relies on GroundingDINO to detect the objects and generate bounding boxes. The duplicates are likely resulted from GroundingDINO. I don't have a good solution for this issue. YOu probably have to do some post-processing to remove the duplicates. Some simple GIS overlay analysis can identify the duplicates.