Imagery workbench · Portfolio project

Reviewing AI detections on satellite imagery, quickly and on the record.

A workbench designed for imagery analysts who check what a detection model found, decide, and keep a trace of every decision — on networks isolated from the internet, on the hardware already in place.

Real Copernicus Sentinel-2 imagery, three areas, three dates each.

01 · The problem

A model proposes. A person decides, and the decision has to hold.

Detection models flag far more candidate changes in satellite imagery than a team can check by eye: flooded parcels, damaged structures, debris, vessels. Each detection is a proposal until an analyst rules on it.

01

Keep pace with the model

A model runs over every new satellite pass. The review has to move at its pace: the image, the candidate and the decision one key apart.

02

Decide on the evidence

The same ground before and after, under one camera, with the same colour stretch on every date, so a change reads at a glance and compares like with like.

03

Leave a record

For every detection: who validated what, when, and on which image. Teams act on these decisions, so each one has to hold up later.

02 · The environment

Where it has to run.

The teams this workbench is designed for work under four constraints. Every technical choice answers one of them.

01

Isolated networks

Workstations run on networks cut off from the internet. The app carries everything it needs — code, fonts, icons, imagery — and talks to its own server only.

02

Sovereignty and security

Imagery and decisions stay on infrastructure the organisation runs. Every dependency is code to audit, so each one is a recorded decision with its reason.

03

Limited hardware

Analysts work for hours on laptops and workstations, often with integrated graphics. First load, memory and frame rate have budgets, checked before each release.

04

Interoperability

Imagery, annotations and decisions move to and from the tools already in place: standard tiles, standard metadata, standard geometry.

03 · The workbench

Built and running.

Screens of the running app, on real Sentinel-2 scenes of Valencia, Rotterdam and Toulouse.

Compare on Valencia, 26 and 31 October 2024, zoomed on the plain south of the city: right of the divider, the new open water after the floods of 29 October mapped in blue and the much wetter ground in amber
Before and after under one camera: 49.4 km² of new open water, mapped from the bands
A pixel clicked on the flooded plain: its four bands as surface reflectance, its NDVI and NDWI, the surface it reads as, and the same pixel on 26 October, 31 October and 10 November
One pixel's spectrum on every date, matched to reference surfaces
The printable one-page report of an area drawn over the flood: its surface shares, its water date by date, NDWI and NDVI histograms, its mean spectrum against reference surfaces and the detections inside
An area's one-page report: shares, water by date, spectrum
The new water inside the drawn area traced into polygons in the browser, each filed as a Standing water annotation in the list on the left
New water traced into polygons and filed as annotations
The workbench over Valencia on 31 October 2024 with 130 detections drawn by class, gathered on the flooded ground south of the city, the dates and the new water over time in the panel
Detections over the scene, by class
The review screen on the port of Rotterdam: the queue of vessel detections by confidence on the left, a ship framed on the water, the accept, reject and correct card below it with the water read in its box on each date
Review in the port: a vessel to accept, reject or correct
04 · Trade-offs

Weighed, chosen, and why.

Each key decision, with the alternatives, the choice and the constraint it answers. Each has a written record in the repository, with the measurements behind it.

  1. 01

    Drawing the imagery

    Weighed
    OpenLayers · MapLibre GL · a dedicated WebGL2 viewer
    Chosen
    A dedicated WebGL2 viewer for the imagery, with OpenLayers as the path once general GIS editing is needed.
    Because
    Limited hardware and security: raw four-band tiles drawn on the graphics card, two dates in one camera, in 4.9 kB gzipped against 89 kB for OpenLayers and 295 kB for MapLibre, measured for the same job. Snapping, a second projection or a second maintainer hand the map to OpenLayers.
  2. 02

    Tiles and metadata

    Weighed
    A tree of tile files · MBTiles · Cloud-Optimised GeoTIFF · PMTiles with STAC
    Chosen
    One PMTiles archive per acquisition, read by HTTP range requests, described by a STAC catalog with a link back to the source scene.
    Because
    Isolated networks and interoperability: one static file to copy and serve from any web server, and the metadata standard the imagery source already speaks. All 18 archives pass the reference pmtiles verify; the catalog passes stac-validator, 13 of 13.
  3. 03

    Which grid

    Weighed
    Everything reprojected to Web Mercator · the satellite's own grid
    Chosen
    The satellite's own 10 m UTM grid for analysis, plus a true-colour Web Mercator copy for GIS tools.
    Because
    Reliable decisions: pixels stay as the satellite measured them, so an annotation stored in image pixels means the same ground on every date of an area.
  4. 04

    Colour and band maths

    Weighed
    Pre-rendered 8-bit images per date · raw bands and the graphics card
    Chosen
    True colour, false colour and vegetation index computed on the graphics card from the same raw bands, with one stretch for every date.
    Because
    Reliable decisions: a before/after compares like with like. The heavier tiles are offset by byte-plane encoding (55 % of raw size) and a 128 MB cap on graphics memory.
  5. 05

    Storing decisions

    Weighed
    Prisma · an embedded store · PostgreSQL with plain SQL
    Chosen
    NestJS on PostgreSQL through plain SQL and numbered migrations: each annotation a row with an owner and a time.
    Because
    Traceability and security: a database the organisation runs, and a small stack to audit and install offline — Prisma's client alone is about 74 MB.
  6. 06

    Proving the offline guarantee

    Weighed
    A one-off audit · a content-security policy alone · a gate on every release
    Chosen
    Before anything ships, the whole stack runs locally and the tests fail on any request outside the site, any policy violation, any outbound connection from the servers.
    Because
    Isolated networks: a single library calling home would break the guarantee. Planted violations make the gate fail, so the check is proven to catch them.
05 · How it is built

From the satellite to the analyst's screen.

Four parts, each running where it belongs: the pipeline upstream, the rest on the organisation's own server.

01

Pipeline

Searches Earth Search's STAC API, reads only the area's window from the Sentinel-2 COGs, and writes each acquisition as PMTiles described by STAC. Runs upstream, once; its monthly download is capped.

02

Transfer

The files are copied to the server and every checksum is verified there before the catalogue is updated.

03

Server

nginx serves the archives straight from disk and fronts the web app (Next.js) and the API (NestJS, PostgreSQL: the scene catalogue, the annotations).

04

Operations

Every release passes the gate; deploys switch atomically and roll back on failure — rehearsed on purpose. A nightly backup goes offsite.

06 · Measured

Numbers from the live site.

Every figure is measured on the project itself, most of them on every release by the gate that ships it.

First tile
0.8 sOn screen, live demo, cold cache: the scene is rendered with the page.
Frame time
16.7 ms p95Dragging the divider and panning two dates: one 60 Hz frame, on every release.
Script memory
7.8 MB peakAfter two minutes of panning. Tile data lives in graphics memory, capped at 128 MB.
Workbench JavaScript
276 kB gzippedWhat a first visit to the workbench downloads, measured on every deploy against a 280 kB budget, which warns.
Class colours
≥ 5 ΔE00The six detection classes stay apart under protanopia, deuteranopia and tritanopia; a test fails below 5.
Accessibility
0 axe violationsSerious or critical, WCAG 2.1 A and AA: every route and mode, in the dark, light and Night themes.
Outside requests
0 Any request beyond the site fails the release, on every page and flow.
Offline bundle
1.3 GB tarA plain tarball with its own Node, run as systemd services: files an auditor reads one by one. Installable; deliberately not rehearsed on a VM.
Release gate
≈ 70 sLint, unit and database tests, build, size and memory budgets, offline checks, end-to-end tests.

tessera.1991computer.com · Chrome · Apple M1 · measured 1–5 November 2026

07 · Status

What is built, and what is chosen.

Built in the open, ticket by ticket, each decision written down as it is taken.

Built · the imagery

  • Deep zoomReal Sentinel-2 scenes, three areas, three dates each, from the whole scene to the 10 m pixel.
  • Before and afterOne camera, swipe, side by side or blink, in any band; a link restores the view.
  • Water changeΔNDWI computed live on the GPU against any date of the area, permanent water and cloud set aside; the new water traced into polygons in the browser.
  • A timeline of the datesEach date spaced by its real gap, with its cloud cover and satellite; a WebM timelapse recorded in the browser.
  • Reading the bandsA pixel's spectrum on every date; an area's surface shares, histograms, mean spectrum and water in hectares by date, as a printable report or CSV.
  • Map-reader toolsAn MGRS grid labelled as a map sheet, DD, DMS and DDM positions, bearings in degrees and mils, range rings, a transect profile.
  • Bands and contrastTCI, NIR, NDVI, NDWI and ΔNDWI one key apart, auto contrast at 2–98 %, a cloud mask, a colour scale.

Built · the review

  • Keyboard reviewA accept, R reject, C correct the box and class in place, U undo, J and K; the queue by confidence or as a spatial sweep.
  • EvidenceEach detection read from the bands on every date and checked in any band; the same object on the area's other dates.
  • Triage and scoreThe detections at 90 % or more accepted in one step; a density heat map; a finished review scored against the planted errors.
  • ExportsGeoJSON in and out (QGIS round-trips), KML, WKT, COCO, CSV and a marked PNG of the view.
  • Night and ⌘KA command palette with saved views; a Night theme, red on black, the imagery through a red filter, for a darkened room.
  • Keyboard firstA skip link, F6 between regions, ? for every binding; English and French; a phone layout.
  • Offline bundleA plain tarball with its own Node, run as systemd services; installable, deliberately not rehearsed on a VM.

By design

  • Synthetic detectionsDerived from each image, with errors planted at known rates, so the review has real work to do — and says so on screen.
  • Anonymous sandboxesEach visitor works in a sandbox of their own from the first click, kept for two weeks of quiet.
  • One way inThe Sentinel-2 imagery is the only data from outside, fetched once upstream; the browser and the API talk to their own origin.

See it run,
on the Valencia floods.

The same ground before and after 29 October 2024, under one camera: drag the divider, zoom down to the 10 m pixel.