C301 Lab: Plan and Run a Pilot
A pilot is a small end-to-end run of the whole programme before full-scale capture. Its job is to find the problems while they are still cheap. Encord, an annotation-platform vendor, puts the reason plainly: “Fixing a bad protocol after a week of field capture costs far more than fixing it before day one” (Encord). The field guide’s pilot runs every stage once, on a small scale (Running a pilot); this lab turns that into steps with checkpoints.
Work through Lessons 1 to 4 first, and keep the checklist next to you. Every command below is copied from the tool’s own documentation, or follows its documented form with your own file names; the source is linked at each step. Square brackets mark values you fill in. The prompts page has prompts that write the scripts this lab needs.
Part A: Plan
Section titled “Part A: Plan”Step 1: Write the programme brief
Section titled “Step 1: Write the programme brief”One page, before anything else (Lesson 1):
- The use. What the data will train or evaluate, and for which robot or product.
- The target. Usable hours and tasks for the full collection, and, for a robot, a separate domain-aligned set recorded in the robot’s scene and camera layout.
- The coverage matrix. Environments against activities, with the number of wearers you plan per cell.
- The pilot’s scope. A few scenes, a few wearers, a few full-length shifts. Say what the pilot must measure (step 13).
You should have a brief that names every number it assumes and where the number came from: a paper, a vendor guide or a guess to be replaced.
Step 2: Write the task scripts and the instruction sheet
Section titled “Step 2: Write the task scripts and the instruction sheet”For each task, fill in the script fields from Lesson 2: task and end state, workspace and framing check, object pool, strategy (matched to the robot if relevant), reset type, block length, how mistakes are handled, and the visibility rules. Prefer reversible pairs and reset-free tasks where the use allows: 180 of EgoDex’s 194 tasks needed no manual reset (Designing out resets).
Then write the wearer’s one-page instruction sheet in the style of the published ones: a framing check before each recording, hands in view, one strategy per sub-task, and when to pause (Writing collector instructions).
Checkpoint: someone who has not seen the plan can read a script and say when an episode starts and ends.
Step 3: Put consent and privacy in place
Section titled “Step 3: Put consent and privacy in place”Nobody records until this is done. Follow course C302 and the field guide: written terms covering purpose, use, storage and retention; pause and delete controls; a review and withdrawal route the wearer knows about (Consent for Wearers); the scenes cleared or authorised for bystanders (Bystanders); and, if wearers are employees, the safeguards on Workplace Capture and Worker Ethics. Check what the law requires where you record (Privacy Law).
Checkpoint: you can show the exact consent wording each wearer agreed to. The datasheet will ask for it (Documenting a Dataset).
Step 4: Bench-check the rigs
Section titled “Step 4: Bench-check the rigs”- Calibrate each unit and store the result with its serial number (course C201). Units of one model differ, so a model-wide calibration is not enough (Nominal versus per-unit calibration).
- Confirm the sync method works and decide how you will check it at the start and end of each session; Ego-Exo4D showed a QR-code clock to every camera at both ends (Sync and calibration checks, QR and Visual Sync).
- Lock the settings the footage will use, and write them down with each unit’s serial number. Focus, autofocus and stabilisation all change the intrinsics, so a calibration only holds for the settings it was made with (Lock these before you calibrate).
Step 5: Set up the staging machine
Section titled “Step 5: Set up the staging machine”Install the inspection tool for your container:
- MP4 video:
ffprobe, part of FFmpeg. - MCAP: the
mcapCLI. Its guide offers release binaries or Homebrew:
brew install mcap- VRS: the
vrscommand-line tool, built from the VRS repository (Recording Containers). - GoPro MP4 with GPMF:
gpmfdemo, built from the gpmf-parser repository as the field guide shows (GPMF: gpmfdemo).
You should see each tool print its help: mcap --help, vrs with no arguments, or ffprobe -h.
Part B: Run
Section titled “Part B: Run”Step 6: Onboard the wearers
Section titled “Step 6: Onboard the wearers”Run an onboarding session for each wearer, then a short practice recording reviewed with them for camera position, audio and activity coverage. Claru’s recipe is “a 30-minute onboarding session” followed by “a 15-minute practice recording” (Claru guide; Lesson 3). Those durations are a vendor’s; time your own.
Checkpoint: in the practice recording, the hands stay in frame through the task.
Step 7: Capture full-length shifts in real scenes
Section titled “Step 7: Capture full-length shifts in real scenes”Record in a few of the real scenes the full collection will use, with full-length shifts, so you measure real yield, battery swaps and late-session fatigue rather than guessing them (Running a pilot). For each session, the operator logs: wearer ID, rig serial, scene, tasks, start and end times, battery and card swaps, the sync check result, and anything that went wrong.
If it fails: if quality drops late in a shift, note when. Unidata observed that “the last 30 minutes of a long session bring faster shortcuts, sloppy object placement, and missed steps in scripted sequences” (Unidata); your pilot gives your own figure.
Step 8: Offload and verify every file
Section titled “Step 8: Offload and verify every file”Copy each shift off the rig, verify the copy, and only then clear the rig (Offload at the end of a shift). Time the offload: it sets how many staging machines a full fleet needs.
VRS. From the VRS CLI documentation:
vrs check file.vrsvrs compare file1.vrs file2.vrscheck decodes every record and reports how many succeeded. compare tells you “whether the files are identical, and if they are not, which part(s) aren’t”; run it on the rig copy and the staging copy. For a recording cut off by a crash or full disk, vrs fix-index file1.vrs rebuilds the index in place; vrs copy is the slower alternative that leaves the original untouched.
MCAP. From the MCAP CLI guide, mcap info reports statistics per channel, including message counts and rates, and mcap doctor checks the file structure:
mcap info [recording.mcap]mcap doctor [recording.mcap]A damaged file can be copied into a valid one; the guide’s exit codes are 0 if every record was recovered, 3 if recovery was lossy and 1 if nothing could be recovered:
mcap recover damaged.mcap -o recovered.mcapFor a ROS 2 bag, ros2 bag info <bag_file> prints the duration, message count and per-topic counts (rosbag2 README).
MP4 and anything else. Compare a file-level hash between the rig and staging copies, as the field guide suggests. With GNU coreutils, write the hashes on the rig copy and check them on the staging copy:
sha256sum [*.mp4] > shift.sha256sha256sum -c shift.sha256You should see every file decode or match, and per-camera message counts that agree with the recording length.
Step 9: Check frame timing
Section titled “Step 9: Check frame timing”A file can report 30 fps on average and still freeze or skip frames. Read every frame’s timestamp (Dropped frames and frame timing). The field guide’s gist runs:
ffprobe -show_entries "frame=pkt_pts_time,pkt_dts_time,coded_picture_number : stream" \ -select_streams v -of json input.mp4The field guide warns that recent FFmpeg releases may not output pkt_pts_time. In our experience, FFmpeg 6.1.1 (the Ubuntu 24.04 package) returned pkt_dts_time and no pkt_pts_time in the frame section, while pts_time was available. With the documented ffprobe options, one presentation time per line:
ffprobe -v error -select_streams v -show_entries frame=pts_time -of csv=p=0 input.mp4From the timestamps, compute the gap between consecutive frames in milliseconds and compare it with 1000 / fps. Log the mean gap, the 99th-percentile gap, the maximum gap and the number of slow frames per file. A mean on target with a large maximum is a freeze; a high 99th percentile is recurring stutter.
For a GoPro, check the telemetry is there with the gpmf-parser README’s demo: ./gpmfdemo [movie.mp4].
Step 10: Run image-quality metrics and set thresholds
Section titled “Step 10: Run image-quality metrics and set thresholds”Compute brightness, variance of the Laplacian and histogram entropy per frame over the pilot footage, from every site, light and device. Read the percentiles and choose a tier, then inspect 20–50 selected frames and adjust (Setting thresholds on your own footage). Do not copy another dataset’s numbers. Keep clips where the head is still but the hands move (Lesson 4).
Write down the thresholds you chose, the percentiles behind them, and the share of frames each one rejects.
Step 11: Check sync and calibration per session
Section titled “Step 11: Check sync and calibration per session”Read the start and end sync checks for every session: if the offset is within your budget at both ends, it is within it throughout, since clock rates are close to constant (Check sync at both ends). Ego-Exo4D’s automated QR sync reached frame accuracy on about 70% of captures, so plan a fallback. For a multi-camera head, check the epipolar residual per session against the unit’s calibration (Check calibration per session).
Step 12: Run the whole back end, and time it
Section titled “Step 12: Run the whole back end, and time it”Run the pilot footage through ingest, QC, privacy redaction, SLAM and hand pose, and annotation (Running a pilot). Run privacy processing before anyone annotates (Curation order).
Time each step in person-hours and compute-hours. For scale: in Ego4D, Carnegie Mellon’s pipeline took 780 hours of manual labour to de-identify 500 hours of video (Ego4D).
Step 13: Measure the pilot
Section titled “Step 13: Measure the pilot”Set your own pass marks from your own needs, before you look at the results. The published reference points are for comparison only (What to measure):
| Pilot measure | Your result | Published reference point |
|---|---|---|
| Usable fraction of recorded time | Claru: 2–2.5 usable hours per 3-hour session; Unidata: 30–40% fails annotation QC in uncontrolled high-volume capture | |
| Usable hours per wearer-day | Unidata: 3–4 hours for headset capture | |
| Frame quality | Claru: target under 15% low-quality frames | |
| Stream timing | Unidata’s pipeline: depth within 1 frame of RGB, wrist IMU and skeleton within 20 ms | |
| Tracking survival | Lin et al. lost about 0.5–2% of demonstrations to SLAM filtering | |
| Privacy redaction | Claru: face-detector recall above 98% on a held-out set | |
| Offload time per rig-day | RoboCap’s USB 3 range: 60–200 MB/s | |
| Back-end hours per usable hour | (your own figure; this is the cost the pilot exists to find) |
Then compute the cost per usable hour: everything the pilot spent, divided by the usable hours it produced.
Step 14: Train something
Section titled “Step 14: Train something”A small co-training or validation-loss test tells you whether the data helps before you pay for hundreds of hours (Running a pilot). For a robot, include the domain-aligned set; EgoVerse and EgoScale measured gains from small aligned sets.
Step 15: Decide, and update the plan
Section titled “Step 15: Decide, and update the plan”Go through the “before scaling up” section of the checklist. Then:
- Resize the collection from your measured usable hours and QC loss (Lesson 1) and your storage and uplink from your measured file sizes (Lesson 4).
- Fix every script, instruction or rig problem the pilot found, and re-test the ones that matter.
- Draft the datasheet from what you now know: collection process, QC rules and what they removed, consent wording, and the known unknowns (Documenting a Dataset).
- Decide go or no-go, in writing, against the pass marks you set in step 13.
Sources
Section titled “Sources”- Field guide: Planning a Capture Programme and Running a Pilot, Task Design, Quality Control, Storage, Upload and Data Volume, Recording Containers, Documenting a Dataset, QR and Visual Sync, Consent for Wearers, Bystanders, Workplace Capture and Worker Ethics, Privacy Law, Factory, On-Device and Online Calibration, Lens Effects That Break a Calibration.
- Meta. VRS CLI tool and the VRS repository.
- Foxglove. MCAP CLI guide.
- ROS 2. rosbag2 README.
- FFmpeg. ffprobe documentation; the ffprobe frame-time gist.
- GoPro. gpmf-parser README.
- Grauman, K. et al. (2022). Ego4D: Around the World in 3,000 Hours of Egocentric Video. CVPR.
- Encord. How to Build Diverse Egocentric Datasets for Robotics. Vendor blog.
- Claru. How to Collect Egocentric Video Data for AI Training. Vendor guide.
- Unidata. Egocentric Data Collection for Robot Training: What Actually Works in Production. Vendor guide.