# Quality Control for Egocentric Footage

> How to check egocentric recordings from ingest to a clean training set: file and manifest integrity, frame-timing checks with ffprobe, blur, exposure and entropy metrics and how to set their thresholds, motion and hand-visibility filters, hand-pose confidence, sync and calibration checks on stereo and multi-camera rigs, and the order of curation steps. Every threshold is given with the dataset or tool it came from.

Page: https://egocam.ai/capture-ops/quality-control/

**Quality control (QC)** is the set of automated and human checks a recording goes through before it is used: is the file complete, did every frame arrive on time, is the image sharp and exposed, are the hands in view, do the streams line up in time, and has private information been removed. **Curation** is the filtering that follows, which scores, cuts and deduplicates the accepted hours into a training set.

On current rigs, QC covers several streams at once. Stereo head rigs with an IMU are the baseline, such as [EgoLive](https://egocam.ai/datasets/robot-learning-datasets/)'s JoyEgoCam (2160×2160 per camera at 60 fps, 200 Hz IMU; [EgoLive](https://arxiv.org/pdf/2604.23570)). Public rigs with more cameras, such as the six-camera [RoboCap](https://arxiv.org/abs/2610.07217) hat and Meta's 12-camera [Ego-1K](https://arxiv.org/abs/2603.13741) rig, add checks between cameras: their calibration drifts, and every stream has to share one time base. See [current capture rigs](https://egocam.ai/hardware/current-capture-rigs/) and [head-plus-wrist capture](https://egocam.ai/hardware/head-plus-wrist-capture/). Single-camera footage needs only the per-stream checks. Where QC sits in the whole flow is covered in [anatomy of a capture pipeline](https://egocam.ai/basics/anatomy-of-a-capture-pipeline/).

## Reference: what to check on every recording

The thresholds in this table are the published values from the named source, for that source's data. None of them is a universal setting. Recompute them on your own footage, as described under [setting thresholds on your own footage](#setting-thresholds-on-your-own-footage).

| Check | What to measure | Published example | Source |
| :--- | :--- | :--- | :--- |
| File integrity | Every record decodes | `vrs check` on VRS files | [VRS CLI tool](https://facebookresearch.github.io/vrs/docs/VrsCliTool) |
| Manifest | Each clip has its metadata and each device its calibration file | Egocentric-10K: a `.json` per `.mp4`, an `intrinsics.json` per worker folder | [Egocentric-10K](https://huggingface.co/datasets/builddotai/Egocentric-10K) |
| Hour counting | The same episode is not counted twice | EgoStandard: LeRobot and MCAP copies are the same episodes | [EgoStandard](https://huggingface.co/datasets/LightwheelAI/EgoStandard) |
| Frame timing | Gaps between frame timestamps against `1000 / fps` ms | Mean, 99th percentile, maximum gap and slow-frame count per file | [ffprobe frame-time gist](https://gist.github.com/dreness/916025a5f049c94f2177) |
| Brightness | Mean grayscale intensity, 0–255 | Underwater defaults: reject below 20 and above 220 | [MBARI Triton](https://docs.mbari.org/triton-video-sampling/algorithm/metrics/) |
| Sharpness | Variance of the Laplacian | Underwater default 25; 1382×512 driving frames: 300–1000 | [MBARI Triton](https://docs.mbari.org/triton-video-sampling/algorithm/metrics/); [Roychowdhury and Sato](https://arxiv.org/abs/2110.11407) |
| Featureless frames | Shannon entropy of the grayscale histogram, 0–8 bits | Underwater default: reject below 2.5 bits | [MBARI Triton](https://docs.mbari.org/triton-video-sampling/algorithm/metrics/) |
| Clip clarity | DOVER video-quality score | EgoVid-5M kept clips with DOVER ≥ 0.3 | [EgoVid-5M](https://arxiv.org/abs/2411.08380) |
| Motion | Mean optical flow plus share of fast-moving pixels | EgoVid-5M: mean flow 3–35 px, or below 3 px with more than 3% of pixels at ≥ 12 px | [EgoVid-5M](https://arxiv.org/abs/2411.08380) |
| Hand pose | Per-joint confidence, wrist first | EgoDex: low wrist confidence means the finger joints are unreliable | [EgoDex](https://arxiv.org/abs/2505.11709) |
| Cross-camera sync | Offset at the start and end of each recording | [Ego-Exo4D](https://egocam.ai/datasets/landmark-datasets/): every GoPro within 1 frame (±16.66 ms) of the Aria RGB camera | [Ego-Exo4D](https://arxiv.org/html/2311.18259v4) |
| Calibration drift | Epipolar residual between the cameras of a pair | RoboCap: factory median 3.8 px, 0.56 px after per-session correction | [RoboCap](https://arxiv.org/abs/2610.07217) |
| Privacy | Face-detector recall before anyone views footage | Claru's guide: above 98% recall on a held-out set | [Claru guide](https://claru.ai/guides/how-to-collect-egocentric-video-data) |

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

## Ingest checks: files, manifests and frame timing

### File integrity

For VRS files, `vrs check` decodes every record and reports how many succeeded, `vrs checksum` gives a logical checksum that survives recompression (so an archive copy can be compared with the original), and `vrs fix-index` repairs a recording cut off by a crash or full disk ([VRS CLI tool](https://facebookresearch.github.io/vrs/docs/VrsCliTool)). These commands and their MCAP and MP4 equivalents are on the [recording containers page](https://egocam.ai/capture-ops/recording-formats-vrs-mcap-gpmf/).

### Manifests and hour counting

In [Egocentric-10K](https://huggingface.co/datasets/builddotai/Egocentric-10K), each TAR shard holds `.mp4` clips, each paired with a `.json` file with the fields `factory_id`, `worker_id`, `video_index`, `duration_sec`, `width`, `height`, `fps`, `size_bytes` and `codec`. Each worker folder contains an `intrinsics.json` in the OpenCV fisheye (Kannala–Brandt) model. An ingest script can check each field against the file itself and confirm the calibration file is present ([calibration in datasets](https://egocam.ai/calibration/calibration-in-datasets/)).

Count hours once. The [EgoStandard dataset card](https://huggingface.co/datasets/LightwheelAI/EgoStandard) states that "LeRobot and MCAP are alternative representations of the same episodes and must not be counted as additional hours."

### Dropped frames and frame timing

A file can report 30 fps on average and still have frozen or skipped frames. The way to see this is to read every frame's timestamp. The [`plotframetimes.py` gist](https://gist.github.com/dreness/916025a5f049c94f2177) runs:

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

It uses `pkt_pts_time` and falls back to `pkt_dts_time`, takes the difference between consecutive frames in milliseconds, and compares each gap with the target `1000 / fps` (33.333 ms at 30 fps, 16.667 ms at 60 fps). It reports the mean gap, the 99th-percentile gap, the maximum gap, and the number and percentage of slow frames (gaps longer than the target). Log those four numbers for every file. A mean on target with a large maximum is a freeze. A high 99th percentile is recurring stutter.

To the best of our knowledge, recent FFmpeg releases no longer output `pkt_pts_time` in the frame section and report `pts_time` instead, so check which field your `ffprobe` returns before trusting an empty result.

Storage that cannot keep up with the bitrate is one cause of drops; see [power, storage and bandwidth](https://egocam.ai/hardware/power-storage-and-bandwidth/).

## Image quality metrics: blur, exposure and entropy

### Choosing a sharpness measure

An [OpenCV tutorial on focus measures](https://opencv.org/autofocus-using-opencv-a-comparative-study-of-focus-measures-for-sharpness-assessment/) compares six operators on one test video, including Tenengrad (mean Sobel gradient magnitude) and the variance of the Laplacian (`np.var(cv2.Laplacian(gray, cv2.CV_64F))`). It concludes that "Sobel + Variance, Tenengrad, and Laplacian were the best methods, as they effectively captured edge sharpness", and that local variance and entropy failed. Its listed trade-off for the Laplacian is that it is "Less Affected by Global Illumination Changes" but "Very Sensitive to Noise".

### Four cheap metrics used together

The [MBARI Triton video sampler](https://docs.mbari.org/triton-video-sampling/algorithm/metrics/) is a good published template. It computes four grayscale metrics per frame and states that all of them take about 1–5 ms per 1920×1080 frame. It was written for **underwater** footage, so its numbers are a starting point, not a setting.

| Metric | Definition | Range | MBARI's interpretation and defaults |
| :--- | :--- | :--- | :--- |
| Brightness | Mean pixel value of the grayscale image (`0.299R + 0.587G + 0.114B`) | 0–255 | 0–20 "Very dark" (sensor failure, occlusion); 220–255 overexposed. Defaults `--min-brightness 20`, `--max-brightness 220`. |
| Sharpness | Variance of the 3×3 Laplacian | 0 upwards | 0–10 severe blur, 30–100 acceptable for underwater imaging. Default `--min-sharpness 25`; 50 for high-quality datasets. |
| Entropy | Shannon entropy of the 256-bin histogram | 0–8 bits | 0–2 bits is uniform (solid colour). Default `--min-entropy 2.5`. |
| Motion | Mean absolute difference from the previous frame | 0–255 | Not a gate: used to rank frames, not reject them. |

The metrics cover for each other. MBARI lists the Laplacian's limitations as "Noise sensitivity : High-frequency noise increases variance (false positive)" and "Uniform content : Featureless frames have low variance regardless of focus", and recommends combining sharpness with entropy. Its rule for motion is "Sharpness gate handles motion blur; motion is used for ranking, not filtering."

The Laplacian score depends on resolution, compression and scene content. MBARI's typical sharpness range is 20–100 on its footage. Roychowdhury and Sato, filtering KITTI driving frames (1382×512 at 10 fps), say the threshold is "usually" between 300 and 1000, and report that thresholds of 700 and 800 kept about 40% and 25% of frames ([Video-Data Pipelines for Machine Learning Applications](https://arxiv.org/abs/2110.11407)). Neither dataset is egocentric. The two ranges differ by an order of magnitude, which is why a number from one dataset can't be copied to another.

### Setting thresholds on your own footage

MBARI's tuning method transfers directly. Run the metrics over representative footage, look at the percentiles, and choose a tier:

- **Conservative** (about 70–80% of frames pass): minimum at the 10th percentile, maximum brightness at the 90th.
- **Moderate** (about 50–60% pass): 25th and 75th percentiles.
- **Strict** (about 20–30% pass): minimum at the 50th percentile, maximum brightness at the 60th.

Then inspect about 20–50 of the selected frames, adjust and rerun ([MBARI Triton](https://docs.mbari.org/triton-video-sampling/algorithm/metrics/)). Take the sample from every site, lighting condition and device in the programme.

### Learned quality scores

For [EgoVid-5M](https://arxiv.org/abs/2411.08380), a dataset curated for egocentric video *generation*, the authors write: "instead of relying on CLIP for aesthetic scoring [ 9 ] , we apply DOVER [ 63 ] to assess video clarity". All three of their filtering strategies kept clips with a DOVER score of at least 0.3.

## Motion and hand visibility

### Do not filter out a still head

Dropping clips with low average optical flow removes the ones where the head is still and the hands do fine work. [EgoVid-5M](https://arxiv.org/abs/2411.08380) handles this with a "five-point optical flow": the share of pixels whose RAFT flow falls in each of the bins 0–4, 4–8, 8–12, 12–16 and above 16 pixels. Its final strategy (the EgoVid-1M-3 subset) kept clips with average flow between 3 and 35 pixels, and also kept clips with average flow below 3 pixels when more than 3% of pixels had flow of at least 12 pixels. The authors note that such clips have "a static background while capturing detailed and extensive motion in hands."

### Hands in view

The cheapest fix is at capture time. EgoVerse instructs demonstrators to keep hands visible, enforces "basic quality constraints to maintain visibility of hands and manipulated objects," and for EgoVerse-I applies "manual quality control to retain only manipulation-dense segments" ([EgoVerse](https://arxiv.org/abs/2604.07607)). How mounts affect framing is covered in [mounts](https://egocam.ai/hardware/mounts/).

A display in front of the wearer allows feedback during the take. [ARCap](https://arxiv.org/abs/2410.08464), a Quest 3 system for collecting robot demonstrations, draws a rectangle showing the field of view of the robot's RGB-D camera so that users keep the scene inside it. It also warns, by blinking and vibration, when the hand moves faster than the robot's joint limits or the virtual robot collides with the scene. In its user study, ARCap reports "over 40% higher replay success rate and over 60% higher scene visible rate compared to DexCap."

## Hand-pose confidence

- **Check the wrist before the fingers.** EgoDex (829 hours of 1080p, 30 Hz video from Apple Vision Pro) stores a 0–1 confidence per joint, where zero means fully occluded. Its documentation warns: "Wrist confidence values (for leftHand and rightHand ) indicate whether each hand is detected as a whole, while finger joint confidence values indicate confidence relative to the wrist. If, for instance, the left index fingertip has high confidence but the left wrist has low confidence, it is unlikely that the left index fingertip is reliable." ([EgoDex](https://arxiv.org/abs/2505.11709))
- **Flag joints filled in during occlusion.** Fingers disappear at the moment of grasp. Data vendor Unidata writes that tracking models fill in occluded joints from learned pose priors and that "the filled estimates should be flagged as low-confidence rather than delivered as clean data" ([Unidata](https://unidata.pro/blog/egocentric-data-collection-for-robot-training/)).
- **Use the second camera.** On stereo rigs, a pose can be checked against both views. EgoLive estimates hand pose in each camera with a HaMeR-based method, then runs a stereo optimisation so the 3D keypoints agree with the 2D projections in each view ([EgoLive](https://arxiv.org/pdf/2604.23570)).

## Sync and calibration checks

Timing and calibration errors leave no visible trace in a single frame, so they need their own checks.

### Check sync at both ends

[Ego-Exo4D](https://arxiv.org/html/2311.18259v4) showed a QR-code clock video on a phone to every camera at the start and end of each capture. Staff verified that each GoPro "was within 1 frame (+-16.66ms) of the Aria RGB camera" near the start and the end: if the error is within a frame at both ends, it is within a frame throughout, since clock rates are close to constant. In practice about 70% of captures reached frame-accurate sync through the automated pipeline, and the remaining 30% or so were synced by hand from sharp events such as a lighter sparking, at lower accuracy. Methods: [QR, LED and flash sync](https://egocam.ai/sync/qr-and-visual-sync/), [measuring sync quality and correcting drift](https://egocam.ai/sync/drift-correction-and-verification/); error budgets: [why sync matters](https://egocam.ai/sync/why-sync-matters/).

Unidata's production guide states a tolerance per stream, with RGB as the reference clock: depth "synchronized within 1 frame of RGB", full-body skeleton "synced to within 20 ms". It warns that "A 50-millisecond offset between RGB and IMU is invisible in the raw data and catastrophic in policy training" ([Unidata](https://unidata.pro/blog/egocentric-data-collection-for-robot-training/)). These are a vendor's working figures, not measured limits; see [camera-IMU time offset](https://egocam.ai/calibration/camera-imu-time-offset/).

### Check calibration per session

Multi-camera rigs drift from their factory calibration. Across RoboCap's fleet, the relative rotation between cameras shifts by 0.2–1.1° (median about 0.5°), producing 1–5 px of epipolar residual and 1–2 cm of depth bias at manipulation range. RoboCap re-estimates the rotations once per recording session, and a correction is accepted only if it improves a held-out residual and stays within about 1° of the device's factory value ([RoboCap](https://arxiv.org/abs/2610.07217)). That acceptance rule is itself a QC gate: a session whose correction fails it needs a look. See [factory, on-device and online calibration](https://egocam.ai/calibration/factory-and-online-calibration/) and [judging a calibration](https://egocam.ai/calibration/judging-a-calibration/).

### Check every recording by eye as well

Automation doesn't replace looking. The Ego-1K team "manually checked all videos and discarded 43 problematic recordings with dark images or an insufficient number of frames", keeping 956 of 999, about 4.3% discarded ([Ego-1K](https://arxiv.org/abs/2603.13741)). For daily review during collection, Claru's guide suggests spot-checking 10–15% of each day's footage for camera positioning, focus and exposure, audio, activity coverage and environment variety ([Claru guide](https://claru.ai/guides/how-to-collect-egocentric-video-data)). Unidata gives the reason for reviewing each session before the operator leaves the capture environment: 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/)). Wearer fatigue and its effect on quality are covered in [wearers and operators](https://egocam.ai/capture-ops/wearers-and-operators/).

## Curation: the order of the steps

1. **Privacy first.** Claru's guide states: "Run privacy processing BEFORE any annotation begins — annotators should never see unblurred faces." Its pipeline blurs faces (RetinaFace or YOLO-Face), then screens and documents, then scores quality, and it advises testing face-detector recall on frames with known faces, "targeting above 98% recall." It discards videos with more than 30% low-quality frames or "unresolvable privacy issues" rather than patching them ([Claru guide](https://claru.ai/guides/how-to-collect-egocentric-video-data)). EgoStandard's footage went through automated de-identification with human verification ([EgoStandard](https://huggingface.co/datasets/LightwheelAI/EgoStandard)).
2. **Blur filter before deduplication.** Roychowdhury and Sato filter blurry frames by variance of the Laplacian first and then drop near-duplicates by structural similarity (SSIM), and warn: "Altering the order of filtering or parallelizing the two processes may lead to uneven quality in retained/training data." SSIM depends on frame rate, so they suggest a Laplacian threshold around 500 with SSIM around 0.7 for high-frame-rate video, and around 800 with SSIM around 0.2 for low-frame-rate video ([Roychowdhury and Sato](https://arxiv.org/abs/2110.11407)). Those values come from 10 fps driving footage; recompute them for yours.
3. **Check clip boundaries.** Cutting short clips from long recordings brings in the neighbouring actions. The TASTE-Rob authors note that Ego4D's long recordings were cut into clips that "often contain actions from preceding or subsequent activities, creating misalignment with the provided language instructions." TASTE-Rob avoids this at capture time: each video is under eight seconds and covers one action, started and stopped by the collector ([TASTE-Rob](https://arxiv.org/abs/2503.11423)). Protocol design is covered in [task design and protocols](https://egocam.ai/capture-ops/task-design-and-protocols/). Where boundaries are detected automatically, Claru's guide advises: "Activity boundary detection accuracy is typically 70-80%. Always have a human verify the boundaries."
4. **Check that clip and label agree.** EgoVid-5M's final strategy filtered on text-frame similarity (CLIP<sub>TF</sub> ≥ 0.26), frame-to-frame similarity (CLIP<sub>FF</sub> ≥ 0.7) and action consistency (EgoVideo score ≥ 0.22) ([EgoVid-5M](https://arxiv.org/abs/2411.08380)). Those were tuned for video generation and are an example of the method, not a target.

### How much of the raw footage survives

Published yield figures are mostly vendor claims. Claru's guide says "A 3-hour collection session typically produces 2-2.5 hours of usable footage after removing setup time and low-quality segments." Unidata claims that capture without session limits, scripting and per-session review "produces datasets where 30–40% of footage fails annotation QC". The primary figure above, Ego-1K's 43 of 999 recordings discarded, comes from short lab recordings of 8–10 seconds and won't carry over to long field sessions. Measure your own yield during the [pilot](https://egocam.ai/capture-ops/planning-a-capture-programme/).

## Prompts you can give an AI

```text
Write a Python post-ingest QC script for a folder of egocentric MP4 files. For each file:
(1) read per-frame timestamps with ffprobe (check whether my ffprobe returns pts_time or
pkt_pts_time), and report mean, 99th-percentile and maximum frame gap and the count of gaps
longer than 1000/fps ms; (2) compute per-frame grayscale brightness, variance of the
Laplacian and histogram entropy; (3) print the 10th, 25th, 50th, 75th and 90th percentiles of
each metric across all files so I can choose thresholds. Output one JSON report.
```

```text
Our head-mounted stereo footage has a mostly still head while the hands do small assembly
work. Explain why filtering by mean optical flow would discard these clips, and write a
RAFT-based function that computes the EgoVid-5M five-point flow histogram (bins 0-4, 4-8,
8-12, 12-16, >16 px) and keeps clips with mean flow below 3 px when more than 3% of pixels
have flow of at least 12 px.
```

## Sources

- [VRS CLI tool](https://facebookresearch.github.io/vrs/docs/VrsCliTool): Meta's documentation for `vrs check`, `vrs checksum` and `vrs fix-index`.
- [builddotai/Egocentric-10K](https://huggingface.co/datasets/builddotai/Egocentric-10K): dataset card.
- [LightwheelAI EgoStandard](https://huggingface.co/datasets/LightwheelAI/EgoStandard): dataset card.
- [ffprobe inter-frame delay graphing gist](https://gist.github.com/dreness/916025a5f049c94f2177): `plotframetimes.py`, frame-gap statistics from ffprobe.
- [Autofocus using OpenCV: A Comparative Study of Focus Measures](https://opencv.org/autofocus-using-opencv-a-comparative-study-of-focus-measures-for-sharpness-assessment/): OpenCV tutorial comparing six sharpness operators.
- [MBARI Triton video sampling: quality metrics](https://docs.mbari.org/triton-video-sampling/algorithm/metrics/): brightness, Laplacian sharpness, entropy and motion metrics, defaults for underwater footage, percentile tuning.
- [Video-Data Pipelines for Machine Learning Applications](https://arxiv.org/abs/2110.11407): Roychowdhury and Sato (2021); blur filtering and deduplication of video frames.
- [EgoVid-5M](https://arxiv.org/abs/2411.08380): Wang et al. (2024); a curated egocentric video-generation dataset.
- [EgoVerse](https://arxiv.org/abs/2604.07607): Punamiya et al. (2026); egocentric human dataset for robot learning.
- [ARCap](https://arxiv.org/abs/2410.08464): Chen et al. (2024); AR feedback during demonstration capture.
- [EgoDex](https://arxiv.org/abs/2505.11709): Hoque et al. (2025); Apple Vision Pro manipulation dataset.
- [EgoLive](https://arxiv.org/pdf/2604.23570): Li et al. (2026); stereo egocentric dataset.
- [Ego-Exo4D](https://arxiv.org/html/2311.18259v4): Grauman et al. (2024); QR-code sync and verification.
- [RoboCap](https://arxiv.org/abs/2610.07217): Ali et al. (2026); six-camera capture hat.
- [Ego-1K](https://arxiv.org/abs/2603.13741): Lee et al. (2026); 12-camera head rig dataset.
- [TASTE-Rob](https://arxiv.org/abs/2503.11423): Zhao et al. (2025); single-action hand-object videos.
- [How to Collect Egocentric Video Data for AI Training](https://claru.ai/guides/how-to-collect-egocentric-video-data): Claru (data vendor) guide.
- [Egocentric Data Collection for Robot Training: What Actually Works in Production](https://unidata.pro/blog/egocentric-data-collection-for-robot-training/): Unidata (data vendor) guide.
