Add common-space calibration and surface tracking

This commit is contained in:
Meta Vens 2026-05-18 21:31:09 +01:00
commit 905fc60dbd
10 changed files with 610 additions and 16 deletions

View file

@ -121,6 +121,10 @@ def capture(args):
"file": filename,
"timestamp_monotonic": now,
"charuco_corners": corner_count,
"charuco_ids": [] if charuco_ids is None else [int(value) for value in charuco_ids.reshape(-1)],
"charuco_image_points": []
if charuco_corners is None
else [[float(x), float(y)] for x, y in charuco_corners.reshape((-1, 2))],
"marker_count": 0 if marker_ids is None else int(len(marker_ids)),
}
)