Comfyui-SAL-VTON

Comfyui-SAL-VTON
★ 92

虚拟试穿服装迁移地标驱动图像合成
ComfyUI 的 SAL-VTON 节点,基于语义关联地标对服装进行配准与变形,生成自然的虚拟试穿图像,便于快速试衣与模型开发。
💡 在 ComfyUI 中将服装图像按语义地标套用到人物照片,生成真实感试穿效果。
🍴 13 Forks💻 Python🔄 2024-08-26
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/b6135d9bd930
workflow.png
📄 README

Comfyui-SAL-VTON : Dressup your models!

This is my quick implementation of the SAL-VTON node for ComfyUI.

Based on the paper Keyu Y. Tingwei G. et al. (2023). Linking Garment with Person via Semantically Associated Landmakrs for Virtual Try-On

Installation

  • Clone this repository into the custom_nodes folder.
  • Navigate to the cloned folder and run pip install -r requirements.txt. Be sure you’re in the ComfyUI venv!
  • Download these landmark, warp, and salvton models.
  • Create a folder, named salvton, in the ComfyUI models directory and copy all three downloaded models into it.
  • Profit?
  • Things to be aware of

  • The garment should be 768×1024. If you don’t have an image of the exact size, just resize it in ComfyUI.
  • The results are poor if the background of the person image is not white. Consider using rembg or SAM to mask it and replace it with a white background.
  • The garment mask is just the shape of the input garment. You can generate it with SAM or use rembg like I did in the workflow.
  • Acknowledgement

    Keyu Y. Tingwei G. et al. (2023). Linking Garment with Person via Semantically Associated Landmakrs for Virtual Try-On

    This is a simple wrapper around the inference code available on ModelScope. Thanks to the original authors for their work.