NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

CoRe: Color Regression for Multicolor Fashion Garments

Alexandre Ramé, Arthur Douillard, Charles Ollion

Abstract

Developing deep networks that analyze fashion garments has many real-world applications. Among all fashion attributes, color is one of the most important yet challenging to detect. Existing approaches are classification-based and thus cannot go beyond the list of discrete predefined color names. In this paper, we handle color detection as a regression problem to predict the exact RGB values. That’s why in addition to a first color classifier, we include a second regression stage for refinement in our newly proposed architecture. This second step combines two attention models: the first depends on the type of clothing, the second depends on the color previously detected by the classifier. Our final prediction is the weighted spatial pooling over the image pixels RGB values, where the illumination has been corrected. This architecture is modular and easily expanded to detect the RGBs of all colors in a multicolor garment. In our experiments, we show the benefits of each component of our architecture.

Introduction

In the fashion industry, color is a primary attribute, yet most computer vision models treat it as a simple classification task. Standard "color naming" approaches suffer from a lack of precision, sensitivity to lighting, and an inability to handle the complexity of multicolor patterns. For instance, a black and white patterned garment might be incorrectly averaged into a single "gray" value by naive models.

Figure 1: CoRe precisely identifies continuous RGB values for multiple colors within a single patterned garment.

The CoRe (Color Regression) framework shifts fashion color analysis from discrete classification to continuous RGB prediction. The goal is to predict the exact continuous RGB value of a garment as it would appear under ideal white light, providing the precision necessary for modern fashion applications.

Methodology: The CoRe Architecture

The authors propose a two-stage supervised architecture inspired by object detection frameworks like Faster R-CNN.

Figure 2: The CoRe architecture combines illumination correction with dual-attention mechanisms (object and color-name) for refined RGB regression.

1. Illumination Correction

Before analysis, the model performs global histogram stretching and uses a "Von Kries" method (via a VGG16 backbone) to detect and remove illumination color casts. This step is critical for neutralizing the bias of the photo's lighting.

2. Stage 1: Discrete Classification

A standard classifier predicts the main color names (from a set of 72) present in the garment. This acts as a "rough estimate" or anchor for the subsequent regression.

3. Stage 2: Refined Regression

This is the core innovation. The model uses two attention modules to decide which pixels to pool for the final RGB:

  • Object-Attention: Uses a DeepLabv3 segmenter to focus only on the garment and ignore the background.
  • Colorname-Attention: Focuses on pixels that are numerically close to the color name predicted in Stage 1.

By multiplying these two attention maps, the model effectively filters out "parasite" pixels from the background or secondary colors in a pattern.

4. Perceptual Loss

The model minimizes the Euclidean distance in the LAB color space ($L_{L2}$ loss). LAB is designed to be perceptually uniform, ensuring that numerical distances correlate with human visual perception.

Datasets and Results

The researchers introduced a new fashion dataset of 30,269 garments, each annotated by humans with "ideal" RGB values. Performance was evaluated using the $Δ E$ (CIEDE2000) metric, which measures color difference as perceived by the human eye.

  • Accuracy: 73% of CoRe's predictions achieved a $Δ E < 10$, compared to 51% for standard naming and 47% for unsupervised K-means.
  • Multicolor Performance: The attention mechanisms successfully separated interleaved colors in complex patterns, maintaining a significant lead over baseline models.

Conclusion

CoRe demonstrates that treating color detection as a regression problem, supported by dual-attention mechanisms and illumination correction, provides a much more accurate and scalable solution for fashion analysis than traditional classification. Future work may involve pretraining the illumination module on specialized datasets to further enhance robustness under extreme lighting conditions.

Summary updated

BibTeX
@inproceedings{rame2022core,
  author = {Alexandre Ramé and Arthur Douillard and Charles Ollion},
  title = {{CoRe: Color Regression for Multicolor Fashion Garments}},
  booktitle = {Workshops @ CVPR},
  year = {2022},
  url = {https://openreview.net/forum?id=bsbt8YRK22},
}
Figure