Expand description
Postprocessing operations for ML results
This module provides tile merging, confidence thresholding, polygon conversion, and GeoJSON export capabilities.
Functionsยง
- apply_
threshold - Applies confidence thresholding to a probability map
- export_
detections_ geojson - Exports detections to GeoJSON format
- export_
segmentation_ geojson - Exports a segmentation mask to GeoJSON
- mask_
to_ polygons - Converts a binary mask to polygons using marching squares algorithm
- merge_
polygons - Merges overlapping polygons
- simplify_
polygons - Simplifies polygons using the Douglas-Peucker algorithm