ShoeModel: Learning to Wear on the User-specified Shoes via Diffusion Model

Binghui Chen, Wenyu Li, Yifeng Geng, Xuansong Xie, Wangmeng Zuo

Introduction

In the competitive landscape of e-commerce, high-quality "on-model" photography is a critical driver of sales. However, professional photoshoots are both expensive and time-consuming. While AI-driven image generation offers a scalable alternative, existing models often struggle with "ID-consistency"—the ability to maintain the exact appearance of a product—and realistic human-product interaction. Researchers from the Harbin Institute of Technology have introduced ShoeModel, a specialized diffusion-based system designed to generate hyper-realistic images of human legs wearing specific shoes with perfect product fidelity.

The ShoeModel Framework

ShoeModel addresses the limitations of general-purpose diffusion models through a three-stage framework: Wearable-area Detection (WD), Leg-pose Synthesis (LpS), and Shoe-wearing Image Generation (SW).

1. Wearable-area Detection (WD)

The system first analyzes the input shoe image using a Segformer architecture to distinguish between the visible area (parts of the shoe that remain seen, such as the sole or outer side) and the wearable area (the opening where the foot enters). By identifying the wearable area, the model can treat it as a "slot" to be naturally occluded by the generated leg, avoiding the unnatural "pasted-on" look common in simpler AI edits.

2. Leg-pose Synthesis (LpS)

To ensure anatomical realism, ShoeModel employs a two-phase pose synthesis approach. It first predicts foot keypoints from the shoe's orientation and then uses a dedicated diffusion model to generate a realistic leg skeleton (including ankles, knees, and hips). This provides a clear geometric roadmap for the final generation stage, ensuring that the generated legs are always in a plausible pose relative to the shoes.

3. Shoe-wearing Image Generation (SW)

The final stage utilizes a modified ControlNet, termed ShoeControlNet, which takes the visible shoe area, the synthesized leg pose, and a text prompt to generate the final scene. To ensure 100% ID-consistency, the original pixels of the visible shoe area are pasted back onto the final output, maintaining every detail of the original product.

Input shoe image vs. generated on-model result demonstrating high ID-consistency and natural interaction.

Key Insights and Data

A core insight of ShoeModel is the prioritization of "pose over pixels." By abstracting the leg into a sparse skeleton before full image generation, the model avoids the complexity of directly synthesizing human limbs from shoe images. Additionally, because the LpS module is a diffusion model, it can generate diverse poses for the same pair of shoes, offering marketers multiple creative options.

To train these modules, the researchers curated two new datasets:

  • Wearable-area Detection Dataset: 2,051 images with fine-grained masks for background, visible, and wearable regions.
  • Shoe-leg Dataset: A collection of 669,808 images featuring tuples of raw images, shoe segments, and 12-keypoint pose annotations.

Results and Evaluation

ShoeModel significantly outperforms general-purpose models like SDXL and specialized editing tools. Quantitatively, it achieved a Fréchet Inception Distance (FID) of 22.54, indicating superior image quality and realism. In a blind user study with 20 volunteers, ShoeModel's outputs were chosen as the winner 1,859.5 times, while the next best competitor (ControlNet-inpaint) was chosen only 56 times.

Qualitative results across various shoe types showing realistic leg poses and product fidelity.

Conclusion and Future Work

ShoeModel provides a robust solution for automated footwear advertising, ensuring both product fidelity and realistic human interaction. While currently focused on legs and shoes, future research aims to extend this framework to full-body virtual try-ons and further automate layout customization to prompt even more diverse poses.

Summary updated

BibTeX
@inproceedings{chen2024shoemodel,
  author = {Binghui Chen and Wenyu Li and Yifeng Geng and Xuansong Xie and Wangmeng Zuo},
  title = {{ShoeModel: Learning to Wear on the User-specified Shoes via Diffusion Model}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72890-7\_6},
}
Figure