ELECTRICITY: An Efficient Multi-camera Vehicle Tracking System for Intelligent City

Yijun Qian, Lijun Yu, Wenhe Liu, Alexander G. Hauptmann

Introduction

Tracking vehicles across a city-scale network of cameras—known as Multi-Target Multi-Camera (MTMC) tracking—is a cornerstone of modern intelligent transportation systems. While tracking within a single camera view (MOT) is relatively mature, scaling this to dozens of cameras introduces significant hurdles: extreme perspective variance, frequent occlusions, and a massive search space that often leads to false positives.

The "ELECTRICITY" framework (Efficient muLti-camEra vehiCle TRacking system for Intelligent CiTY) addresses these challenges through a combination of robust visual feature learning and spatial-temporal logic. This system notably secured first place in the AI City 2020 Challenge (Track 3).

The ELECTRICITY Pipeline

The framework utilizes a four-stage pipeline designed for both accuracy and computational efficiency:

  1. Detection: The system employs Mask R-CNN with a ResNext-101 backbone. To handle ambiguous vehicle types (e.g., a pickup truck that might be classified as both a "Car" and a "Truck"), the authors implemented inter-class Non-Maximum Suppression (NMS). This ensures that overlapping detections of different classes are handled gracefully rather than being prematurely suppressed.
  2. Single-Camera Tracking: Detections are linked into "tracklets" using Deep SORT. To maintain efficiency, the system reuses visual features already extracted during the detection phase, avoiding the overhead of a secondary feature extraction pass.

Vehicle Re-identification (ReID)

At the heart of MTMC is the ability to recognize the same vehicle across different camera views. The ELECTRICITY framework trains its ReID model using an Aggregation Loss that combines Triplet Loss with hard mining and Cross-Entropy Loss. This approach forces the model to distinguish between "hard negatives" (different vehicles that look nearly identical) and recognize "hard positives" (the same vehicle viewed from drastically different angles).

Figure 4: The ReID system identifies the same vehicle (ID 112) across multiple frames and perspectives, maintaining identity consistency despite changes in scale and angle.

Fast MTMC Strategy: Logic over Brute Force

Matching every vehicle in a city against every other detection is computationally prohibitive and error-prone. The ELECTRICITY framework introduces a Fast MTMC Strategy that prunes the search space using spatial-temporal logic. By analyzing the city's geography, the system only compares tracklets between adjacent cameras and applies strict time-sync thresholds. If a vehicle's transition between two points violates the laws of physics or the road network's layout, the match is discarded.

Figure 2: Visualization of the MTMC strategy, where spatial-temporal constraints link vehicle detections across different camera views and road segments.

Key Results and Insights

The system's success in the AI City 2020 Challenge, achieving a top score of 0.4585, highlights several critical insights:

  • Feature Reuse: Sharing features between detection and tracking modules is essential for real-time viability in city-scale deployments.
  • Backbone Scaling: Upgrading the ReID backbone from ResNet-50 to ResNet-101 resulted in a dramatic jump in Rank-1 accuracy from 44.7% to 63.1%.
  • Privacy-Conscious Design: The system achieves high performance without relying on license plate information, making it compatible with regions governed by strict privacy regulations.

By prioritizing logical pruning and efficient feature sharing, ELECTRICITY demonstrates that city-scale tracking can be both highly accurate and computationally sustainable.

Summary updated

BibTeX
@inproceedings{qian2020electricity,
  author = {Yijun Qian and Lijun Yu and Wenhe Liu and Alexander G. Hauptmann},
  title = {{ELECTRICITY: An Efficient Multi-camera Vehicle Tracking System for Intelligent City}},
  booktitle = {Workshops @ CVPR},
  year = {2020},
  doi = {10.1109/cvprw50498.2020.00302},
}
Figure