nehulagrawal
commited on
Commit
•
aff4fc3
1
Parent(s):
5dd80b5
Update README.md
Browse files
README.md
CHANGED
@@ -1,30 +1,38 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
|
5 |
<div align="center">
|
6 |
<img width="600" height="500" alt="foduucom/ClothSwap" src="https://huggingface.co/foduucom/ClothSwap/resolve/main/final.png">
|
7 |
</div>
|
8 |
|
9 |
-
##
|
10 |
-
|
11 |
-
- Swap clothing on images with precision.
|
12 |
-
- Powered by ComfyUI's flexible architecture.
|
13 |
-
- Upload JSON workflows for customization.
|
14 |
-
- Simple, efficient, and open-source.
|
15 |
-
- Setup Instructions
|
16 |
|
|
|
17 |
|
18 |
-
##
|
19 |
Clone the repository containing the Cloth Swap JSON workflows and assets:
|
20 |
|
21 |
```bash
|
22 |
Copy code
|
23 |
-
git clone
|
24 |
-
cd
|
25 |
```
|
26 |
|
27 |
-
##
|
28 |
|
29 |
Install ComfyUI by cloning its main repository:
|
30 |
|
@@ -72,7 +80,7 @@ https://huggingface.co/ShilongLiu/GroundingDINO/resolve/main/groundingdino_swint
|
|
72 |
https://huggingface.co/spaces/abhishek/StableSAM/resolve/main/sam_vit_h_4b8939.pth
|
73 |
|
74 |
|
75 |
-
##
|
76 |
|
77 |
- Start ComfyUI (by running python3 main.py)
|
78 |
- Open ComfyUI in your browser (default: http://127.0.0.1:8188)
|
@@ -88,7 +96,7 @@ python3 main.py
|
|
88 |
#prompt["3"]["inputs"]["image"] = "\\ put your input cloth image"
|
89 |
```
|
90 |
|
91 |
-
##
|
92 |
|
93 |
-Prepare your input images (ensure proper resolution for better results).
|
94 |
-Select the uploaded workflow in ComfyUI.
|
@@ -98,8 +106,31 @@ python3 main.py
|
|
98 |
-Start the process to generate swapped outputs.
|
99 |
-Save the generated images for further use.
|
100 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
101 |
|
102 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
103 |
|
104 |
## Hardware
|
105 |
|
@@ -116,4 +147,4 @@ For inquiries and contributions, please contact us at info@foduu.com.
|
|
116 |
title = {Cloth Swap},
|
117 |
year = {2024}
|
118 |
}
|
119 |
-
```
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
tags:
|
5 |
+
- ClothSwap
|
6 |
+
- TryOn
|
7 |
+
- StyleChange
|
8 |
+
- DressChange
|
9 |
+
- ClothShift
|
10 |
+
- TryCloth
|
11 |
+
- FashionNew
|
12 |
+
- SwapCloth
|
13 |
+
---
|
14 |
+
## StyleShift - Cloth Swap / Dress Swap / Style Change / Outfit Swap
|
15 |
+
|
16 |
+
This project showcases a Cloth Swap feature, leveraging the powerful capabilities of ComfyUI, a modular and flexible interface for AI workflows. This guide provides step-by-step instructions to set up, use, and contribute to the project.
|
17 |
|
18 |
<div align="center">
|
19 |
<img width="600" height="500" alt="foduucom/ClothSwap" src="https://huggingface.co/foduucom/ClothSwap/resolve/main/final.png">
|
20 |
</div>
|
21 |
|
22 |
+
## Objective
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
|
24 |
+
The primary objective is to provide a simple, effective, and customizable tool for tasks such as virtual try-ons, creative prototyping, and realistic clothing mockups. Whether you're an e-commerce platform, a fashion designer, or just experimenting with image manipulation, this project offers endless possibilities.
|
25 |
|
26 |
+
## Clone this Repository
|
27 |
Clone the repository containing the Cloth Swap JSON workflows and assets:
|
28 |
|
29 |
```bash
|
30 |
Copy code
|
31 |
+
git clone https://huggingface.co/foduucom/ClothSwap
|
32 |
+
cd ClothSwap
|
33 |
```
|
34 |
|
35 |
+
## Clone and Setup ComfyUI Repository
|
36 |
|
37 |
Install ComfyUI by cloning its main repository:
|
38 |
|
|
|
80 |
https://huggingface.co/spaces/abhishek/StableSAM/resolve/main/sam_vit_h_4b8939.pth
|
81 |
|
82 |
|
83 |
+
## How to use
|
84 |
|
85 |
- Start ComfyUI (by running python3 main.py)
|
86 |
- Open ComfyUI in your browser (default: http://127.0.0.1:8188)
|
|
|
96 |
#prompt["3"]["inputs"]["image"] = "\\ put your input cloth image"
|
97 |
```
|
98 |
|
99 |
+
## Using Cloth Swap
|
100 |
|
101 |
-Prepare your input images (ensure proper resolution for better results).
|
102 |
-Select the uploaded workflow in ComfyUI.
|
|
|
106 |
-Start the process to generate swapped outputs.
|
107 |
-Save the generated images for further use.
|
108 |
|
109 |
+
## Why is this Useful?
|
110 |
+
This project has a broad range of applications, making it useful across multiple industries and for personal use:
|
111 |
+
|
112 |
+
Virtual Try-On Technology:
|
113 |
+
|
114 |
+
Revolutionize online shopping experiences by enabling customers to "try on" clothes digitally.
|
115 |
+
Reduce product returns by providing a realistic preview of clothing fit and style.
|
116 |
+
Fashion Design and Prototyping:
|
117 |
+
|
118 |
+
Help designers test their creations on various models without the need for physical samples or photoshoots.
|
119 |
+
Quickly iterate designs and visualize the final product.
|
120 |
+
Content Creation and Marketing:
|
121 |
|
122 |
+
Create unique, engaging images for advertising campaigns, product promotions, or social media posts.
|
123 |
+
Save time and resources by generating realistic images digitally.
|
124 |
+
AI Experimentation:
|
125 |
+
|
126 |
+
A valuable tool for developers and AI enthusiasts looking to explore the capabilities of ComfyUI and image processing workflows.
|
127 |
+
Educational and Creative Use:
|
128 |
+
|
129 |
+
Ideal for students and researchers exploring AI applications in the field of image editing and manipulation.
|
130 |
+
Fun and engaging for hobbyists who want to experiment with AI art and creativity.
|
131 |
+
|
132 |
+
|
133 |
+
## Compute Infrastructure
|
134 |
|
135 |
## Hardware
|
136 |
|
|
|
147 |
title = {Cloth Swap},
|
148 |
year = {2024}
|
149 |
}
|
150 |
+
```
|