Abstract
Tracking vehicles across city-wide camera networks, known as Multi-Target Multi-Camera (MTMC) tracking, remains a significant challenge due to visual variance and computational complexity. Researchers from Nanjing Fiberhome Tiandi have developed a robust system that integrates deep learning-based Re-identification (ReID) with a novel spatial-temporal filtering strategy. By utilizing virtual entry/exit lines and GPS-based distance estimation to prune potential matches, the system significantly reduces false positives. This approach secured 6th place in the 2021 AI City Challenge with an IDF1 score of 0.5763.
The Challenge of Urban Vehicle Tracking
While tracking a vehicle within a single video feed is a relatively mature technology, "handing off" that identity across a network of cameras is difficult. The authors identify three primary hurdles:
- Visual Variance: Changes in camera angles, lighting, and distance drastically alter a vehicle's appearance.
- Ambiguity: Many vehicles of the same make and model appear identical, leading to identity switches.
- Computational Cost: Brute-force comparison of every detected vehicle across all cameras is inefficient and prone to errors.
System Architecture and Pipeline
The proposed system follows a modular three-step pipeline designed to handle these challenges efficiently.
1. Single-Camera Tracking (MTSC)
The system begins with detection and tracking within individual feeds. Mask R-CNN is employed for high-quality instance segmentation, while DeepSORT links these detections into "tracklets." A critical innovation here is the Query Image Selection technique: rather than selecting a random frame, the system chooses the frame where the vehicle is largest and least occluded, ensuring the cleanest possible feature set for subsequent matching.
2. Vehicle Re-identification (ReID)
To match vehicles across different cameras, the team built a ReID model using a ResNet101-ibn-a backbone with a BN-Neck (Batch Normalization Neck). The model is trained using a synergistic "aggregation loss" strategy:
- Cross-Entropy Loss: For basic classification.
- Triplet Loss: To maximize the distance between features of different cars while minimizing the distance between features of the same car.
- Center Loss: Specifically used to reduce intra-class variance, making appearance features more consistent across disparate viewpoints.
Beyond Visuals: Spatial-Temporal Filtering
The core innovation of this research is the use of physical road geometry to prune the search space. Instead of comparing every vehicle, the authors apply two filters:
- Spatial Filter: Virtual "entry" and "exit" lines are defined at intersections. A vehicle is only considered for cross-camera matching if it crosses these lines in a specific direction.
- Temporal Filter: Using camera projection matrices, the system calculates GPS coordinates for each vehicle. By estimating the driving distance between cameras and assuming a maximum velocity, the system creates a valid "time window." If a vehicle appears in a subsequent camera too early or too late, the match is discarded.
Key Results and Performance
The system was evaluated on the AI City Challenge 2021 (Track 3) dataset. Key performance metrics include:
- Challenge Ranking: The system achieved an IDF1 score of 0.5763, placing 6th overall.
- ReID Superiority: The ReID model achieved a Rank-1 accuracy of 78.7% on internal validation sets, significantly outperforming the baseline Multi-domain learning (DMT) method (67.3%).
- Ablation Studies: Fine-tuning DeepSORT parameters, such as
max_ageandiou_distance, proved vital to reaching the final competitive score.
Conclusion and Future Work
The research demonstrates that visual features alone are insufficient for city-scale tracking. By integrating spatial-temporal constraints, the search space is drastically reduced, suppressing false matches from visually similar vehicles. Future work may focus on automating the setup of virtual lines and integrating real-time traffic flow data to dynamically adjust temporal windows in complex urban environments.
Summary updated