YouTube-BoundingBoxes: A Large High-Precision Human-Annotated Data Set for Object Detection in Video

Esteban Real, Jonathon Shlens, Stefano Mazzocchi, Xin Pan, Vincent Vanhoucke

Abstract

We introduce a new large-scale data set of video URLs with densely-sampled object bounding box annotations called YouTube-BoundingBoxes (YT-BB). The data set consists of approximately 380,000 video segments about 19s long, automatically selected to feature objects in natural settings without editing or post-processing, with a recording quality often akin to that of a hand-held cell phone camera. The objects represent a subset of the COCO label set. All video segments were human-annotated with high-precision classification labels and bounding boxes at 1 frame per second. The use of a cascade of increasingly precise human annotations ensures a label accuracy above 95% for every class and tight bounding boxes. Finally, we train and evaluate well-known deep network architectures and report baseline figures for per-frame classification and localization. We also demonstrate how the temporal contiguity of video can potentially be used to improve such inferences. The data set can be found at https://research.google.com/youtube-bb. We hope the availability of such large curated corpus will spur new advances in video object detection and tracking.

Introduction

While computer vision has seen explosive growth due to datasets like ImageNet and COCO, these resources primarily focus on static images. Video presents a unique set of challenges: while abundant, it is often weakly labeled with noisy tags and contains high redundancy between frames. Furthermore, many existing video datasets suffer from "aesthetic bias," featuring professionally shot, well-lit, and centered subjects.

To address this, we introduce YouTube-BoundingBoxes (YT-BB), a massive dataset designed to capture objects "in the wild." By focusing on non-professional video—featuring shaky cameras, poor lighting, and unconventional angles typical of hand-held devices—YT-BB provides the high-precision labels necessary to move beyond static image models and exploit the temporal continuity of real-world video.

The Annotation Pipeline

To achieve high quality at an unprecedented scale, we developed a four-stage human annotation cascade:

  1. Filtering: Automated signals identified videos with actual motion and minimal professional editing. Low-threshold classifiers then flagged candidate segments for 23 specific object classes.
  2. Verification: Crowdsourced workers confirmed the presence of the target objects within 19-second clips.
  3. Bounding Box Annotation: Dedicated, trained annotators drew tight boxes around objects at a rate of one frame per second.
  4. Final Validation: Every box underwent verification by additional raters. Annotations were only accepted if a consensus was reached, ensuring a label accuracy above 95%.

Dataset Scale and Composition

YT-BB is the largest human-annotated video detection dataset of its kind, exceeding previous efforts by more than an order of magnitude. It contains approximately 380,000 video segments (19 seconds each) resulting in 5.6 million bounding boxes. To facilitate direct comparison with image-based models, YT-BB utilizes a subset of 23 labels from the COCO dataset, such as person, dog, and airplane.

Visual examples and statistics of the YT-BB dataset compared to other major computer vision datasets.

Observations on Video vs. Images

Our experiments revealed several key insights into the nature of video data:

  • The Domain Gap: Models trained exclusively on static COCO images perform significantly worse when tested on YT-BB video. This suggests that "natural" video contains visual complexities—such as motion blur and occlusions—that curated image datasets do not fully capture.
  • Temporal "Freebies": The temporal contiguity of video allows for simple yet effective performance boosts. Techniques like temporal smoothing (averaging predictions over a segment) or filtering out single-frame "spurious" detections provide immediate improvements in accuracy.
  • Robust Feature Learning: By intentionally mining videos with low view counts and high motion, we avoid "canonical" viewpoints, forcing models to learn more robust features that generalize to real-world conditions.

Performance Benchmarks

We established baselines using well-known architectures like Inception-v3 and Faster R-CNN. Models trained on YT-BB consistently outperformed those trained on static datasets when evaluated on video data. For classification, the YT-BB model achieved a 0.93 mAP, compared to 0.83 mAP for a COCO-trained model. In detection tasks, the YT-BB model reached 0.59 mAP (at 50% IoU), significantly higher than the COCO model's 0.37 mAP.

Precision-recall curves comparing models trained on YT-BB versus COCO, demonstrating the superior performance of the YT-BB model on video data.

Future Directions

While YT-BB represents a significant leap forward, there are clear avenues for future work. Currently, the dataset covers 23 classes; expanding this to the full COCO set is a logical progression. Additionally, we noted a challenge with the "person" class: because it is so ubiquitous, it was not exhaustively labeled in every frame, sometimes leading to false positives during evaluation where a model correctly identifies a person that a human rater omitted.

Ultimately, we believe the greatest potential for this dataset lies in the development of advanced temporal architectures, such as RNNs or LSTMs, that can reason about how objects move and evolve over time.

Summary updated

BibTeX
@inproceedings{real2017youtube,
  author = {Esteban Real and Jonathon Shlens and Stefano Mazzocchi and Xin Pan and Vincent Vanhoucke},
  title = {{YouTube-BoundingBoxes: A Large High-Precision Human-Annotated Data Set for Object Detection in Video}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2017},
  url = {https://openreview.net/forum?id=SyVXGC-_ZH},
}
Figure