Subsets a geosam object to include only specific detections.
Examples
if (FALSE) { # \dontrun{
result <- sam_detect(image = "satellite.tif", text = "building")
# Keep only the top 3 scoring detections
top3 <- sam_select(result, order(sam_scores(result), decreasing = TRUE)[1:3])
} # }
