Abstract
TrackMe is an open-source, Python-based annotation tool designed to streamline the labor-intensive process of labeling data for Multiple Object Tracking (MOT). By building upon the popular LabelMe interface and integrating Gaussian Process Regression for box interpolation and YOLO-v8/SORT for automated ID association, it significantly reduces the manual effort required to create high-quality video datasets, particularly for non-standard subjects like animals.
Introduction
While deep learning has revolutionized Multiple Object Tracking (MOT), most state-of-the-art models are trained on narrow datasets featuring common objects like humans and cars. Extending these capabilities to fields like animal behavior analysis requires massive amounts of new, annotated data.
The bottleneck isn't data collection—high-quality cameras are everywhere—but rather data annotation. Existing tools often fall short for specialized research: some are locked to specific operating systems, others are overly complex for non-CS experts, and many rely on pre-trained models that fail when encountering "irregular" objects or specific animal species. TrackMe provides a lightweight, cross-platform, and intuitive solution specifically tailored for the MOT workflow.
Methodology
TrackMe is developed as an enhanced version of the widely used LabelMe tool, maintaining its simplicity while introducing three critical features for video tracking:
1. Box & ID Interpolation
Instead of standard linear interpolation, TrackMe utilizes Gaussian Process Regression (GPR) with a Rational Quadratic Kernel. This approach predicts object coordinates across missing frames by accounting for non-linear movement, resulting in smoother paths that are more resilient to noisy manual inputs—a crucial feature for tracking animals with unpredictable motion.
2. ID Association
To automate the assignment of unique IDs across frames, the tool integrates a tracking-by-detection pipeline. It uses YOLO-v8 for detection and algorithms like SORT (Simple Online and Realtime Tracking) for association.
Users can choose to "Track from Scratch" for full automation or "Track with Current Annotation" to propagate manually assigned IDs forward, facilitating a human-in-the-loop workflow.
3. Batch Modification
To handle algorithmic errors, the "Box & ID Modification" dialog allows users to delete boxes or swap IDs/labels across a range of frames simultaneously, avoiding the need for frame-by-frame manual editing.
Key Insights
- Non-linear Interpolation: The use of GPR acknowledges that real-world movement is probabilistic rather than strictly linear, improving the quality of interpolated tracks.
- Accessibility: By remaining Python-based and extending the familiar LabelMe UI, the tool lowers the barrier to entry for researchers in biology or agriculture who may lack deep software engineering backgrounds.
- Corrective Workflow: The ability to blend manual precision with algorithmic speed through the "Track with Current Annotation" feature optimizes the annotation pipeline.
Results and Conclusion
The primary outcome is the public release of the TrackMe tool. It successfully integrates detection, tracking, and interpolation into a single lightweight GUI, significantly minimizing the manual labeling burden. While currently utilizing YOLO-v8 and SORT, the architecture is designed to incorporate future state-of-the-art association methods. Future work will focus on expanding labeling utilities beyond bounding boxes and further refining the open-source codebase for broader community contribution.
Summary updated