How ngaboelyse/sentinel-geowatch-ai works
GeoWatch AI is a satellite-based land-use and environmental monitoring platform. Its principal workflow is to define an area of interest (AOI), acquire Sentinel-2 imagery, classify land use, and detect changes over time; users can also manage accounts and poll long-running jobs. The backend exposes these capabilities through FastAPI and uses Celery for asynchronous work. README-documented capabilities are included where source excerpts are unavailable; the Flutter application’s product screens and API wiring are not shown, so that connection is unverified.
Main entry points: main.py FastAPI app · tasks.py Task workflows · database.py Database · satellite.py Satellite service
Components 23
API and users
- FastAPI app
backend/app/main.py - Authentication
backend/app/api/endpoints/auth.py - User management
backend/app/api/endpoints/users.py - AOI management
backend/app/api/endpoints/aoi.py - Satellite API
backend/app/api/endpoints/satellite.py - Classification API
backend/app/api/endpoints/classification.py - Change detection API
backend/app/api/endpoints/changes.py - Task API
backend/app/api/endpoints/tasks.py - Flutter client
frontend/flutter_app
Imagery and analysis
- Satellite service
backend/app/services/satellite.py - Image downloaders
backend/app/satellite/downloader.py - Mock downloader
backend/app/satellite/mock_downloader.py - Image processor
backend/app/satellite/processor.py - Sentinel preprocessing
backend/app/ml/preprocessing/sentinel.py - Land-use classifier
backend/app/ml/models/classifier.py - Classification service
backend/app/services/classification.py
Async processing
- Task workflows
backend/app/services/tasks.py - Celery workers
backend/app/celery_app.py
Data platform
- Database
backend/app/core/database.py - Configuration
backend/app/core/config.py - Image object storage
backend/app/storage/s3_client.py
Other components
- User
- Sentinel-2 source
Connections 30
- User → FastAPI app: uses API
README.md - FastAPI app → Authentication: routes to
backend/app/main.py - FastAPI app → User management: routes to
backend/app/main.py - FastAPI app → AOI management: routes to
backend/app/main.py - FastAPI app → Satellite API: routes to
backend/app/main.py - FastAPI app → Classification API: routes to
backend/app/main.py - FastAPI app → Change detection API: routes to
backend/app/main.py - FastAPI app → Task API: routes to
backend/app/main.py - FastAPI app → Database: initializes
backend/app/main.py - Authentication → Database: gets session
backend/app/api/endpoints/auth.py - User management → Database: gets session
backend/app/api/endpoints/users.py - AOI management → Database: gets session
backend/app/api/endpoints/aoi.py - Satellite API → Database: gets session
backend/app/api/endpoints/satellite.py - Satellite API → Satellite service: uses service
backend/app/api/endpoints/satellite.py - Classification API → Task workflows: queues work
backend/app/api/endpoints/classification.py - Change detection API → Task workflows: queues work
backend/app/api/endpoints/changes.py - Task API → Task workflows: queues work
backend/app/api/endpoints/tasks.py - Task API → Celery workers: checks status
backend/app/api/endpoints/tasks.py - Task workflows → Database: opens sessions
backend/app/services/tasks.py - Task workflows → Satellite service: loads imagery
backend/app/services/tasks.py - Task workflows → Classification service: stores results
backend/app/services/tasks.py - Task workflows → Land-use classifier: runs model
backend/app/services/tasks.py - Task workflows → Sentinel preprocessing: preprocesses imagery
backend/app/services/tasks.py - Satellite service → Image downloaders: downloads imagery
backend/app/services/satellite.py - Satellite service → Mock downloader: uses mock
backend/app/services/satellite.py - Sentinel-2 source → Image downloaders: provides imagery
README.md - Flutter client → FastAPI app: calls API
- Image object storage → Satellite service: stores images
README.md - Database → Configuration: reads settings
backend/app/core/database.py - User → Task API: polls progress
backend/app/api/endpoints/tasks.py