BrailleDive D-FINE-N AquaScan
A compact, one-class detector for person-like human-surrogate contacts in supported side-scan screenshots. It supplies reviewable image boxes to BrailleDive / RescueBase Marine. It does not establish human identity, life signs, navigation safety or suitability for operational search decisions.

Results and scope
These are archived evaluation results for the corresponding native checkpoint, using the training session's frozen image split. They are not a new independent field evaluation of this ONNX export.
| Measure | Trained detector | Deterministic image baseline |
|---|---|---|
| AP at IoU 0.50 | 0.5643 | 0.0067 |
| AP averaged over IoU 0.50–0.95 | 0.2437 | 0.0012 |
| Precision at selected score threshold 0.5 | 0.5556 | 0.0056 |
| Recall at selected score threshold 0.5 | 0.5556 | 0.0617 |
The split contains 722 training, 155 validation and 155 held-out images, after excluding one corrupt image. The held-out split is consumed. Independent recording identities are not established; prior application exposure is incompletely documented. Eight held-out grouping units produce a wide AP50 bootstrap interval, approximately 0.262–0.737. Do not equate those groups with eight independent field deployments.
Every image contains a target. False contacts per image were measured on target-containing images; empty-water false-alarm rate is unmeasured. AP50 is a box-detection metric, not “56% human accuracy.” Thresholds were selected using validation, not the displayed examples.
The full training archive recovers per-image split membership and source checksums. The linked dataset repository contains a sanitized split/manifest recipe. Earlier application packaging omitted this ledger; recovered membership does not erase prior exposure.
Visual inspection

Known examples illustrate both a matching box and a wrong-location proposal. Their role and split are shown in the figure. Model boxes and publisher reference boxes are distinct. Selected visual examples are not a benchmark or blind discovery.
Inputs and inference
Supported inputs are reviewed AquaScan screenshot families with declared dimensions and instrument-overlay masks. Dimensions alone do not qualify a new source. This release runner requires an explicit source family and matching mask profile; unsupported combinations are refused. Raw Lowrance/Garmin recordings and forward-looking sonar are not supported by this detector.
pip install -r requirements.txt
python infer.py examples/example-0.png --source-family screenshot --profile lowrance_fullscreen_1920x1080 --output prediction.json
The supplied CPU runner verifies the ONNX SHA-256, applies the profile masks and image-only conditional map mask, letterboxes to 640 with bottom/right padding, normalizes RGB to [0,1], and maps output boxes to original image coordinates. Scores are uncalibrated. Postprocessing uses the validation-selected threshold, NMS and detection cap in postprocessing.json.
This ONNX graph is a portable export; requalify runtime compatibility and task behavior on the destination. A new CPU execution check verifies loading and coordinate behavior, not a fresh AP claim. The two included application examples are training images; they are useful integration examples, not held-out evidence.
Model and provenance
- Architecture: D-FINE-N with HGNetv2-B0 and COCO initialization.
- ONNX SHA-256:
c900a28907261d86aa6c821c81930086c64028c038cc144a82825f9c6f9a92b7. - Corresponding native state-dict SHA-256:
b729382400aaf8548e49050fa4f6a15b46bca8a4d1e1b9b1bd23913f6a6a2fa6. - Original split-freeze SHA-256:
7d0ae06392b49fe0caf19ee0a2d935abd4b28aeacfd5dd0946fc6b7f0daa0320. - Data: AquaScan-1K publisher record, controlled human-surrogate side-scan imagery; publisher record states MIT.
- Framework: D-FINE, Apache 2.0; upstream licence is retained separately.
No standalone public reuse licence has been selected for this owner-trained derivative. This private research upload does not grant one by implication. Dataset and upstream framework terms remain separate.
Application boundary
BrailleDive combines measured images, model candidates, human review, source-linked recall and handover. A separate 4D experiment uses synthetic observations. This image detector does not produce measured 3D geometry, and a native 3D diver recording is a different source. The benchmark explorer visualizes saved research evidence; it does not run a live rescue service or cloud inference.
Native checkpoint for further research
model.safetensors also contains the native D-FINE state dictionary, safely converted from the corresponding inference checkpoint with weights_only=True on CPU. Every tensor value matches exactly; shared storage aliases are materialized as equal independent tensors. See NATIVE_EXPORT_CHECK.json. This is separate from the ONNX inference export. Loading or continuing training requires the matching upstream D-FINE architecture/configuration at the commit recorded in preprocessing.json; this is not a Transformers AutoModel checkpoint. The resume optimizer, unsafe pickle adapter and private training logs are excluded.