Skip to content

Virtual Try On 2D using cloth segmentation, inswapper and Inpainting Model. User can define their body weight and body height.

Notifications You must be signed in to change notification settings

Bagasaaa/virtual_try_on_2Diffusers

Repository files navigation

virtual_try_on_2Diffusers

Virtual Try On 2D using Inswapper and Inpainting Model. Users can customize their body weight and height. Many thanks to this repository https://github.com/wildoctopus/huggingface-cloth-segmentation I use it for cloth segmentation (users can choose whether to change the upper or bottom).

Special thanks to my teammate silvering-steve, I got inspired to use insightface and inpainting model from you!

I use insightface, so you can replace the face in an existing photo, simply with a clear selfie photo of the desired face.

I am using the stable-diffusion-inpainting model from diffusers to swap clothes, but don't worry as you don't need to perform manual inpainting.

This is the example result. I just chose to change the upper clothes. a

How to Use?

Just hit "python app.py"

Note: I haven't uploaded the model yet. Coming soon.

About

Virtual Try On 2D using cloth segmentation, inswapper and Inpainting Model. User can define their body weight and body height.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published