Filters detections in a geosam object based on area and/or confidence score.
Examples
if (FALSE) { # \dontrun{
result <- sam_detect(image = "satellite.tif", text = "building")
filtered <- result |> sam_filter(min_area = 100, min_score = 0.7)
} # }
Filters detections in a geosam object based on area and/or confidence score.
if (FALSE) { # \dontrun{
result <- sam_detect(image = "satellite.tif", text = "building")
filtered <- result |> sam_filter(min_area = 100, min_score = 0.7)
} # }