# C401: From Footage to Data

> An Ego Cap University course that takes a team from raw head-worn recordings to training data: camera poses from SLAM and VIO, hand and body pose, labels and annotation, and export to a training format such as LeRobotDataset. Four short lessons, a hands-on lab with Basalt (or ORB-SLAM3 or OpenVINS) and LeRobot, a printable checklist and copy-paste prompts for an AI assistant.

Page: https://egocam.ai/university/c401/

C401 is the processing course of Ego Cap University. It starts where capture ends, with synchronised video and IMU streams on a disk, and ends with episodes in a training format: camera poses in a fixed world frame, hand and body pose, labels a model can learn from, and files a data loader can read.

The course is built for current rigs. A calibrated stereo pair with an IMU is the baseline on public head rigs in 2025–2026, some public rigs carry more cameras, and many add wrist cameras ([Current Capture Rigs](https://egocam.ai/hardware/current-capture-rigs/), [SLAM and VIO Basics](https://egocam.ai/processing/slam-and-vio-basics/)). The large human-video collections built for robot learning now label mostly by machine: per-frame head pose from visual-inertial SLAM and 3D hand keypoints, with a thin layer of language on top ([Annotation Types](https://egocam.ai/processing/annotation-types/#what-current-collections-label)). Mono footage and research glasses still appear, as the input to the older, larger corpora and as the cheapest place to start.

For the whole route from a finished recording to a delivered dataset, step by step, start with [What Happens After Filming](https://egocam.ai/processing/what-happens-after-filming/); deciding which footage to keep is covered in [Data Curation and Filtering](https://egocam.ai/processing/data-curation-and-filtering/).

Every lesson is short and links to the field guide for depth. Nothing in the course is new: each claim comes from a reviewed field-guide page or from a tool's own documentation, and each page ends with its sources.

> **Diagram:** Raw streams only become useful once a computer-vision pipeline has turned them into hands, head pose and actions. That pipeline is also what sets the camera's requirements.

## Who it is for

- Teams with recordings on disk who need trajectories, hand poses and labels from them.
- Engineers choosing between SLAM systems, hand-pose models and training formats, and checking their licences.
- Anyone who has to sign off a processed dataset before it goes to training.

## What you will be able to do

By the end of the course you will be able to:

1. Say why every egocentric pipeline needs a camera pose per frame, what [visual-inertial odometry and SLAM](https://egocam.ai/reference/glossary/#slam-vio-and-3d-reconstruction) estimate, what breaks on head-worn footage, and how to score a trajectory.
2. Tell hand pose in the camera frame from hand pose in a world frame, say where metric depth comes from on a stereo rig and on mono footage, and estimate the wearer's body from what the rig measures.
3. Choose label types for a collection, write a boundary rule, and check machine-made labels against a human-checked sample.
4. Export episodes to LeRobotDataset v3.0 or another documented format, with the coordinate frame and calibration written down.
5. Run an open visual-inertial system on a public sequence and on your own recording, and export the result.

## Prerequisites

- **[C201, Camera calibration, hands-on](https://egocam.ai/university/c201/).** Every SLAM system and every multi-view hand model takes calibration as an input. [C202](https://egocam.ai/university/c202/) (IMU and camera-IMU calibration) and [C203](https://egocam.ai/university/c203/) (time sync) cover the IMU noise values and timestamps the lab needs; in the field guide, [Camera-IMU Time Offset](https://egocam.ai/calibration/camera-imu-time-offset/) and [Why Synchronisation Matters](https://egocam.ai/sync/why-sync-matters/) cover the same ground.
- Comfort with a Linux command line and with Python.
- For the lab: a Linux machine. Basalt publishes binaries for Ubuntu 22.04 and later; ORB-SLAM3 and OpenVINS build from source, and OpenVINS's documented path uses ROS.

## The lessons, in order

| # | Page | What it teaches | Time |
|---|---|---|---|
| 1 | [Camera poses from wearable footage](https://egocam.ai/university/c401/lesson-1-camera-poses/) | VO, VIO and SLAM; why head-worn video breaks them; published fixes; choosing a system; ATE and RPE | about 12 min |
| 2 | [Hands and body](https://egocam.ai/university/c401/lesson-2-hands-and-body/) | Hand representations; four routes to hand pose; camera frame vs world frame; body pose from what the rig measures; body-model licences | about 12 min |
| 3 | [Labels and annotation](https://egocam.ai/university/c401/lesson-3-labels-and-annotation/) | What current collections label; narration vs segments; boundary rules; automatic labelling and how it fails; human checks | about 12 min |
| 4 | [Training formats](https://egocam.ai/university/c401/lesson-4-training-formats/) | Capture containers vs training formats; LeRobotDataset v3.0; MCAP, HDF5 and WebDataset; human data as states and actions | about 12 min |
| Lab | [From recording to LeRobot](https://egocam.ai/university/c401/lab/) | Run Basalt (or ORB-SLAM3 or OpenVINS) on TUM VI and on your own recording, then export a LeRobotDataset and read it back | a working session, depending on your machine |
| | [Checklist](https://egocam.ai/university/c401/checklist/) | A printable list: before processing, poses, hands and labels, export, sign-off | 5 min to read |
| | [Prompts](https://egocam.ai/university/c401/prompts/) | Copy-paste prompts for an AI assistant, each with inputs, target tool and a way to check the output | as needed |

The times are planning estimates: reading time for each lesson, plus its self-check. The lab's length depends on whether the tools are already installed and how long your recording is.

## What you need

- **Recordings with calibration.** Synchronised camera images and IMU samples on one clock, the rig's calibration file, and a note of each device's serial number. The lab's first part uses a public sequence, so you can start without your own data.
- **A computer** running Linux, with enough disk for a public sequence and its exported dataset. Learned trackers and hand models need a GPU; the classical estimators in the lab run on a CPU ([SLAM and VIO Systems Compared](https://egocam.ai/processing/slam-vio-systems-compared/#choosing-by-constraint)).
- **A licence plan.** Several common components are copyleft or non-commercial: ORB-SLAM3 and OpenVINS are GPL-3.0, MASt3R-SLAM is CC BY-NC-SA 4.0, and the MANO and SMPL body models are non-commercial ([SLAM and VIO Systems Compared](https://egocam.ai/processing/slam-vio-systems-compared/#choosing-by-constraint), [Hand and Body Pose Models Compared](https://egocam.ai/processing/hand-and-body-pose-models-compared/#licences-mano-smpl-and-the-code)). Decide before you build on them.
- **A model list and an improvement plan.** Every open model by processing stage, with its code and weights licence, is on [Open-Source Models for Every Processing Step](https://egocam.ai/processing/open-source-models-for-the-pipeline/). Fine-tuning, pseudo-labelling and other ways to make those models work better on your own footage are on [How Teams Make Better Processing Models](https://egocam.ai/processing/improving-processing-models/).

## What this course does not cover

- **Calibration** itself is course [C201](https://egocam.ai/university/c201/); IMU noise and camera-IMU calibration are course [C202](https://egocam.ai/university/c202/).
- **Turning human data into robot policies** (retargeting, co-training, latent actions) is course C402.
- **Choosing a public dataset** and reading its licence is course C403.
- **Anonymising footage** is on [Anonymising Footage](https://egocam.ai/privacy/anonymisation/) and in course C302.
- **3D scene reconstruction** (Gaussian splatting, 4D reconstruction) is covered on [3D Scene Reconstruction](https://egocam.ai/processing/3d-scene-reconstruction/) and [Learned SLAM and Dense Reconstruction](https://egocam.ai/processing/learned-slam-and-reconstruction/).

## Sources

- Field guide: [SLAM and VIO Basics](https://egocam.ai/processing/slam-and-vio-basics/), [Running SLAM on Wearable Footage](https://egocam.ai/processing/slam-on-wearable-footage/), [SLAM and VIO Systems Compared](https://egocam.ai/processing/slam-vio-systems-compared/), [Hand Pose Estimation from Head Cameras](https://egocam.ai/processing/hand-pose-estimation/), [Hand and Body Pose Models Compared](https://egocam.ai/processing/hand-and-body-pose-models-compared/), [Annotation Types](https://egocam.ai/processing/annotation-types/), [Training Formats: LeRobot, RLDS and Friends](https://egocam.ai/processing/training-formats-lerobot-rlds/), [Current Capture Rigs](https://egocam.ai/hardware/current-capture-rigs/).
- Basalt: [README](https://gitlab.com/VladyslavUsenko/basalt) (installation, BSD 3-clause licence).
