--- title: GeoGlyph SAM2 API emoji: 🛰️ colorFrom: pink colorTo: gray sdk: docker app_port: 7860 pinned: false --- # GeoGlyph SAM2 API FastAPI backend for GeoGlyph SAM2. This Space receives a small georeferenced GeoTIFF crop, runs SAM2 on it, polygonizes the masks using the crop transform and CRS, and returns a GeoPackage. ## Endpoints - `GET /health` - `POST /process` - `GET /status/{task_id}` - `GET /download/{task_id}` ## Important The API does not receive the full orthomosaic. The QGIS plugin crops the ROI locally and uploads only the small crop GeoTIFF.