Skip to contents

Detection

Core detection functions

sam_detect()
Detect Objects in Geospatial Imagery Using SAM3
sam_image()
Detect Objects in a Local Image
sam_explore()
Interactive Discovery and Detection
sam_explore_image()
Interactive Image Exploration and Detection
get_imagery()
Download Satellite Imagery

Viewing & Export

View results and extract data

sam_view()
Interactive Viewer for SAM Detections
sam_view_image()
View Detection Results on Image
plot(<geosam>)
Plot geosam Detection Results
plot(<geosam_image>)
Plot geosam_image Detection Results
sam_as_sf()
Extract sf Polygons from geosam or geosam_image Object
sam_as_raster()
Extract Raster Masks from geosam Object
sam_as_matrix()
Extract Masks as Matrices
sam_bbox()
Get Bounding Box of Detections
sam_scores()
Get Detection Scores
sam_count()
Get Number of Detections

Refinement

Filter and refine detections

sam_filter()
Filter Detections by Area or Score
sam_select()
Select Specific Detections by Index
sam_find_similar()
Find Similar Objects Using Selected Detection as Exemplar
sam_merge_edges()
Merge Polygons Split at Tile Boundaries

Batch Processing

Process multiple inputs

sam_batch()
Batch Process Multiple Areas

Configuration

Setup and configuration

geosam_install()
Install Python Dependencies for geosam
geosam_configure()
Configure geosam Options
geosam_status()
Check geosam Installation Status
sam_load()
Load SAM3 Model
sam_unload()
Unload SAM3 Model
sam_is_loaded()
Check if Model is Loaded
geosam_clear_cache()
Clear Imagery Cache

Class Helpers

Object validation and methods

is_geosam()
Check if Object is a geosam
is_geosam_image()
Check if Object is a geosam_image
print(<geosam>)
Print Method for geosam Objects
print(<geosam_image>)
Print Method for geosam_image Objects