-
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.
Answered by
giswqs
Jan 18, 2024
Replies: 2 comments 2 replies
-
Are the two segmentation maps generated from different text prompts? |
Beta Was this translation helpful? Give feedback.
2 replies
-
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.
0 replies
Answer selected by
giswqs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.