segment-geospatial
segment-geospatial copied to clipboard
Add support for input prompts such as points or boxes
For now, segment-geospatial segments the entire image. It would be great to add support for input prompts such as points or boxes. This will be useful for extracting specific features from satellite imagery, such as buildings, roads, waterbodies, etc.
+1 would love support for input bbox prompts since I already have a strong detector
If I understood right, you can load your points in the argument point_grids as a list(np.ndarray) of normalized pixel coordinates. I'm not sure to what extent it is useful or if it worked in my case, since there was very little difference with respect to using the default grid of points.