{"id":9963,"date":"2024-05-09T09:39:16","date_gmt":"2024-05-09T01:39:16","guid":{"rendered":"https:\/\/www.1ai.net\/?p=9963"},"modified":"2024-05-09T09:39:16","modified_gmt":"2024-05-09T01:39:16","slug":"%e7%94%a8ai%e5%ae%9e%e7%8e%b0%e8%99%9a%e6%8b%9f%e8%af%95%e8%a1%a3%ef%bc%8c%e5%8f%aa%e9%9c%80%e7%85%a7%e7%89%87%e5%8d%b3%e5%8f%af%e5%ae%9e%e7%8e%b0%e5%9c%a8%e7%ba%bf%e6%8d%a2%e8%a3%85","status":"publish","type":"post","link":"https:\/\/www.1ai.net\/en\/9963.html","title":{"rendered":"Use AI to realize virtual fitting, and change clothes online with just photos"},"content":{"rendered":"<p data-pm-slice=\"0 0 []\">Use AI to try on clothes online, or<a href=\"https:\/\/www.1ai.net\/en\/tag\/%e5%9c%a8%e7%ba%bf%e6%8d%a2%e8%a3%85\" title=\"_Other Organiser\" target=\"_blank\" >Online Dress Up<\/a>This is not a new concept, and some people must have thought about it, but not everyone can do it easily!<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9964\" title=\"get-100\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-100.jpg\" alt=\"get-100\" width=\"766\" height=\"950\" \/><\/div>\n<p data-track=\"126\">Today I will share a method that everyone can implement, and it is a fool-proof method that does not require any payment. You can even install the software directly on your local computer and run it without any restrictions.<\/p>\n<p data-track=\"128\">Let\u2019s look at a few examples below.<\/p>\n<p data-track=\"130\">Let the leather-clad swordsman Lao Huang wear something different!<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9965\" title=\"get-101\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-101.jpg\" alt=\"get-101\" width=\"1077\" height=\"1006\" \/><\/div>\n<p data-track=\"133\">i'm going to have to make my mom's feet when she's changed!<\/p>\n<p data-track=\"135\">In addition, you can see that even if there is text on the T-shirt, it can still achieve good results!<\/p>\n<p data-track=\"138\">Change Taylor&#039;s top!<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9970\" title=\"get-106\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-106.jpg\" alt=\"get-106\" width=\"1079\" height=\"652\" \/><\/div>\n<p data-track=\"141\">It should be said that there is no sense of disobedience.<\/p>\n<p data-track=\"144\">Of course, you can also find a realistic photo and change your clothes!<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9967\" title=\"get-103\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-103.jpg\" alt=\"get-103\" width=\"1076\" height=\"1286\" \/><\/div>\n<p data-track=\"146\">If you don\u2019t show the original picture, you really can\u2019t tell that this T-shirt is photoshopped.<\/p>\n<p data-track=\"148\">After looking at a few examples, the results are pretty good. Of course, if we only look at the results, PS players can also make it.<\/p>\n<p data-track=\"150\">So what are the advantages of AI?<strong>It\u2019s simple!<\/strong><\/p>\n<p data-track=\"152\">It is very simple to complete these operations with the help of AI. Just upload the picture and click to complete it.<\/p>\n<p data-track=\"154\">This is much simpler than PS, so after AI painting came out, no one played it anymore.<\/p>\n<p data-track=\"157\">The following is a detailed introduction on how to operate.<\/p>\n<p data-track=\"159\">The software (open source project) used today is called<strong><a href=\"https:\/\/www.1ai.net\/en\/tag\/idm-vton\" title=\"_OTHER ORGANISER\" target=\"_blank\" >IDM-VTON<\/a><\/strong> , the homepage&#039;s one-sentence introduction is,<strong>Improving diffusion models in natural environments for realistic virtual try-on<\/strong>.<\/p>\n<p data-track=\"161\">From the introduction, the main<strong>lifelike<\/strong>.<\/p>\n<p data-track=\"163\">This software can be run in two ways.<\/p>\n<p data-track=\"165\">One is to use the official demo to run online.<\/p>\n<p data-track=\"167\">The other is to configure and install it on your computer.<\/p>\n<p data-track=\"169\">Today I will introduce the first &quot;lightweight&quot; way of playing. All you need is a browser and there are no requirements for computer configuration.<\/p>\n<p data-track=\"171\">Open the URL directly:<\/p>\n<pre><code>https:\/\/huggingface.co\/spaces\/yisol\/IDM-VTON<\/code><\/pre>\n<p data-track=\"175\">After opening it, you can immediately see the main interface. The interface is very simple and easy to understand.<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9966\" title=\"get-102\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-102.jpg\" alt=\"get-102\" width=\"1065\" height=\"977\" \/><\/div>\n<p data-track=\"178\">You just need to go<strong>Upload models and clothes<\/strong>Click on the photo below<strong>TRY-ON<\/strong>Button<strong>.<\/strong><\/p>\n<p data-track=\"180\">Then wait for ten seconds.<\/p>\n<p data-track=\"182\">If you don\u2019t have a photo, you can use the sample image (Example) provided on the web page for a quick experience.<\/p>\n<p data-track=\"184\">Just click on the photo and it will be automatically placed in the corresponding area.<\/p>\n<p class=\"pgc-p\" data-track=\"186\">After successful execution, two photos will be generated.<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9968\" title=\"get-104\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-104.jpg\" alt=\"get-104\" width=\"1080\" height=\"774\" \/><\/div>\n<p data-track=\"188\">The left side is the automatically masked photo, and the right side is the final effect.<\/p>\n<p data-track=\"190\">From these two pictures, we can clearly see that the essence of this application is still area replacement or area generation.<\/p>\n<p data-track=\"192\">The replaced area is determined by a mask, and automatically generated masks often do not work for every scene.<\/p>\n<p data-track=\"194\">So, sometimes we need to manually animate the mask.<\/p>\n<p data-track=\"196\">Let me briefly talk about how to use manual masking.<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9969\" title=\"get-105\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-105.jpg\" alt=\"get-105\" width=\"755\" height=\"1304\" \/><\/div>\n<p data-track=\"197\">\u2460Click the brush<\/p>\n<p data-track=\"198\">\u2461Apply to clothing area<\/p>\n<p data-track=\"199\">\u2462Uncheck the box in front of Auto Mask.<\/p>\n<p data-track=\"201\">This will allow you to replace the custom area.<\/p>\n<p data-track=\"203\">In addition, let\u2019s talk about the \u2463 automatic cropping and scaling option. If the proportions of the photos you provide are quite different from the sample, the generated images may look a bit strange. In this case, you can check this option.<\/p>\n<p data-track=\"205\">In addition, under the Try-on button, there are two options to expand the options<strong>Denoising Step<\/strong> and<strong>Seed<\/strong>.<\/p>\n<p data-track=\"207\">Let GPT4 explain.<\/p>\n<p data-track=\"209\"><strong>Denoising Steps<\/strong><\/p>\n<p data-track=\"211\">The rationale for spreading model work is to introduce noise to disrupt images and gradually remove them to generate images. In this process, \"Denoising Steps\" refers to the number of concrete steps in the noise phase. These steps determine how the model will gradually recover clear images from images with a high volume of noise\u3002<\/p>\n<ul>\n<li data-track=\"213\">More denoising steps: usually means a smoother generation process, more fine-grained control over noise reduction, and potentially higher quality images.<\/li>\n<li data-track=\"214\">Fewer denoising steps: generate faster, but may sacrifice some image quality.<\/li>\n<\/ul>\n<p data-track=\"216\"><strong>Seed<\/strong><\/p>\n<p data-track=\"218\">In the process of generating images, &quot;Seed&quot; refers to the seed of the random number generator. This seed determines the starting point of randomness for generating images. By setting the same seed, you can ensure that the images generated each time are consistent, even if the same code and parameters are run at different times or on different machines.<\/p>\n<ul>\n<li data-track=\"220\">Using the same seed: the exact same image can be generated repeatedly.<\/li>\n<li data-track=\"221\">Changing the seed value: The images generated each time will be different, even with the same model and parameter configuration.<\/li>\n<\/ul>\n<p data-track=\"223\">In practice, adjusting these parameters can help you control the process and quality of generated images and achieve results that better suit your needs.<\/p>\n<p data-track=\"225\">Those who have played with painting software such as SD before should be familiar with these parameters.<\/p>\n<p data-track=\"227\">This is very simple to use. Basically, as long as you give the URL, everyone can use it easily.<\/p>\n<p data-track=\"229\">But there are still two<strong>Old Question<\/strong>.<\/p>\n<p data-track=\"231\">One is that you may not be able to open this URL at all. Those who understand this will understand it, and if you don\u2019t understand it, I can\u2019t explain it to you.<\/p>\n<p data-track=\"233\">Another thing is that online resources are limited, you may not be able to get computing power, or the page may suddenly disappear.<\/p>\n<p data-track=\"235\">Therefore, we still need to make a<strong>Completely offline version<\/strong>.<\/p>\n<p data-track=\"237\">I have already completed the local installation and configuration. It only takes a dozen seconds to produce a picture on the RTX3090, which is quite efficient.<\/p>","protected":false},"excerpt":{"rendered":"<p>It's not a new concept to do online testing with AI, or to change it online. It must have been thought, but it's not easy for everyone to do it! Today we're going to share a way that everyone can do, and that's the kind of stupid, non-paying thing that can even put software on a local computer and play free. A few examples follow. Let the man in the leather knife wear something different! A change in a girl's dress to turn her mother's foot... haha! Change Tyler's shirt! It should be said that there is no contradiction. You can also find a living picture and change yourself! I can't really see it without giving the original<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[144],"tags":[2524,2526,2525],"collection":[],"class_list":["post-9963","post","type-post","status-publish","format-standard","hentry","category-baike","tag-idm-vton","tag-2526","tag-2525"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/9963","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/comments?post=9963"}],"version-history":[{"count":0,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/9963\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/media?parent=9963"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/categories?post=9963"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/tags?post=9963"},{"taxonomy":"collection","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/collection?post=9963"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}