Sentinel-2 single-record vessel detection#
What this demonstrates#
Respond to “please create a ship finding report for S2A-20260911-001” with detection followed by the standard local image-overlay report. The user does not need to say “visual”. Preserve detection provenance and limitations without caller-managed inference-band staging.
Example input#
{"collection":"sentinel-2-l2a","record_id":"S2A-20260911-001","idempotency_key":"harbor-s2-001"}
Workflow#
If the exact identity was not supplied, call catalog_list_collections, use a bounded
catalog_search, and confirm one selected hit with catalog_get_record. For this input, exact-read
the supplied collection and record directly. Then call sentinel_2_vessel_detection_start, poll
vessel_detection_get_status, and call
vessel_detection_get_result with {"run_id":"run-s2-001","limit":200} only after succeeded.
Repeat with each returned next_cursor until it is null. The service resolves nine bands and
handles their formats, resolutions, calibration metadata, and model preprocessing internally.
For this report request, follow media retrieval: discover the authorized API,
exhaust the product manifest for the run’s exact source, select the unique 10-metre B04, B03, and
B02 measurement assets, download them into a new run-scoped directory in the user’s workspace,
and verify their identities, byte sizes, and computed hashes. Preserve the HTTP manifest role
separately from the assets’ semantic measurement role. Run the bundled offline renderer locally
with every unchanged result page, then give the user a local link to report.html. Do not invoke
the hosted vessel_detection_render_report capability.
Example output#
{"schema_version":"vessel-detection-result/v1","run_id":"run-s2-001","sensor":"sentinel-2","source":{"collection":"sentinel-2-l2a","record_id":"S2A-20260911-001","product_type":"S2MSI2A","canonical_product_name":"S2A-20260911-001.SAFE","inventory_sha256":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","tree_sha256":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"},"detections":[{"id":"candidate-001","classification":"vessel_candidate","geometry":{"type":"Point","coordinates":[4.49,51.91]},"confidence":0.82,"score_type":"uncalibrated_model_score","calibrated":false}],"total":1,"next_cursor":null,"limitations":["Cloud and shoreline clutter may cause false positives."],"provenance":{"service_version":"1.0.0","tool_version":"1.0.0","preprocessing_profile":"s2-nine-band-l2a-v1","model":"s2-vessel-detector","model_revision":"2026-09","checkpoint_sha256":"cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc","worker_image":"registry.example/geonemo/s2-worker@sha256:dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd"},"completed_at":"2026-09-11T12:00:00Z"}
Human-readable result#
The run found one model-retained vessel candidate. Its score is not a calibrated probability, and the service limitation about cloud and shoreline clutter remains part of the result. The default local linked visual report presents the unchanged point over a true-color overview on the native B04 grid with an unobstructed hollow circle. Its deep-zoom page includes a complete searchable findings table and exact run/source/model metadata; selecting a row navigates to the source pixel. Candidate sheets remain secondary presentation artifacts. The report does not independently confirm the candidate.
Limitations#
Detection does not establish vessel identity, ownership, activity, intent, or operational significance. Failed, cancelled, or unusable inference is unknown—not zero vessels. Display stretch and chip generation are presentation transforms, not detector preprocessing or a visual model pass.
Reproduce#
Repeat the three service calls with the exact input and idempotency key. Do not choose, resample,
or normalize detector inputs locally; repeat the exact catalog read and compare the returned run
and source hashes. For a requested visual replay, download only the exact three display bands and compare the
vessel-detection-visual-report/v1 manifest’s result-page, band, and output hashes and the pinned
renderer revision. If the task already has this succeeded run, exact-read its status and reuse the
complete unchanged result bundle instead of starting new inference. A request to view the report
uses a host-owned localhost server and a checked browser URL. If media or rendering fails, retain
the succeeded detector bundle and mark the report incomplete rather than generating another format.