Enhancing Vehicle Re-identification and Matching for Weaving Analysis
Mei Qiu, Wei Lin, Stanley Chien, Lauren Christopher, Yaobin Chen, Shu Hu
TL;DR
This work tackles the challenge of quantifying lane-level vehicle weaving on highways by leveraging two non-overlapping cameras positioned at the weaving transition points P1 and P2. It introduces a two-phase framework: (1) constructing a dedicated weaving ReID dataset (4,902 unique vehicles, 78,979 images) from nine weaving areas using highway and drone cameras, and (2) training a Vision Transformer–based ReID model (vit_base_patch16_224) with L_id and L_triplet supervision, followed by cross-area matching via a modified Hungarian algorithm that blends feature similarity and time alignment relative to the average travel time $T_a$. The approach achieves a mean average precision of 47.8% and strong rank-based retrieval (Rank-1: 42%, Rank-5: 50.9%, Rank-10: 57.2%), with Grad-CAM visualizations confirming the model attends to discriminative vehicle regions. By treating the matched subset as a representative sample, the method enables estimation of lane-specific weaving patterns despite non-overlapping camera views, offering a practical data-driven tool for traffic management and infrastructure planning.
Abstract
Vehicle weaving on highways contributes to traffic congestion, raises safety issues, and underscores the need for sophisticated traffic management systems. Current tools are inadequate in offering precise and comprehensive data on lane-specific weaving patterns. This paper introduces an innovative method for collecting non-overlapping video data in weaving zones, enabling the generation of quantitative insights into lane-specific weaving behaviors. Our experimental results confirm the efficacy of this approach, delivering critical data that can assist transportation authorities in enhancing traffic control and roadway infrastructure.
