Pano overlay display contract — design record (Stream 4, design-only)
Local-only design. No model weights, no training code, no NC data. This contract lets the
imaging_viewerpage render detection overlays the day licensed-data models exist. Overlays are visualization aids, never diagnoses.
Artifact contract (what a future model backend must produce)
- Input: study id (DICOM bytes stay in
mediastorage, resolved clinic-scoped). - Output:
overlay_set= list of{label, tooth_fdi?, polygon|bbox, score}+ rendered PNG preview(s) ingested asmediadocuments (kindxray, paired to the source study document). - Transport: same
Runnerprotocol as B1b (imaging_aibranch) withbackend="pano_overlay"; job row carriesmodel_id + model_versionfor audit (which weights produced this overlay, forever traceable).
Display rules
- Overlays render as toggleable layers over the study frame; scores shown, never hidden thresholds.
- Every overlay view carries the model id/version + "visualization aid — never a diagnosis" caption (both locales).
- Dentist role required to request; read roles may view completed overlays.
Blocked on
Licensed pano training data + a permissively-licensed reference model. Until then: contract only, zero code.