OOTD VTON is a virtual try-on application that allows users to experiment with outfits virtually. By leveraging state-of-the-art techniques like Diffusion, Inpainting, and various pre-trained models, the app enables users to paste outfit links from platforms like Myntra and try on different clothing items. The application supports image upscaling and image expansion.
The following models and techniques have been integrated:
- OOTD Diffusion (via OOTDiffusion)
- IDM VTON (via IDM-VTON)
- IPAdapter (via IP-Adapter)
- Image Upscaling with Real-ESRGAN
- Image Expansion using Outpainting Differential Diffusion
The application extracts upper clothing from user-selected images using Segformer and passes the results to the process_hd
function for processing.
Additionally, upscaling and expansion functionality is executed on Google Colab and exposed locally using Ngrok.
- Virtual try-on using real-world outfits from links (e.g., Myntra)
- Automatic upper-clothing extraction with Segformer
- Image upscaling using Real-ESRGAN
- Image expansion using Differential Diffusion Outpainting
- Processing models locally via Flask
- Integration with google collab using Ngrok for remote execution
-
Clone the repository:
git clone https://github.com/yourusername/ootd_vton.git
-
Navigate to the project directory:
cd ootd_vton
-
Download checkpoints from Checkpoints OOTDiffusion
-
Google Colab Setup (for upscaling and expansion)
Expose the Colab instance using Ngrok to connect it to your local application.
-
Run the application:
python app.py
- Paste an outfit link (e.g., from Myntra) into the app.
- The upper clothing will be extracted using the
segment_cloth.py
file, and the image will be passed to theprocess_hd
function for virtual try-on. - For image upscaling or expansion, the app communicates with the exposed Colab instance via Ngrok to process and return the results.
- Result images can be found in the
static
directory for reference.
- Train LoRA using SDXL or FLUX for enhanced model fine-tuning.
- Integrate ControlNet or Charturner to generate different poses for the same outfit.
- Enhance segmentation for more accurate clothing extraction.
- Add support for various body types and poses.
More results can be found in debug_sample folder
Special thanks to the developers of:
For any queries or suggestions, please open an issue on this GitHub repository