metadata
title: Alpha Earth Pixel Similarity Finder
emoji: π
colorFrom: green
colorTo: blue
sdk: docker
app_port: 8501
pinned: true
π Alpha Earth Pixel Similarity Finder
An interactive, production-level tool to find similar features in satellite imagery using Google's Alpha Earth embeddings, built with Streamlit and Google Earth Engine.
β¨ Features
- Interactive Analysis: Click on the map, manually enter coordinates, or use pre-built demos to select reference points.
- Visual Results Panel: After analysis, view an interactive panel of all detected locations, each with a satellite image preview and a "Zoom to" button.
- Fine-Grained Control: Manage your list of reference points, with options to remove individual points or clear all.
- Pre-built Demos: Get started instantly with demos for finding Brick Kilns, Solar Farms, and Salt Pans in India.
- Adjustable Parameters: Fine-tune the search with adjustable year, similarity threshold, and minimum detection area.
- Data Export: Download the coordinates of detected locations as both CSV and KML files.
π οΈ Configuration
This Space requires two secrets to be configured in the Settings tab:
GOOGLE_APPLICATION_CREDENTIALS_JSON: For Earth Engine.GOOGLE_MAPS_API_KEY: For generating preview images in the detection panel. This must have the "Maps Static API" enabled in your Google Cloud project.
π Project Structure
.
βββ Dockerfile
βββ README.md
βββ requirements.txt
βββ src
βββ app.py
βββ assets
β βββ style.css
βββ components
β βββ __init__.py
β βββ map.py
β βββ sidebar.py
βββ services
βββ __init__.py
βββ earthengine.py