---
title: 'BONK-pose: 6D Pose Estimation for Nordelbe Boats'
url: https://www.emergentmind.com/topics/boats-on-nordelbe-kehrwieder-bonk-pose
type: topic
---

# BONK-pose: 6D Pose Estimation for Nordelbe Boats

Searching arXiv for the cited BONK-pose paper and closely related Nordelbe/marine-pose papers.
Boats on Nordelbe Kehrwieder (BONK-pose) is a publicly available 6D pose estimation dataset for marine vessels created by fusing monocular RGB imagery with Automatic Identification System (AIS) data from a static shore-based scene on the Nordelbe (Kehrwieder) stretch of the River Elbe in Hamburg. The dataset was introduced together with an automatic annotation pipeline that combines vessel detections from monocular RGB frames with synchronized Class A AIS broadcasts to generate 3D bounding boxes representing vessel pose, with the stated goal of avoiding manual annotation of vessel corners or heights. BONK-pose comprises 3,753 images with 3D bounding box annotations for 3,829 vessel instances, and is accompanied by a 2D ship-detection set of 1,000 images from the same scene [2508.14767].

## 1. Dataset definition and contents

BONK-pose is defined as a 6D-pose dataset in which each vessel is annotated with a full 3D bounding box specified by its 8 corners. In the dataset description, 6D pose is given as the $(x,y,z)$ position of the vessel centroid together with $(\mathrm{roll},\mathrm{pitch},\mathrm{yaw})$, where yaw is derived from AIS heading and roll/pitch are approximately zero. Camera intrinsics $K$ and extrinsics $[R|t]$ are provided for the static view [2508.14767].

The paired 2D detection set contains 1,000 images annotated with rectangular 2D boxes in five sub-classes: ship, ship\_leaving\_frame, ship\_moored, ship\_partial, and subvessel. Standard metrics named for the resource are Intersection-over-Union (IoU), mean Average Precision (mAP)@IoU$=0.5$ for 2D detection, and reprojection error for pose [2508.14767].

A concise summary of the two components is given below.

| Component | Size | Annotation content |
|---|---:|---|
| BONK-pose 6D set | 3,753 images; 3,829 vessel instances | 3D bounding boxes, centroid, dimensions, rotation, camera parameters |
| 2D detection set | 1,000 images | Rectangular 2D boxes in five vessel sub-classes |

This composition places BONK-pose at the intersection of object detection and pose estimation. A plausible implication is that it supports both direct 6D estimation and hybrid pipelines in which 2D detection acts as a proposal stage for geometric pose recovery.

## 2. Scene configuration, sensing, and calibration

The acquisition setup uses a static shore-based camera overlooking the Nordelbe (Kehrwieder) stretch of the River Elbe. The image stream consists of synchronized monocular RGB frames, and the auxiliary sensor stream consists of Class A AIS broadcasts. Images are stored as JPG at $1920\times1080$ from one static camera viewpoint [2508.14767].

Calibration is split into intrinsic and extrinsic stages. The intrinsic matrix $K$ is obtained via checkerboard calibration. A small set of manually picked world-image keypoints then fixes the extrinsic parameters $[R|t]$ by Perspective-n-Point (PnP). In the PnP formulation, the full pinhole model is used:
$$
\bar x \;=\;K\;\Pi\;\big[R\mid t\big]\;X,\qquad \Pi=\begin{bmatrix}1&0&0&0\\0&1&0&0\\0&0&1&0\end{bmatrix}.
$$
Given 3D keypoints $X_k$ in world coordinates (EPSG:4978) and their pixel positions $x_k$, extrinsics are estimated via EPnP and refined by nonlinear reprojection error [2508.14767].

The scene itself is technically significant because it is a real harbor-river environment rather than a controlled laboratory setup. Related maritime RGB pose-estimation work in the same Nordelbe Kehrwieder harbor reports mixed diffuse daylight, strong building-façade reflections, rippling Fresnel highlights, moving vessels, overhead cranes, and periodic shadows from the quay [2001.08622]. This suggests that BONK-pose inherits the photometric and geometric complexity typical of operational shore-based maritime vision.

## 3. Automatic AIS–RGB fusion pipeline

The annotation pipeline begins with vessel detection in image space. The detector used as backbone is YOLOX-X, described as a single-stage model with a Darknet-style neck and head, pretrained on the MS COCO “boat” class and requiring no maritime-specific fine-tuning. On the BONK detection split defined as ship $\cup$ ship\_leaving\_frame $\cup$ subvessel, YOLOX-X achieves $\mathrm{mAP}@0.5 = 0.805$, $\mathrm{mAP}@[0.5:0.95] = 0.626$, and $\mathrm{AR}@100 = 0.756$ [2508.14767].

The pipeline then associates detections with AIS messages. Each AIS message supplies a position $a_{3d}$ in EPSG:4978 and a heading used to form vessel coordinate axes $(x_v,y_v,z_v)$, with $x_v$ forward, $y_v$ port, and $z_v$ up. The AIS location and heading are projected into the image either by a homography $H\in\mathbb{R}^{3\times3}$ or by the calibrated $K[R|t]$ transformation [2508.14767].

A “water-level plane segment” is defined around the AIS position by four world-space corners $c_i^{3d}$:
$$
c_1 = a_{3d} + A\,x_v + C\,y_v,\;\cdots,\;c_4 = a_{3d} - B\,x_v + C\,y_v,
$$
where $A$, $B$, $C$, and $D$ are the bow, stern, port, and starboard distances from the AIS antenna. AIS age is compensated by dead reckoning,
$$
\mathbf{dr} = v_{\rm speed}\,\Delta t\;x_v,
$$
after which $a_{3d}\leftarrow a_{3d}+dr$ [2508.14767].

The projected plane segment is enclosed in a minimal rectangle $WP_{\mathrm{ais}}=[\min x,\min y,\max x,\max y]$. Matching between detector outputs $BB_{\mathrm{pred}}$ and AIS-based windows is then performed by bipartite minimum-cost graph matching. The edge cost $\Theta(\cdot,\cdot)$ uses normalized center displacement $\Delta c_x$, bottom-edge difference $\Delta bottom$, width difference $\Delta width$, and the detector score:
- $\Delta c_x = |cx_{\mathrm{box}} - cx_{\mathrm{ais}}|/W$,
- $\Delta bottom = |y2_{\mathrm{box}} - y2_{\mathrm{ais}}|/H$,
- $\Delta width = |w_{\mathrm{box}} - w_{\mathrm{ais}}|/W$,
- $\Theta \propto (2\Delta c_x+\Delta bottom+\Delta width)/score$,
with $\Delta width$ ignored if $BB_{\mathrm{pred}}$ touches the frame border [2508.14767].

After association, the method corrects the bottom plane segment by visual constraints. The 2D box edges are reverse-projected into three planes $\alpha,\beta,\gamma$ through the camera center $C$; signed distances of the world corners to these planes are used to derive a correction vector $\Delta v_{3d}$ so that the projected bottom face lies exactly against the left, right, and bottom box edges. Vessel height is then estimated from the top-edge box constraint by projecting the top edge into a world plane $\delta$, computing $d_\delta$, and setting $\Delta h_{3d}=d_\delta\cdot z_v$. The final 3D box corners are
$$
b_i^{3d} = \text{corrected } c_i^{3d} + \Delta h_{3d}\cdot z_v \quad \text{for } i=5\ldots8.
$$
Throughout this pipeline, no human labels of vessel corners or heights are needed [2508.14767].

## 4. Coordinate transforms and projection accuracy

A central methodological comparison in BONK-pose concerns the transformation from world coordinates to image coordinates. The homography-based approach assumes the water surface is approximately a plane $\pi$, selects $N$ 3D keypoints $\{X_k\}$ on or projected onto $\pi$ with image correspondences $\{x_k\}$, and solves for a $3\times3$ homography $H$ by minimizing
$$
\sum_k \big\|\,x_k - H\,\hat X_k\big\|^2,\quad \hat X_k=(u,v,1)^\top.
$$
The image mapping is then
$$
x_{\rm img}\;\propto\;H\;X_{\rm plane}.
$$
By contrast, the recommended PnP-based method uses the full pinhole model and estimated camera extrinsics rather than a planar approximation [2508.14767].

The mean projection-error comparison over all views is reported as follows.

| Transformation | MAE (px) | MAE / width [%] |
|---|---:|---:|
| PnP | 12.22 | 0.48% |
| Homography (water) | 61.88 | 2.42% |
| Homography (PCA plane) | 59.96 | 2.34% |
| Homography [Gülsoylu 2024] | 22.65 | 1.67% |

These figures support the paper’s conclusion that the Perspective-n-Point method achieves a significantly lower projection error than the homography-based approaches used before [2508.14767]. In operational terms, the reduction from 61.88 px or 59.96 px to 12.22 px materially improves alignment between AIS-derived world positions and image evidence, which is essential because the final 3D box geometry is constrained by 2D detections.

The transform comparison also clarifies a common misconception: AIS alone does not provide a ready-made visual annotation. The paper explicitly motivates fusion by citing equipment reliability, data manipulation, and transmission delays as limitations of relying purely on AIS for location information [2508.14767]. BONK-pose addresses this by using AIS as a world-space prior and monocular RGB detections as an image-space constraint.

## 5. Evaluation, annotation quality, and failure modes

For 2D detection, YOLOX-X was selected for speed and accuracy, with $\mathrm{mAP}@0.5=0.805$ on moving-vessel classes. Other detectors listed in the evaluation—YOLOv3, DETR, Deformable DETR, and Cascade R-CNN r50—range down to approximately $\mathrm{mAP}@0.5\approx0.65$–$0.72$ [2508.14767].

For AIS-to-detection association, the reported sample comprises 500 images and 581 visible vessels, from which 410 matches are obtained, corresponding to 70.6% correct associations. Among these 410 matched vessels, 375 are labeled “Good,” 33 “OK,” and 2 “Bad”; the same counts correspond to 64.5% of the total and 86.4% of the matched vessels for the “Good” category. Primary failure modes are missing AIS data, wrong matching by the cost function or two-vessel units, and detector false positives [2508.14767].

The paper further reports a correlation between per-instance 2D IoU of the projected automatic 3D box against manual 2D ground truth and manual quality labels: “Good” boxes are mostly at IoU $\geq 0.7$, whereas “OK/Bad” boxes are mostly below this level [2508.14767]. This provides a practical quality proxy when dense 3D ground truth is unavailable.

Recommended evaluation protocols are also stated. Standard train/validation/test splits of the 3,753 6D images are advised. The suggested metrics are $\mathrm{mAP}@0.5$ for detection, reprojection error in pixels and ADD-S for 3D pose, and 2D IoU of projected 3D boxes versus detection boxes as a proxy when CAD models are not available [2508.14767].

These evaluation results delimit the current reliability of the automatic labels. A plausible implication is that BONK-pose is most directly suitable for training or benchmarking models that can tolerate some annotation noise, especially where projected-box consistency and reprojection error can be used to filter instances.

## 6. Formats, access, and research uses

The dataset is distributed through the project page at `https://fabianholst.github.io/BONK-pose/`. The 2D detection set uses COCO-style JSON. The 6D set uses a separate JSON format with entries of the form
```json
{
  "image_id": ...,
  "bbox2d": [x, y, w, h],
  "centroid": [X, Y, Z],
  "dimensions": [L, B, H],
  "rotation": [qx, qy, qz, qw]
}
```
together with camera intrinsics $K$ and extrinsics $(R,t)$ per image. Python loader scripts on GitHub parse the JSON into PyTorch or TensorFlow datasets [2508.14767].

The stated applications are training and evaluation of 6D-pose networks for maritime surveillance, collision-avoidance for USV or shore-radar settings, traffic analysis, port automation, benchmarking of object-to-AIS association methods, and dimension-mismatch detection for customs or safety compliance [2508.14767]. Because the annotations are fusion-based rather than manually drawn, BONK-pose is also a concrete example of automated label generation in a domain where manual 3D annotation is especially costly.

The dataset has already been positioned as a target domain for related marine-orientation research. In work on stable yaw estimation from UAV and USV viewpoints, the BONK-pose setting is described as one in which boats appear at varying distances as small image regions in video streams, and the proposed HyperPosePDF-based temporal aggregation is explicitly distilled “with the goal of adapting it to BONK-pose” [2306.14056]. This suggests that BONK-pose can function not only as a 6D-pose benchmark but also as a substrate for probabilistic orientation estimation under severe scale variation and temporal ambiguity.

Within the broader maritime-vision literature, BONK-pose occupies a distinct position. AprilTags3D demonstrates robust 6-DoF estimation in the Nordelbe Kehrwieder harbor by using dynamic two-plane fiducials and RGB-only PnP-based fusion under glare and reflection [2001.08622]. BONK-pose differs in that it addresses uninstrumented real vessels by fusing monocular RGB detections with AIS rather than placing fiducials on targets. The common reliance on calibrated pinhole geometry and harbor-deployed RGB sensing indicates a shared methodological core, while the annotation objective of BONK-pose makes it primarily a dataset-generation framework rather than a fiducial tracking system.

Source: https://www.emergentmind.com/topics/boats-on-nordelbe-kehrwieder-bonk-pose