City-Scale Multi-Camera Vehicle Tracking Guided by Crossroad Zones

Chong Liu, Yuqi Zhang, Hao Luo, Jiasheng Tang, Weihua Chen, Xianzhe Xu, Fan Wang, Hao Li, Yi-Dong Shen

Abstract

This paper presents a winning framework for the 2021 AI City Challenge (Track 3) that achieves state-of-the-art multi-camera vehicle tracking. By leveraging "Crossroad Zones"—spatial-temporal constraints based on how traffic actually flows through intersections—the authors significantly reduced matching errors and achieved a first-place IDF1 score of 0.8095.

Introduction: The Challenge of City-Scale Tracking

Multi-Target Multi-Camera Tracking (MTMCT) is often considered the "holy grail" of smart city traffic analysis. It requires a system to identify and follow the same vehicle across a network of non-overlapping cameras. The authors identify three primary hurdles:

  1. Detection Gaps: Vehicles are often missed due to motion blur, lighting, or perspective distortion.
  2. Visual Ambiguity: Different vehicles of the same make, model, and color look nearly identical (inter-class similarity).
  3. Appearance Variance: The same vehicle can look completely different when viewed from different angles or under varying lighting conditions (intra-class variance).
City-scale tracking across multiple camera views and intersections.

Standard Re-Identification (Re-ID) models often fail when relying solely on pixel data. This framework addresses these gaps by incorporating "common sense" traffic rules and intersection topology into the tracking logic.

Methodology

The framework follows a four-stage pipeline designed to transition from raw video to global trajectories.

The four-stage pipeline for multi-camera vehicle tracking, from detection to multi-camera trajectory.

1. Detection & Re-ID

The system utilizes YOLOv5x for high-precision vehicle detection. A "strong baseline" Re-ID model, based on ResNet and ResNeXt backbones, extracts 2048-dimensional appearance features for each detected vehicle.

2. Single-Camera Tracking (SCT)

A modified JDETracker is employed. Unlike standard implementations, this version uses high-quality YOLOv5 bounding boxes as input, associating them via Kalman filters and Re-ID features to create "tracklets" within a single camera view.

3. Crossroad Zone Guidance

This core innovation divides each camera view into four zones (e.g., "Enter Main Road," "Go to Next Camera").

  • Tracklet Filter Strategy (TFS): Removes noise, such as parked cars or vehicles that do not enter the main thoroughfare.
  • Direction Based Temporal Mask (DBTM): A logic filter that prevents impossible matches based on traffic flow. For instance, a car leaving Camera A heading north cannot be the same car entering Camera B from the south at the same time.

4. Sub-clustering in Adjacent Cameras (SCAC)

Instead of global matching, the system performs hierarchical clustering on adjacent cameras first. This "local-to-global" approach helps maintain identity even when a vehicle's appearance changes significantly over a long journey.

Evaluation and Results

The framework was evaluated on the CityFlow dataset, the largest benchmark for city-scale MTMCT, featuring 3.25 hours of video from 40 cameras across 10 intersections. The proposed framework achieved a massive performance jump over the baseline:

  • Baseline IDF1: 0.3048
  • Final Framework IDF1: 0.8095 (Ranking 1st on the AICITY21 leaderboard).

Ablation studies highlighted the impact of spatial-temporal constraints: adding the Direction Based Temporal Mask (DBTM) alone improved the IDF1 from 0.34 to 0.53.

Discussion and Future Work

The most striking insight is that visual features are often insufficient. By applying the DBTM, the search space is pruned to "physically possible" candidates. Furthermore, the TFS module effectively filters static noise by requiring movement between zones.

However, limitations remain. The "Crossroad Zones" currently require manual configuration of camera layout and traffic flow. Future work aims to automate the learning of these topologies. Additionally, the computational overhead of heavy ensembles like ResNeXt101 and k-reciprocal re-ranking may require optimization for real-time deployment.

Summary updated

BibTeX
@inproceedings{liu2021city,
  author = {Chong Liu and Yuqi Zhang and Hao Luo and Jiasheng Tang and Weihua Chen and Xianzhe Xu and Fan Wang and Hao Li and Yi-Dong Shen},
  title = {{City-Scale Multi-Camera Vehicle Tracking Guided by Crossroad Zones}},
  booktitle = {Workshops @ CVPR},
  year = {2021},
  doi = {10.1109/cvprw53098.2021.00466},
}
Figure