Introduction
Deep learning models for video object detection and segmentation require vast amounts of densely annotated data. Manually outlining objects in every frame—a process known as masking—is an "exhausting, tedious, and extremely time-consuming" task. While interactive tools exist for static images, they often fail to leverage the temporal continuity of video, forcing annotators to work frame-by-frame.
The Challenge of Video Annotation
Existing automated tools are often restricted to specific object categories (e.g., cars or people). To address this, we present a category-agnostic system that allows human annotators to guide an AI through simple interactions, significantly reducing the manual labor required for high-quality video datasets.
Methodology
The system architecture bridges a user-friendly front-end with a powerful back-end capable of real-time mask generation and propagation.
Control-Point-based Scribbles-to-Mask (CPSM)
Instead of defining complex polygons, users provide simple "scribbles" on a keyframe. The CPSM module converts these scribbles into a set of control points. A backpropagating refinement algorithm then generates a multi-object mask, which is further polished using a memory-based model (STM).
Multi-Referenced Guided Segmentation (MRGS)
Once a mask is established for a single frame, the MRGS module propagates it to adjacent frames. Unlike standard trackers that use rectangular bounding boxes, MRGS utilizes a "natural-shaped Region-of-Interest (ROI)" that follows the object's contours. This approach, which leverages a DeepLab3+ model trained on MS-COCO and DAVIS datasets, minimizes background noise and improves accuracy when objects are in close proximity.
System Architecture and Feedback Loop
The system is designed for continuous interaction. If propagation errors occur due to occlusion or fast motion, the user can intervene with corrective scribbles. The system then re-propagates these corrections bi-directionally (forward and backward) to maintain consistency.
Key Insights
- Efficiency via Control Points: Treating scribbles as sampled control points allows optimization algorithms to "shrink-wrap" masks faster than manual drawing.
- Natural-Shaped ROIs: Contoured ROIs reduce ambiguity in complex scenes compared to traditional rectangular boxes.
- Reliable Reference Selection: The system automatically filters out low-quality reference frames (e.g., blurry or anomalous masks) to ensure robust propagation.
Results
The system's performance was validated during the DAVIS 2020 Challenge:
- Interactive Segmentation: The CPSM module secured 2nd place with an AUC of 76.7.
- Semi-Supervised Segmentation: The MRGS module achieved 4th place with a global score of 79.3.
Conclusion
This interactive framework demonstrates that human-in-the-loop systems can drastically accelerate video annotation without sacrificing precision. Future work will explore additional interaction modalities, such as clicks or boundary dragging, to further streamline the process for complex visual scenarios.
Summary updated