# C301 Lesson 4: Quality Control, Storage and Documentation

> The fourth lesson of the C301 capture-operations course: quality control from ingest to curation with published examples and how to set your own thresholds, sync and calibration checks per session, offload and integrity checks, uplink and offload arithmetic, recording containers and hour counting, raw and privacy copies, and documenting a dataset from the planning stage.

Page: https://egocam.ai/university/c301/lesson-4-quality-storage-and-documentation/

Footage that nobody checks is not data yet. This lesson follows a recording from the rig to a documented dataset: the checks it passes, the files it travels in, the storage and network it needs, and the record that explains it to whoever trains on it. The full treatments are on [Quality Control for Egocentric Footage](https://egocam.ai/capture-ops/quality-control/), [Storage, Upload and Data Volume](https://egocam.ai/capture-ops/storage-and-data-volume/), [Recording Containers](https://egocam.ai/capture-ops/recording-formats-vrs-mcap-gpmf/) and [Documenting a Dataset](https://egocam.ai/capture-ops/documenting-a-dataset/).

## Terms used in this lesson

See also the glossary's [datasets, formats and storage section](https://egocam.ai/reference/glossary/#datasets-formats-and-storage).

| Term | Meaning |
|---|---|
| Quality control (QC) | The automated and human checks a recording goes through before it is used |
| Curation | The filtering after QC that scores, cuts and deduplicates accepted hours into a training set |
| Manifest | A list of every clip with its metadata and hour count, so files can be checked and hours counted once |
| Offload | Copying a shift's recordings off the rig to a staging machine, verifying them, and clearing the rig |
| Uplink | The upload bandwidth from the collection site to central storage |
| Recording container | A file format that interleaves several sensor streams, their timestamps and metadata in one file |
| Datasheet for a dataset | A document recording why a dataset was made, what it contains, how it was collected and how it should be used |

## What to check on every recording

The field guide's reference table gives a published example for each check, from the named source and for that source's data ([Quality Control](https://egocam.ai/capture-ops/quality-control/#reference-what-to-check-on-every-recording)). None of them is a universal setting.

| Check | What to measure | Published example |
|---|---|---|
| File integrity | Every record decodes | `vrs check` on VRS files |
| Manifest | Each clip has its metadata and each device its calibration file | Egocentric-10K: a `.json` per `.mp4`, an `intrinsics.json` per worker folder |
| Hour counting | The same episode is not counted twice | EgoStandard: LeRobot and MCAP copies are the same episodes |
| Frame timing | Gaps between frame timestamps against `1000 / fps` ms | Mean, 99th-percentile and maximum gap, and slow-frame count, per file |
| Brightness, sharpness, entropy | Mean grey level; variance of the Laplacian; histogram entropy | MBARI's underwater defaults, a starting point only |
| Motion | Mean optical flow plus share of fast-moving pixels | EgoVid-5M's flow bins |
| Hand pose | Per-joint confidence, wrist first | EgoDex: low wrist confidence means the finger joints are unreliable |
| Cross-camera sync | Offset at the start and end of each recording | Ego-Exo4D: every GoPro within 1 frame of the Aria RGB camera |
| Calibration drift | Epipolar residual between the cameras of a pair | RoboCap: per-session correction |
| Privacy | Face-detector recall before anyone views footage | Claru's guide: above 98% recall on a held-out set |

> **Diagram:** The checks in this page's reference table, grouped by what they run on: every file at ingest, every frame, every clip and every session. Cheap file and frame checks come first, so that expensive clip and session checks only see footage worth keeping. No published threshold transfers to your footage unchanged.

## Set thresholds on your own footage

Sharpness scores depend on resolution, compression and scene. MBARI's typical range on its underwater footage is 20–100; a driving-video paper puts its threshold "usually" between 300 and 1000 ([Quality Control](https://egocam.ai/capture-ops/quality-control/#four-cheap-metrics-used-together)). A number from one dataset cannot be copied to another. MBARI's method transfers instead: run the metrics over representative footage, look at the percentiles, choose a tier (conservative, moderate or strict), then inspect 20–50 of the selected frames and adjust ([MBARI Triton](https://docs.mbari.org/triton-video-sampling/algorithm/metrics/)). Sample every site, lighting condition and device.

Two traps from the sources:

- **Do not filter out a still head.** Dropping low-flow clips removes the ones where the head is still and the hands do fine work; EgoVid-5M kept low-flow clips when enough pixels moved fast, noting they have "a static background while capturing detailed and extensive motion in hands" ([EgoVid-5M](https://arxiv.org/abs/2411.08380)).
- **Look at every recording as well.** The Ego-1K team "manually checked all videos and discarded 43 problematic recordings with dark images or an insufficient number of frames" ([Ego-1K](https://arxiv.org/abs/2603.13741)). For daily review, Claru's guide suggests spot-checking 10–15% of each day's footage. Unidata, another data vendor, gives the reason for reviewing each session before the operator leaves: it "catches systematic errors (camera drift, tracker disconnections, sync failures) before they compound across a full day" ([Unidata](https://unidata.pro/blog/egocentric-data-collection-for-robot-training/)).

## Sync and calibration, every session

Timing and calibration errors leave no trace in a single frame ([Sync and calibration checks](https://egocam.ai/capture-ops/quality-control/#sync-and-calibration-checks)). Ego-Exo4D showed a QR-code clock to every camera at the start and end of each capture; within a frame at both ends means within a frame throughout ([Ego-Exo4D](https://arxiv.org/html/2311.18259v4)). Multi-camera rigs drift: across RoboCap's fleet the rotation between cameras shifted by 0.2–1.1°, and RoboCap re-estimates it once per session, accepting a correction only if it improves a held-out residual ([RoboCap](https://arxiv.org/abs/2610.07217)). Courses C201 and C203 cover the methods.

## Curation order

- **Privacy first.** Claru: "Run privacy processing BEFORE any annotation begins — annotators should never see unblurred faces." ([Claru guide](https://claru.ai/guides/how-to-collect-egocentric-video-data)). The bystanders in the footage never agreed to be seen by anyone, and an annotator labelling hand actions needs the hands, not the faces; blurring first keeps the number of people who see those faces as small as possible ([Detect and blur at ingest](https://egocam.ai/privacy/anonymisation/#detect-and-blur-at-ingest)). The methods are on [Anonymisation](https://egocam.ai/privacy/anonymisation/), course C302.
- **Blur filter before deduplication.** Roychowdhury and Sato warn: "Altering the order of filtering or parallelizing the two processes may lead to uneven quality in retained/training data." ([Video-Data Pipelines](https://arxiv.org/abs/2110.11407)).
- **Check clip boundaries and that clip and label agree**, as on [Quality Control](https://egocam.ai/capture-ops/quality-control/#curation-the-order-of-the-steps).

## Offload, integrity and the uplink

Published dataset rigs record locally. At the end of a shift someone copies the recordings off the rig, checks them, and clears the rig ([Offload at the end of a shift](https://egocam.ai/capture-ops/storage-and-data-volume/#offload-at-the-end-of-a-shift)).

> **Diagram:** How recordings move from the rig to training storage, step by step, with the page's uplink formula and its RoboCap worked example. Verifying every file before the rig is wiped is the step that protects the data; the uplink and the processing stage are where a growing fleet runs out of room.

**Offload time.** RoboCap offloads "via USB 3 at 60–200 MB/s". At its 24 Mbps (10.8 GB per hour), an 8-hour day is 86.4 GB: 7.2 minutes at 200 MB/s, 24 minutes at 60 MB/s. Ten rigs offloaded one after another at the slow end take 4 hours. Time one offload in your pilot.

**Integrity before deletion.** Check every file before the rig's copy is deleted. For VRS, `vrs check` "decodes every record in the VRS file and prints how many records were decoded successfully", and `vrs checksum` gives a logical checksum that still matches after recompression ([VRS CLI tool](https://facebookresearch.github.io/vrs/docs/VrsCliTool)). For other formats, compare a file-level hash such as SHA-256 between the rig and staging copies. The lab gives the commands.

**Uplink.** The sustained upload a site needs is ([Sizing the uplink](https://egocam.ai/capture-ops/storage-and-data-volume/#sizing-the-uplink)):

```text
Required uplink (Mbps) = daily volume (GB) × 8,000 / (upload window (h) × 3,600) / link efficiency
```

At a measured efficiency of 0.8, sending 1 TB in an 8-hour window needs about 347 Mbps sustained. If the line cannot clear one day's data in one window, the backlog grows every day.

**Raw and privacy copies.** Claru advises: "Store raw and privacy-processed versions separately with access controls. Delete raw versions after privacy verification". The raw copy has to wait for verification because blurring cannot be undone: a missed face, or a blur over the wearer's hands, can only be redone from the original ([Raw footage, privacy copies and storage tiers](https://egocam.ai/capture-ops/storage-and-data-volume/#raw-footage-privacy-copies-and-storage-tiers)). The raw backlog is then bounded by how fast verification keeps up; whether you may keep raw footage at all is set by your consent terms.

## Containers, and counting hours once

Three containers cover most public egocentric capture ([Recording Containers](https://egocam.ai/capture-ops/recording-formats-vrs-mcap-gpmf/)): **MCAP**, the default storage of ROS 2 bags; **VRS**, Meta's per-device format used by Aria glasses; and **GPMF**, GoPro's telemetry track inside the MP4. After QC, many teams repackage episodes into a training format such as LeRobotDataset v3.0.

> **Diagram:** What is inside each file, top to bottom. MCAP batches timestamped messages into compressed chunks and writes indexes in a summary at the end. VRS keeps one stream per device, each with configuration, state and data records, and writes its index last, so a cut-off file can be repaired. A GoPro MP4 carries telemetry as a fourth track of nested key-length-value items. From the MCAP spec, the VRS docs and the gpmf-parser README.

If you publish the same episodes in two formats, say so. Lightwheel's card: "LeRobot and MCAP are alternative representations of the same episodes and must not be counted as additional hours" ([EgoStandard](https://huggingface.co/datasets/LightwheelAI/EgoStandard)). Keep hour counts in a manifest so a representation is never counted as new data.

## Document from the start

The datasheet is a planning document, not a release chore. Gebru et al. say the composition and collection questions are read "prior to any data collection" and answered once collection is complete ([Datasheets for Datasets](https://arxiv.org/abs/1803.09010v2)). The paper's reason for reading the collection questions early is "to flag potential issues": some answers, such as the consent wording or how timing was established, can only be recorded while the data is being collected.

> **Diagram:** When Datasheets for Datasets (Gebru et al.) says to read and to answer each of its seven sections. Composition and Collection process are read before any data is collected and answered once collection is complete; Preprocessing, cleaning and labelling is read before processing and answered after; Uses, Distribution and Maintenance are answered before the dataset is distributed, and Maintenance stays current afterwards. Motivation is answered before capture, as in the table on this page. Open the datasheet while planning, not after the last upload.

Two rules from the field guide's sources ([Documenting a Dataset](https://egocam.ai/capture-ops/documenting-a-dataset/)): "the process of creating a datasheet is not intended to be automated", and known unknowns count. Data Cards' study participants said "‘known unknowns’ were as important as known facets of the dataset in decision making" ([Data Cards](https://arxiv.org/pdf/2204.01075.pdf)): if you did not measure inter-camera skew on every session, say so. An egocentric card must state the rig, projection model and the resolution the calibration applies to, how timing was established, which annotation layers are predictions, consent and licence.

## Self-check

1. A file reports 30 fps on average. Why log frame gaps anyway, and which four numbers?
2. A colleague copies MBARI's sharpness threshold of 25 into your pipeline. What should you do instead?
3. Ten rigs each record 86.4 GB a day and share one staging machine at 60 MB/s. How long is offload, and what follows?
4. Your release ships each episode as MCAP and as LeRobot. What must the card say?
5. When should the datasheet's collection questions first be read?

### Answers

1. A file can average 30 fps and still freeze or skip frames. Log the mean gap, the 99th-percentile gap, the maximum gap and the number of slow frames.
2. Run the metric over representative footage from every site and device, read the percentiles, pick a tier, inspect 20–50 selected frames and adjust. MBARI's defaults are for underwater footage.
3. About 4 hours one after another, from the field guide's RoboCap arithmetic. Add staging machines or faster links, and time it in the pilot.
4. That they are alternative representations of the same episodes and must not be counted as additional hours.
5. Before any data is collected; they are answered once collection is complete.

## Sources

- Field guide: [Quality Control for Egocentric Footage](https://egocam.ai/capture-ops/quality-control/), [Storage, Upload and Data Volume](https://egocam.ai/capture-ops/storage-and-data-volume/), [Recording Containers: VRS, MCAP and GPMF](https://egocam.ai/capture-ops/recording-formats-vrs-mcap-gpmf/), [Documenting a Dataset](https://egocam.ai/capture-ops/documenting-a-dataset/), [Anonymisation](https://egocam.ai/privacy/anonymisation/), [glossary](https://egocam.ai/reference/glossary/#datasets-formats-and-storage).
- Meta. [VRS CLI tool](https://facebookresearch.github.io/vrs/docs/VrsCliTool) documentation.
- MBARI. [Triton video sampling: quality metrics](https://docs.mbari.org/triton-video-sampling/algorithm/metrics/).
- Roychowdhury and Sato (2021). [Video-Data Pipelines for Machine Learning Applications](https://arxiv.org/abs/2110.11407). arXiv.
- Wang et al. (2024). [EgoVid-5M](https://arxiv.org/abs/2411.08380). arXiv.
- Lee, J. Y. et al. (2026). [Ego-1K](https://arxiv.org/abs/2603.13741). *CVPR*.
- Grauman, K. et al. (2024). [Ego-Exo4D](https://arxiv.org/html/2311.18259v4). *CVPR*.
- Ali, Q. et al. (2026). [RoboCap: A New Platform for Egocentric Robot Learning](https://arxiv.org/abs/2610.07217). arXiv.
- Lightwheel. [EgoStandard dataset card](https://huggingface.co/datasets/LightwheelAI/EgoStandard).
- Gebru et al. [Datasheets for Datasets](https://arxiv.org/abs/1803.09010v2).
- Pushkarna et al. (2022). [Data Cards](https://arxiv.org/pdf/2204.01075.pdf). *FAccT*.
- Unidata. [Egocentric Data Collection for Robot Training: What Actually Works in Production](https://unidata.pro/blog/egocentric-data-collection-for-robot-training/). Vendor guide.
- Claru. [How to Collect Egocentric Video Data for AI Training](https://claru.ai/guides/how-to-collect-egocentric-video-data). Vendor guide.
