ritviksahajpal / segment-anything-eo

Earth observation tools for Meta AI Segment Anything

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Alt text

Segment Anything EO tools

Earth observation tools for Meta AI Segment Anything

This tools is developed to easy process spatial data (GeoTIFF and TMS) with Meta AI Segment Anything models using sliding window algorithm for a big files

You can:

  • download TMS data (including OpenAerialMap and Mapbox Maxar) as GeoTIFF files
  • process GeoTIFF files with Meta AI Segment Anything models
  • save predicted results as GeoTIFF raster data and GPKG vector data

and little a bit more

Usage:

Technical details:

  • To process large images implemented a sliding window algorithm
  • To separate instances, every instance surrounded by 1px width spare space, so it is not the same how original Segment Anything works

Segment Anything was released less, than a week ago and there are first experiments with it. I not know how paramters affect perfomance - feel free to change everything.

Licensing

Facebookresearch Segment Anything https://github.com/facebookresearch/segment-anything Apache-2.0 license

Gumblex tms2geotiff https://github.com/gumblex/tms2geotiff BSD-2-Clause license

Other code MIT license

Segment Anything and tms2geotiff copied to this repo 9 Apr 2022, you could update them to more recent versions if needed

About

Earth observation tools for Meta AI Segment Anything


Languages

Language:Jupyter Notebook 72.9%Language:Python 22.7%Language:Shell 3.5%Language:Perl 0.9%