Abstract
Vehicle color recognition is a critical component of intelligent traffic management and forensic investigation. Despite its importance, existing research often limits color categories to 13 or fewer, resulting in insufficient accuracy for real-world applications. This paper introduces the Vehicle Color-24 benchmark dataset, comprising 10,091 images across 24 color categories derived from 100 hours of urban surveillance. To address the inherent long-tail distribution of this data, we propose the Smooth Modulated Neural Network with Multi-layer Feature Representation (SMNN-MFR). Our model integrates multi-scale feature fusion and a novel smooth modulation loss function. Experimental results demonstrate a mean Average Precision (mAP) of 94.96% on the 24-color dataset—a 33.47% improvement over Faster R-CNN—and 97.25% on an 8-color subset.
Introduction
While automated systems for license plate and vehicle type recognition have matured, fine-grained color recognition remains a challenge. Surveillance footage is often degraded by environmental factors like fog, poor lighting, and dust. Furthermore, vehicle color data naturally follows a long-tail distribution: common colors like white, black, and gray dominate, while colors like purple, orange, or champagne are rare. Standard deep learning models often overfit to common classes, failing to generalize to the "tail" of the distribution.
This research addresses these gaps by expanding the color palette to 24 categories and introducing a robust recognition framework designed for "in-the-wild" conditions.
The Vehicle Color-24 Dataset
The primary contribution of this work is the Vehicle Color-24 dataset. It contains 10,091 images extracted from extensive urban surveillance footage. Unlike previous datasets, it includes 24 distinct color categories, such as lemon yellow, earthy yellow, dark green, and champagne. The dataset reflects real-world imbalances; for instance, white vehicles account for approximately 38% of the data, whereas purple vehicles represent a mere 0.04%.
Methodology: SMNN-MFR
The proposed SMNN-MFR framework consists of four integrated modules:
- Preprocessing: To mitigate environmental noise, the system employs image defogging (using dark channel priors) and linear lighting adjustments to normalize input data.
- Feature Extraction (VCR-ResNet): Recognizing that color is a relatively low-level visual feature, we designed a lightweight ResNet variant. Overly deep networks can discard fine-grained color information and increase computational overhead.
- Multi-scale Feature Fusion: Using a Feature Pyramid Network (FPN) architecture, the model merges deep semantic features with shallow edge and color features. This ensures the preservation of details necessary to distinguish subtle variations, such as dark blue versus black.
- Smooth Modulation (VCR-Loss): To combat the long-tail problem, we introduced a modulated loss function. By modifying the standard Smooth L1 loss with a modulation parameter ($\beta$), the "VCR-Loss" prevents gradient explosion and balances the learning process, ensuring rare classes receive adequate attention during training.
Experimental Results
The SMNN-MFR model significantly outperforms existing benchmarks:
- Accuracy: Achieved 94.96% mAP on the 24-color task and 97.25% on the 8-color task.
- Comparative Performance: The model showed a 33.47% improvement over the baseline Faster R-CNN.
- Ablation Studies: Experiments confirmed that each component—preprocessing, the custom backbone, and the modulated loss—is essential for the final performance.
Conclusion
The SMNN-MFR framework and the Vehicle Color-24 dataset provide a significant step forward for intelligent traffic systems. By focusing on multi-layer feature representation and loss modulation, we successfully addressed the long-tail distribution problem in fine-grained color recognition. Future work will explore even more robust representations to distinguish between highly similar shades under extreme lighting conditions.
Summary updated