Skip to content

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.

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.

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).

  • 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).

Install the inspection tool for your container:

  • MP4 video: ffprobe, part of FFmpeg.
  • MCAP: the mcap CLI. Its guide offers release binaries or Homebrew:
Terminal window
brew install mcap

You should see each tool print its help: mcap --help, vrs with no arguments, or ffprobe -h.

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.

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:

Terminal window
vrs check file.vrs
vrs compare file1.vrs file2.vrs

check 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:

Terminal window
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:

Terminal window
mcap recover damaged.mcap -o recovered.mcap

For 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:

Terminal window
sha256sum [*.mp4] > shift.sha256
sha256sum -c shift.sha256

You should see every file decode or match, and per-camera message counts that agree with the recording length.

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:

Terminal window
ffprobe -show_entries "frame=pkt_pts_time,pkt_dts_time,coded_picture_number : stream" \
-select_streams v -of json input.mp4

The 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:

Terminal window
ffprobe -v error -select_streams v -show_entries frame=pts_time -of csv=p=0 input.mp4

From 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).

Detect-and-blur anonymisation with human review Four steps left to right. One: run a face and licence-plate detector on every frame of every camera stream, RGB and greyscale. Two: enlarge each detected box and blur or black it out. Three: human review, where reviewers look for missed faces, often with a tracker proposing boxes across frames, and blur by hand what detectors do not cover, such as screens, documents, addresses, tattoos and reflections. Four: the released copy. A dashed amber path below marks streams that face and plate detectors do not touch and that need their own handling, by removing, muting or getting consent: audio, which carries voices, and inward eye-tracking images. A note gives Ego4D's published cost: 780 hours of manual labour to de-identify 500 hours of video. 1. Detect faces and plates, every frame, every camera: RGB and greyscale 2. Obscure enlarge each box, then blur or black it out 3. Human review find missed faces; blur screens, documents, addresses, tattoos, reflections by hand 4. Release the redacted copy Not touched by face detectors audio (voices), eye-tracking images handled separately: remove, mute or get consent Ego4D: 780 hours of manual labour to de-identify 500 hours of video
Detect-and-blur anonymisation as public egocentric datasets describe it: a detector on every frame of every camera stream, enlarged boxes blurred or blacked out, and human review for misses and for what detectors don't cover. Audio and eye-tracking images bypass face detectors and need their own handling. The labour figure is Ego4D's own.

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).

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.

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.

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.