A deep learning based interactive sketching system for fashion images design

Yao Li, Xianggang Yu, Xiaoguang Han, Nianjuan Jiang, Kui Jia, Jiangbo Lu

Introduction

Professional fashion design typically requires mastery of complex digital illustration tools. While conditional Generative Adversarial Networks (cGANs) have shown promise in automating sketch-to-photo translation, they often struggle with two critical aspects: realistic texture mapping and three-dimensional shading. Existing models frequently produce "flat" images or blurry, repetitive patterns that ignore the natural folds of a garment. This paper presents an interactive sketching system designed to bridge the gap between novice input and professional-grade output.

Methodology

The proposed system decouples the design process into two primary stages: texture synthesis and shading enhancement. This "divide and conquer" approach allows the model to handle complex patterns and volumetric depth separately, leading to more stable training and realistic results.

The Bi-Colored Edge Representation

A central innovation of this work is the "bi-colored edge." Traditional sketch-to-photo systems rely on binary edges (simple black lines) or small texture patches. Bi-colored edges, however, encode color information for pixels on both sides of a line. This provides the generative network with precise constraints for sharp transitions, which is essential for rendering stripes, logos, and distinct color blocks without the blurring common in previous methods.

Comparison between bi-colored edges and pinstripe textures.

System Pipeline and Shading Enhancement

The workflow follows a four-step interactive process: drawing contours, specifying texture information (via points, brushes, or patches), drawing shading edges, and final color adjustment.

Overview of the interactive sketching system pipeline.

To address the "flatness" of previous GAN outputs, the authors introduced a dedicated Shading Enhancer. Inspired by intrinsic image decomposition, this network treats the final image as a product of reflectance and shading. By allowing users to draw grayscale "shading edges," the system generates a complex shading map that is multiplied by the textured garment, resulting in a stereoscopic, 3D effect.

Technical Implementation

  • Fashion Image Generator: A deep residual convolutional neural network serves as the primary generator. To maintain color fidelity, the authors utilized a Kullback–Leibler (KL) loss function, ensuring the generated image's color distribution aligns with user-provided cues.
  • Dataset: Due to the lack of high-resolution datasets with clean backgrounds, the researchers curated a custom dataset of approximately 4,300 images (512x512 resolution) covering T-shirts, skirts, and coats. The training set comprised 3,900 images, with 400 reserved for validation.

Experimental Results

The system was evaluated against baselines like TextureGAN using both quantitative metrics and user studies.

  • Quantitative Performance: The proposed method achieved an Inception Score (IS) of 4.076 and a Fréchet Inception Distance (FID) of 18.393. This significantly outperforms patch-based methods, which recorded an FID of approximately 33, indicating that the generated images are much closer to the distribution of real fashion photography.
  • Qualitative Feedback: In user studies, participants consistently rated the bi-colored edge results as more authentic. In blind tests, users identified the enhanced shading images as "more realistic" in 26 out of 30 instances.

Conclusion

By separating texture synthesis from shading and introducing the bi-colored edge representation, this system provides a user-friendly yet powerful tool for fashion design. While currently limited to specific garment categories like tops and coats, future iterations aim to automate shading prediction and expand the model's repertoire to include more complex accessories and full-body outfits.

Summary updated

BibTeX
@inproceedings{li2020deep,
  author = {Yao Li and Xianggang Yu and Xiaoguang Han and Nianjuan Jiang and Kui Jia and Jiangbo Lu},
  title = {{A deep learning based interactive sketching system for fashion images design}},
  booktitle = {PG (Short Papers, Posters, and Work-in-Progress Papers)},
  year = {2020},
  url = {https://openreview.net/forum?id=elvIMFX19X},
}
Figure