Rapid Object Annotation

Misha DenilarXiv 2024 · DOI

Introduction

Training machine learning models to detect novel objects—those not present in standard datasets like COCO—requires significant amounts of labeled data. While capturing video of a new object is straightforward, manually annotating every frame with bounding boxes is a time-consuming and expensive bottleneck. This work introduces a specialized UI and workflow that leverages pre-trained "objectness" priors to accelerate video annotation by over five times.

Methodology

The system is built upon a modified CenterNet architecture. Unlike traditional detectors that rely on anchor boxes, CenterNet identifies objects as single points (centers) and regresses the bounding box dimensions from those points.

The annotation interface features a video timeline with sparklines that visualize tracking stability, allowing users to quickly identify and correct errors.

Key technical innovations include:

  • Feature-based Tracking: The tool utilizes "descriptors" (high-dimensional feature vectors) from CenterNet. When a user annotates two distant frames, the system interpolates these descriptors in feature space and matches them to nearest neighbors in intermediate frames to "fill in" the track.
  • Sparklines: Small trend lines under the video timeline visualize changes in object location and box area. Sudden spikes serve as visual cues, indicating where automatic tracking likely failed.
  • Smartjump: This navigation feature automatically moves the playhead to frames where the track shifts most drastically, enabling rapid error correction.
  • Feature Caching: To maintain a responsive UI, the system pre-processes videos to cache descriptors and box predictions, avoiding real-time neural network inference latency.

Experimental Setup

The tool was evaluated using three "novel" objects designed to present distinct challenges:

  1. Infra-red thermometer: A rigid, unique shape.
  2. Pliers: An articulated, non-convex object that changes shape during movement.
  3. Alarm clock: A standard but visually detailed object.
Evaluation was performed on three novel objects: a rigid IR thermometer, articulated pliers, and a detailed alarm clock.

For each object, 30-second videos (300 frames) were captured using both handheld and stationary cameras. The "objectness" priors were derived from models pre-trained on the MSCOCO dataset.

Key Insights

  • The Power of "Objectness" Priors: Models trained on general datasets like COCO develop a fundamental understanding of what constitutes an object. This tool leverages that knowledge to predict boundaries for unknown classes.
  • Visualizing Uncertainty: The inclusion of Sparklines is a critical UI innovation. By visualizing the "derivative" of the track, the tool surfaces errors that would otherwise require manual frame-by-frame inspection.
  • Interpolation over Tracking: Using interpolation between two human-verified points, rather than forward-time tracking, constrains error drift and improves robustness.

Results and Discussion

The optimized workflow achieved a 5.3x increase in annotation speed compared to "Extreme Clicking" (a baseline where users click the four edges of an object). The system produced approximately 0.75 high-quality bounding boxes per second of human effort, compared to 0.14 boxes per second for the baseline. While automated labels were slightly lower in quality (measured by Intersection over Union) than manual ground truth, they remained highly effective for training downstream detectors.

Limitations and Future Work

The system occasionally struggled with "model distractions," where the underlying COCO-trained model preferred common background objects (like tables) over the novel object. Additionally, users found even minor UI latencies (0.5–1.0 seconds) frustrating, suggesting a need for tighter backend integration. Future work may explore hybrid approaches that combine "Extreme Clicking" with on-the-fly descriptor learning to further refine boundary definitions.

Summary updated

BibTeX
@misc{denil2024rapid,
  author = {Misha Denil},
  title = {{Rapid Object Annotation}},
  year = {2024},
  eprint = {2407.18682},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2407.18682},
}
Figure