CityTrack: Improving City-Scale Multi-Camera Multi-Target Tracking by Location-Aware Tracking and Box-Grained Matching

Jincheng Lu, Xipeng Yang, Jin Ye, Yifu Zhang, Zhikang Zou, Wei Zhang, Xiao TanarXiv 2023 · DOI

Abstract

Multi-Camera Multi-Target Tracking (MCMT) is a critical component of modern intelligent transportation systems. However, tracking vehicles across large-scale city networks is complicated by appearance variance, frequent occlusions, and the inherent ambiguity of similar-looking targets. This paper presents CityTrack, a framework designed to overcome these challenges using a location-aware single-camera tracker and a novel box-grained matching strategy. CityTrack achieved state-of-the-art performance, winning 1st place in the 2022 AI City Challenge with an IDF1 score of 84.91% on the CityFlowV2 benchmark.

Introduction

The goal of Multi-Camera Multi-Target Tracking (MCMT) is to maintain a consistent identity for a vehicle as it traverses a complex urban environment monitored by dozens of cameras. This task is exceptionally difficult due to three primary factors:

  1. Appearance Variance: Vehicles look different under varying camera angles, lighting conditions, and perspectives.
  2. Broken Trajectories: In dense urban traffic, vehicles often stop at red lights or are occluded by larger vehicles, causing standard trackers to lose the target.
  3. Feature Ambiguity: Many vehicles share similar makes and colors. Standard methods that use a single "average" feature to represent a trajectory often lose the subtle details needed to distinguish between similar targets.
CityTrack tracks a vehicle across multiple camera views in a city-scale network.

Methodology

CityTrack introduces a two-stage improvement to the standard tracking pipeline, focusing on both intra-camera consistency and inter-camera association.

Location-Aware Single-Camera Tracking (SCMT)

To prevent ID switches within a single camera view, the authors enhanced the baseline tracker with three location-aware strategies:

  • Stationary Sensitive Association (SSA): Designed for intersections, this module tracks vehicles that have stopped, preventing the system from "forgetting" them during long red lights.
  • Trajectory Re-Link (TRL): A greedy matching algorithm that identifies fragmented trajectories and attempts to stitch them back together based on appearance similarity.
  • Bidirectional Tracking (BT): The system runs the tracker both forward and backward in time, helping to recover targets missed by the detector during entry or exit.

Box-Grained Matching (BGM)

The core innovation for Inter-Camera Association (ICA) is Box-Grained Matching. Traditional methods typically calculate a single mean feature for a vehicle's entire trajectory (tracklet-grained). CityTrack instead calculates the distance between every individual bounding box in the exiting camera and every box in the entering camera. This "box-grained" approach ensures that discriminative frames are not lost to averaging. The system further employs a k-reciprocal nearest neighbor rule to enforce mutual matching consistency and utilizes temporal priors to filter out logically impossible vehicle transitions.

The CityTrack pipeline features Location-Aware SCMT and Box-Grained Inter-Camera Association (ICA).

Evaluation and Results

The framework was evaluated on the CityFlowV2 benchmark, which consists of 46 cameras across 16 intersections. To bolster the Re-Identification (ReID) model, the researchers used synthetic data from the VehicleX 3D engine to augment the training set.

CityTrack secured 1st place in the 2022 AI City Challenge (Track 1), achieving an IDF1 score of 84.91%, outperforming the runner-up by over 1%. Ablation studies demonstrated the effectiveness of the proposed modules: the "Location-Aware" strategies alone improved the baseline SCMT IDF1 from 86.87% to 89.48%, while Box-Grained Matching proved significantly more accurate than traditional tracklet-wise Hungarian matching.

Conclusion

CityTrack demonstrates that incorporating spatial context and fine-grained feature matching can significantly improve the robustness of city-scale tracking systems. While the current reliance on manual zone definitions and the computational cost of box-grained matching present areas for future optimization, the framework sets a new state-of-the-art for MCMT performance in complex urban environments.

Summary updated

BibTeX
@misc{lu2023citytrack,
  author = {Jincheng Lu and Xipeng Yang and Jin Ye and Yifu Zhang and Zhikang Zou and Wei Zhang and Xiao Tan},
  title = {{CityTrack: Improving City-Scale Multi-Camera Multi-Target Tracking by Location-Aware Tracking and Box-Grained Matching}},
  year = {2023},
  eprint = {2307.02753},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2307.02753},
}
Figure