Skip to contents

Uses a single selected detection as an exemplar to find all similar objects in the image.

Usage

sam_find_similar(x)

Arguments

x

A geosam object with exactly one detection (use sam_select() first).

Value

A new geosam object with all detected similar objects.

Examples

if (FALSE) { # \dontrun{
result <- sam_detect(image = "satellite.tif", text = "swimming pool")
# View results, pick the best one, find all similar
similar <- result |>
  sam_select(3) |>
  sam_find_similar()
} # }