Skip to content

C401 Lesson 1: Camera Poses from Wearable Footage

A hand detector run on one frame measures the hand relative to a lens that moves with the wearer’s head. Before that becomes a trajectory a robot can learn from, the pipeline has to subtract the head’s motion, and for that it needs the camera’s pose at every timestamp. This lesson covers how pipelines get that pose from head-worn footage and how to tell whether it is right. The full treatment is on SLAM and VIO Basics and Running SLAM on Wearable Footage.

All of these are also in the glossary’s SLAM section.

Term Meaning
6-DoF pose 3D position plus 3D orientation of the camera (or IMU body) in a fixed world frame
Visual odometry (VO) Estimating motion frame to frame from images alone, without a reusable map; error accumulates
Visual-inertial odometry (VIO) Odometry that fuses images with an IMU (gyroscope and accelerometer)
SLAM Simultaneous localisation and mapping: odometry plus a map the estimator can recognise and reuse, so drift is corrected when a place is seen again
Bundle adjustment (BA) Optimisation that jointly refines camera poses and 3D points so reprojected points match their detections
Loop closure Recognising a revisited place and pulling accumulated drift back out of the trajectory
Causal vs offline A causal estimate uses only past and present measurements; an offline one can use the whole recording
ATE / RPE Absolute trajectory error (RMS position error after one alignment of the whole trajectory) and relative pose error (error of the motion over a fixed interval)

The RoboCap authors put the stakes plainly: “The quality of egocentric data is bounded by the accuracy of its 3D labels, namely the human hand and head poses” (RoboCap, 2026). Poses also give a trajectory a consistent “up” from the IMU’s gravity estimate, put several devices in one frame when they localise against the same map, and are the input to 3D reconstruction (SLAM and VIO Basics).

The ORB-SLAM3 authors state the difference: “In contrast, VO systems put their focus on computing the agent’s ego-motion, not on building a map” (Campos et al., 2020). Adding an IMU changes what can drift. Gravity is an absolute vertical reference, so roll and pitch stop drifting; position and yaw (rotation about gravity) still drift, and loop closure is what bounds them (SLAM and VIO Basics).

The parts of a visual-inertial SLAM system A block diagram. Camera frames go to the front-end, which detects and tracks features or, in direct methods, compares pixel intensities. IMU samples are preintegrated between frames. Both feed the back-end, which is either a filter such as the MSCKF or a sliding-window bundle adjustment, and which outputs a pose for every frame plus a local map. Visual or visual-inertial odometry stops there and drifts. SLAM adds a loop-closure stage, drawn as a dashed return path: place recognition notices a revisited place, and a pose graph or global bundle adjustment corrects the accumulated drift. Without loop closure, odometry drift keeps growing; with an IMU, gravity fixes roll and pitch, so the drift is in position and yaw. Calibration (intrinsics, extrinsics and camera-IMU time offset) is an input to every stage. Camera frames IMU samples Front-end track features, or compare pixels Preintegration IMU motion between camera frames Back-end filter (MSCKF) or sliding-window bundle adjustment Pose every frame, + local map Loop closure (SLAM only) recognise a revisited place, correct drift Calibration feeds every stage: intrinsics, extrinsics, time offset Without it (VO, VIO) drift grows; with an IMU,in position and yaw
The parts of a visual-inertial SLAM system. The front-end tracks features (or compares pixels, in direct methods), the IMU is preintegrated between frames, and the back-end, a filter or a sliding-window bundle adjustment, turns both into a pose for every frame. Odometry stops there and drifts; SLAM adds loop closure to correct that drift when a place is seen again. Calibration is an input to every stage.

Inside every estimator are a front-end, which turns images into measurements (tracked features, or pixel intensities in direct methods), and a back-end, either a filter such as OpenVINS or a sliding-window bundle adjustment such as Basalt or ORB-SLAM3’s local mapping. Both kinds take calibration as given. A second camera does not help if its extrinsics are wrong: “Stereo cameras with an IMU didn’t always perform best, because it requires more accurate calibration than the case of a monocular camera with an IMU” (VINS-Fusion, quoted on SLAM and VIO Basics).

Metric scale means distances come out in real metres. A calibrated stereo pair gives metric depth by triangulation on the first frame. With one camera, vision recovers motion only up to an unknown scale and the IMU must supply it, which it can only do when the device accelerates (SLAM and VIO Basics).

Why one camera cannot see scale: a pinhole camera records only directions, the ratios X/Z and Y/Z. Scale the whole scene and every camera step by the same factor and the images do not change, so a room twice as large walked with steps twice as long looks identical. A stereo baseline is a known length in metres, and an accelerometer reports metres per second squared; either one fixes the factor. At constant velocity the accelerometer has no motion to compare, which is why the IMU needs acceleration.

A working head mostly turns. The MEgoVista authors: “Head-worn capture is rotation-dominated, so translation over a keyframe interval is often negligible” (MEgoVista). Pure rotation gives a single camera no parallax, so neither depth nor scale can be recovered from the images.

Why pure head rotation gives a single camera no depth Three top-down panels with a point P in front of the camera. Left, the head translates: the camera sees P from two different centres, the two rays cross at P, and the angle between them, the parallax, lets the point be triangulated. Middle, the head only rotates: the camera centre stays in the same place, so both views' rays to P lie along the same line; there is no parallax, and depth and scale cannot be recovered from the images. Right, a stereo pair: two camera centres a fixed baseline apart see P in every frame, so there is parallax without any head motion and the depth is metric. P P P Head translates Head only rotates Stereo pair rays cross: parallax,P can be triangulated same centre, same ray:no parallax, no depth baseline in every frame:metric depth without moving parallax baseline
Why rotation-dominated head motion starves a single camera of depth. Translation gives two viewpoints whose rays cross at the point (parallax); pure rotation about the camera centre gives the same ray twice, so neither depth nor scale can be recovered from the images. A stereo pair has a baseline in every frame. Standard multi-view geometry; schematic.

What breaks on head-worn footage, and the published fixes

Section titled “What breaks on head-worn footage, and the published fixes”
Failure What goes wrong Published fix Source
Fast rotation, blur Tracks die; the tracker drifts or diverges More cameras in one estimator; downsampling for a patch tracker; offline refinement RoboCap
Rotation-dominated motion Monocular-inertial scale slow or wrong Stereo metric seed; gravity from the IMU afterwards MEgoVista
Fragile monocular start Lost frames at the start of each clip A saved map of the workspace as initialisation UMI
Hands and objects in view Moving pixels pull the camera estimate Hand masks in the image and in the confidence weights HaWoR
Calibration drift Wrong stereo depth, biased poses Online calibration RoboCap

The table condenses the field guide’s failure-mode table, which lists more. The hand row has a simple cause: SLAM assumes that what it tracks is static, and in egocentric manipulation the hands and held objects move independently of the head and can fill much of the view. Features on them pull the estimate toward their motion, so pipelines mask them out and estimate the camera from background pixels only (hands and held objects in the view). Two of the rows are worth knowing by number. RoboCap reports that across 150 deployed hats, “factory calibration leaves a median front-pair epipolar residual of 3.8 px, which online calibration reduces to 0.56 px”. And keeping the fisheye lens model, rather than rectifying, keeps the periphery that stays visible when the hands cover the centre of the image (Running SLAM on Wearable Footage).

A live tracker can only use the past. An offline system can run bundle adjustment over the whole session once every revisit is known. On RoboCap, “the causal estimate available during capture is about twice as inaccurate as the offline trajectory” (RoboCap). Training labels are therefore usually made offline (SLAM and VIO Basics).

Current public head rigs mostly describe their own pipelines built from published components, not an unmodified package (SLAM and VIO Systems Compared). For a team starting out, the open systems differ on four constraints:

Constraint What the field guide’s tables show
Licence ORB-SLAM3, VINS-Mono, VINS-Fusion, OpenVINS, DSO and DM-VIO are GPL-3.0; Basalt, Kimera, DROID-SLAM and DPVO are permissive; MASt3R-SLAM is non-commercial
Lens Fisheye without rectification: ORB-SLAM3, VINS-Mono/Fusion, OpenVINS, Basalt; DSO, DM-VIO and the learned trackers expect pinhole or undistorted images
Calibration that drifts OpenVINS estimates intrinsics, extrinsics and time offset online; VINS-Mono/Fusion can estimate extrinsics and time offset; the others take calibration as input
No IMU, one camera Only the visual-only systems apply (DSO, DROID-SLAM, DPVO/DPV-SLAM, MASt3R-SLAM), and all are up to scale

Source: SLAM and VIO Systems Compared, choosing by constraint. How many cameras to use and where to point them depends on what a team’s own models need; the field guide does not recommend a layout.

Absolute trajectory error and relative pose error The same estimated trajectory, which slowly drifts away from the reference, scored two ways. Left, absolute trajectory error (ATE): the estimate is aligned to the reference once, and the error is the root mean square of the distances between matching poses; because drift accumulates, those distances grow along the path, so ATE measures global drift. Right, relative pose error (RPE): the motion over each fixed interval, for example 1 second as in TUM VI, is compared with the reference motion over the same interval, drawn as a dashed arrow from the same starting point; each segment's error stays small even while the whole path drifts, so RPE measures local accuracy. ATE: absolute trajectory error align once, RMS of pose distances errors grow along the path: measures global drift RPE: relative pose error compare motion over each interval each segment's error stays small: measures local accuracy reference estimate error reference motion over the interval
Two ways to score the same drifting trajectory. ATE aligns the whole estimate to the reference once and takes the RMS of the remaining distances, so it grows with accumulated drift. RPE compares the motion over each fixed interval (TUM VI uses 1-second segments), so it stays small while the path drifts and measures local accuracy instead. Schematic.

ATE measures global drift over an episode; RPE measures local accuracy, which is what a short-horizon policy sees. Published numbers are only comparable inside one paper’s table, with one alignment and one set of sequences (SLAM and VIO Systems Compared). The reference has to be better than the tracker: Shu et al. ask that “the GT error should be smaller than that of SLAM by at least half an order of magnitude” (Shu et al., 2025; see how accurate the reference must be). The reason is that a measured error contains the reference’s error as well as the tracker’s; if the two errors are independent and the reference is about three times better, the measured number is within about 5% of the tracker’s own error. Without motion capture, a marker revisit measures drift at a few points: MobileEgo Anywhere placed an ArUco marker at the start of each session and measured the drift when the wearer returned to it (field spot checks).

  1. A colleague argues that VIO makes loop closure unnecessary. Which parts of the pose still drift without it?
  2. Your rig has one fisheye camera and an IMU, and the first seconds of most clips have no pose. What is the likely cause, and what did UMI do about it?
  3. Your product will ship closed-source. Which of ORB-SLAM3, OpenVINS and Basalt has a permissive licence?
  4. Why make training labels from an offline trajectory rather than the live one?
  5. You have no motion capture in the homes you record in. How can you still measure drift?
  1. Position and yaw. Gravity makes roll and pitch observable; loop closure is what bounds the rest.
  2. Monocular-inertial initialisation needs translation and acceleration, and head or hand motion that is mostly rotation gives little. UMI records a short mapping pass first and starts each demonstration from that saved map.
  3. Basalt (BSD-3-Clause). ORB-SLAM3 and OpenVINS are GPL-3.0.
  4. Offline bundle adjustment can use every revisit in the session; RoboCap’s causal estimate was about twice as inaccurate as its offline trajectory.
  5. Place a marker at the start and measure the drift each time the wearer returns to it, as MobileEgo Anywhere did. It measures drift at a few points, not along the whole trajectory.