TL;DR
The AAU Multimodal Annotation Toolboxes offer a specialized, open-source solution for generating high-quality bounding box and pixel-level annotations across both RGB and thermal modalities. By integrating features like temporal interpolation and multimodal registration, these tools significantly streamline the labeling process for complex video sequences.
What Problem Does This Paper Address?
In the era of deep learning, the performance of computer vision systems is inextricably linked to the quality and quantity of annotated data. While massive public datasets exist, researchers often encounter a "data bottleneck" when working in niche domains—such as agricultural monitoring or industrial defect detection—or when utilizing non-standard sensors like thermal cameras.
Existing annotation tools often lack native support for multimodal data or fail to provide efficient workflows for sequential video data. The authors from Aalborg University’s Visual Analysis of People (VAP) Laboratory developed these toolboxes to fill this gap, providing a flexible framework for researchers who need to build custom, high-precision datasets for real-world applications.
Methods
The authors present two distinct C++ toolboxes built on the OpenCV and Qt libraries: the Bounding Box Annotator and the Multimodal Pixel Annotator.
- Bounding Box Annotator: Designed for speed, it allows users to draw rectangles around objects. Its standout feature is temporal interpolation: if a user annotates an object in frame 1 and frame 6, the tool can automatically generate the intermediate boxes for frames 2 through 5, assuming near-linear motion.
- Multimodal Pixel Annotator: This tool provides fine-grained control for semantic or instance segmentation. It offers three primary workflows:
- GrabCut Integration: Users initialize a box, and the GrabCut algorithm performs an initial segmentation that can be iteratively refined with "true positive" and "negative" brushes.
- Manual Brushes: Standard paint-style tools for pixel-by-pixel corrections.
- Polygon Tools: For defining rigid objects with well-defined borders.
Both tools share a common backend that handles unique object IDs, class tags, and customizable binary metadata (e.g., "is the object occluded?").
Datasets
While the paper focuses on the toolboxes themselves, it highlights their versatility by listing diverse projects where they have been successfully deployed. These include:
- Human and Road User Detection: Including the AAU Trimodal People Segmentation Dataset.
- Agriculture & Biology: Annotating pigs, fish, and even chicken entrails.
- Industrial: Detecting material defects.
- Infrastructure: Road sign recognition.
Key Insights and Ideas
- Multimodal Synchronization: Perhaps the most critical feature is the support for RGB and thermal views. The tools use homography-based registration to link coordinates between modalities. This allows an annotation made in the RGB view to be accurately projected onto the thermal view, ensuring consistency across sensors.
- "Don't Care" Masks: To handle ambiguous regions or focus the annotator's attention, the tools support "don't care" masks. These define specific regions of interest (ROI) where annotations are required, helping to maintain dataset consistency.
- Workflow Efficiency: The tools emphasize keyboard shortcuts and "retain" functions (copying annotations to the next/previous frame) to minimize repetitive manual labor in video sequences.
Key Results
The toolboxes have proven their practical utility in a research environment, having been used to annotate tens of thousands of frames.
To ensure the data is immediately useful for modern ML pipelines, the tools include robust export options. The Bounding Box Annotator supports the YOLO/Darknet format, while the Pixel Annotator can export to the COCO API format (JSON), supporting both polygon and run-length encoding (RLE) representations.
Limitations and Future Work
The authors acknowledge a few technical constraints:
- Sequential Image Loading: The tools do not support video files (like .mp4) directly due to OpenCV's limitations with accurate temporal seeking; videos must be pre-converted into image sequences.
- Planar Constraint: The current multimodal registration relies on a single homography, which may lose accuracy if objects are not on the same plane.
- Codebase Split: Currently, the two tools are separate. Future work aims to merge them into a single unified interface where bounding boxes, polygons, and pixel masks are treated as hierarchical levels of the same annotation task.
The source code and binaries are available under the MIT license on Bitbucket, encouraging community adoption and contribution.
Summary updated