C301 Lesson 4: Quality Control, 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, Storage, Upload and Data Volume, Recording Containers and Documenting a Dataset.
Terms used in this lesson
Section titled “Terms used in this lesson”See also the glossary’s datasets, formats and storage section.
| 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
Section titled “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). 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 |
Set thresholds on your own footage
Section titled “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). 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). 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).
- 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). 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).
Sync and calibration, every session
Section titled “Sync and calibration, every session”Timing and calibration errors leave no trace in a single frame (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). 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). Courses C201 and C203 cover the methods.
Curation order
Section titled “Curation order”- Privacy first. Claru: “Run privacy processing BEFORE any annotation begins — annotators should never see unblurred faces.” (Claru guide). 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). The methods are on 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).
- Check clip boundaries and that clip and label agree, as on Quality Control.
Offload, integrity and the uplink
Section titled “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).
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). 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):
Required uplink (Mbps) = daily volume (GB) × 8,000 / (upload window (h) × 3,600) / link efficiencyAt 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). 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
Section titled “Containers, and counting hours once”Three containers cover most public egocentric capture (Recording Containers): 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.
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). Keep hour counts in a manifest so a representation is never counted as new data.
Document from the start
Section titled “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). 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.
Two rules from the field guide’s sources (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): 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
Section titled “Self-check”- A file reports 30 fps on average. Why log frame gaps anyway, and which four numbers?
- A colleague copies MBARI’s sharpness threshold of 25 into your pipeline. What should you do instead?
- 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?
- Your release ships each episode as MCAP and as LeRobot. What must the card say?
- When should the datasheet’s collection questions first be read?
Answers
Section titled “Answers”- 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.
- 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.
- 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.
- That they are alternative representations of the same episodes and must not be counted as additional hours.
- Before any data is collected; they are answered once collection is complete.
Sources
Section titled “Sources”- Field guide: Quality Control for Egocentric Footage, Storage, Upload and Data Volume, Recording Containers: VRS, MCAP and GPMF, Documenting a Dataset, Anonymisation, glossary.
- Meta. VRS CLI tool documentation.
- MBARI. Triton video sampling: quality metrics.
- Roychowdhury and Sato (2021). Video-Data Pipelines for Machine Learning Applications. arXiv.
- Wang et al. (2024). EgoVid-5M. arXiv.
- Lee, J. Y. et al. (2026). Ego-1K. CVPR.
- Grauman, K. et al. (2024). Ego-Exo4D. CVPR.
- Ali, Q. et al. (2026). RoboCap: A New Platform for Egocentric Robot Learning. arXiv.
- Lightwheel. EgoStandard dataset card.
- Gebru et al. Datasheets for Datasets.
- Pushkarna et al. (2022). Data Cards. FAccT.
- Unidata. Egocentric Data Collection for Robot Training: What Actually Works in Production. Vendor guide.
- Claru. How to Collect Egocentric Video Data for AI Training. Vendor guide.