Abstract
Planar object tracking is a fundamental task in computer vision, essential for applications ranging from augmented reality to video editing. Despite recent advances in deep learning, existing trackers often struggle with heavy occlusions, rapid motion, and cumulative drift. We present HVC-Net, a unified framework that jointly learns homography estimation, visibility masks, and tracking confidence. By integrating these components into an iterative Lucas-Kanade (LK) pipeline and utilizing cost volumes for motion reasoning, HVC-Net achieves state-of-the-art performance on major benchmarks. Our approach demonstrates that explicit visibility modeling and confidence-based re-initialization significantly enhance robustness in challenging real-world scenarios.
1. Introduction
Planar object tracking involves estimating the geometric transformation—specifically the homography—of a flat surface across a video sequence. While traditional methods relied on hand-crafted features like SIFT, the field has transitioned toward convolutional neural networks (CNNs). However, many CNN-based trackers treat homography estimation as a direct regression problem, often ignoring the underlying visibility of the target or the reliability of the prediction. This leads to failure in the presence of three primary challenges: appearance variations (lighting, blur), rapid relative motion, and partial or total occlusion.
To address these limitations, we introduce HVC-Net. This framework unifies homography (H), visibility (V), and confidence (C) learning, creating a synergistic model where each component informs the others to maintain stable tracking under adverse conditions.
2. Methodology
HVC-Net decomposes the tracking problem into three interconnected modules embedded within a multi-scale Lucas-Kanade framework.
2.1 Correlation Blocks and Cost Volumes
Rather than regressing coordinates directly from raw pixels, HVC-Net utilizes a U-Net-like architecture to extract deep features. These features are used to construct "cost volumes," which represent the distribution of pixel correlations across a search window. This explicit representation of local motion allows the network to reason about geometric displacements more effectively than "black box" regression models.
2.2 Joint Homography and Visibility Learning
The "HV" components are learned simultaneously. The network predicts an 8-degree-of-freedom (8-DOF) homography alongside a binary visibility mask. This mask identifies which regions of the reference template are currently visible versus those obscured by occluders. A key finding of this work is that joint training improves feature representations: the visibility task teaches the network to ignore "distractor" pixels that do not conform to the expected geometric transformation, thereby refining the homography estimate.
2.3 Tracking Confidence and the Reboot Mechanism
The "C" component estimates a confidence score (0 to 1) by analyzing the "flatness" or "sharpness" of the correlation distributions within the cost volumes. High confidence corresponds to sharp, unambiguous correlation peaks. If the confidence score falls below a specific threshold—indicating potential tracking failure—the system triggers a "reboot" mechanism. This allows the tracker to re-initialize from a previous reliable state, preventing the cumulative error drift that typically plagues iterative trackers.
2.4 The LK-based Pipeline
These modules are integrated into a multi-scale iterative pipeline. A "sampling trick" is employed to warp the target area into a normalized, fixed-size template. This ensures the CNN processes the object at a consistent resolution, regardless of its actual distance or orientation in the frame.
3. Experiments and Results
3.1 Datasets and Training
The model was trained on a massive synthetic dataset of 280,000 image pairs derived from MS-COCO. To simulate real-world complexity, the authors introduced random brightness/contrast shifts, motion blur, and artificial occlusions using random polygons cropped from natural images.
3.2 Performance Benchmarks
Evaluation was conducted on two primary benchmarks:
- Planar Object Tracking (POT): 210 videos featuring 30 objects in natural environments.
- Template Matching and Tracking (TMT): 100 sequences focused on complex manipulation tasks.
HVC-Net (specifically the Ours-DPMR variant) outperformed existing methods such as SIFT, DeepHomography, and IC-STN. On the POT dataset, the model showed significantly higher precision, particularly in the "Occlusion" category. On the TMT dataset, HVC-Net achieved a near-perfect success rate (Alignment Error < 5 pixels) in challenging categories like "Bus" and "Highlight," where traditional methods often failed.
3.3 Computational Efficiency
Despite its multi-component architecture, HVC-Net maintains a processing speed of approximately 10Hz on a commodity GeForce GTX 1080 GPU, making it suitable for near-real-time applications.
4. Discussion and Conclusion
HVC-Net demonstrates that visibility is a "superpower" for planar tracking; predicting what not to look at is as important as predicting motion. By bridging traditional geometric vision (LK iterations and cost volumes) with deep learning, the model provides a robust solution to occlusion and drift.
Future work will focus on improving visibility mask accuracy when occluders share similar textures with the target and incorporating temporal constraints across longer frame windows to handle sudden, total occlusions more gracefully.
Summary updated