Today on the podcast we are talking about two major updates and announcements on Google tools and both of these are related to photos and images one with Google lens and another that works more with their shopping graph data set so on the podcast I'm going to break down what those are and why these are impactful for the industry as a whole so the first one I want to talk about is Google's new it's kind of like this new AI clothing try-on tool and essentially what this does is it allows you to take a picture of yourself and a picture of you know a shirt or a piece of clothing and then it is able to show you what you would look like while wearing that clothing so this entire process is using something called diffusion and I want to break down what exactly that is and how it works I think this is a pretty prominent technology used in these kind of image generators and I think it's pretty important to understand kind of how this works the first thing I want to bring up is the challenge I kind of ran into while they were doing this is that you know currently the techniques that people have been using to do these are called virtual try-on technology and the current techniques essentially they do something called geometric warping where essentially they can cut and paste and they kind of deform clothes and the image of the clothes kind of fit a silhouette or your person but the problem is this is that the final image is never really spot on the clothes don't actually realistically adapt to your body they have visual defects like misplaced folds and this overall just makes the clothes look kind of like miss happen and really not very natural so when Google kind of set out to go and build this new virtual try-on feature and this new technology they were really focused on making sure that they were generating every pixel of the clothing from scratch so they're actually producing a really high quality realistic image similar to something you know the same strategy that someone like mid-journey is currently using so they found a way to do it with diffusion and they created a diffusion based AI model to do this but essentially to understand how this works you first have to kind of understand diffusion so diffusion essentially is a process of slowly adding pixels or what we call noise to an image until they become like unrecognizable so think of like kind of like a tv screen when it's just white fuzz and it's just you know fuzzing or whatever imagine that but with more colorful pixels and then once you get to that point then essentially you're slowly removing the noise or these kind of fuzzy pixels completely until the original image is slowly reconstructed into perfect quality it kind of sounds fancy but essentially just a lot of colorful pixels are on one screen and they're slowly pulling out the pixels that don't match the image that is behind until they've reconstructed the image in perfect quality so right now text to image models like imogen use diffusion and text from a large language model to generate these really realistic images just and they do this exclusively based on kind of text image generators like mid-journey or something like that so google actually said that they were inspired by imogen and they decided to kind of tackle this entire project with this virtual try-on technology using diffusion inspired by imogen so they did this with a twist though so instead of using text like a text input like you would with mid-journey they decided to use a pair of images so the input would be the clothing you know the t-shirt or whatever and then the other one would be the person and each image is sent to its own neural network which is a unit and they're able to share that information with each other in a process called cross attention and so essentially they're generating an output which is a photorealistic image of you wearing this piece of clothing and this kind of combination of image-based diffusion and also cross attention is what they've used to make up this new ai model which is really cool so as far as training uh goes to make this you know this new feature possible and also as realistic as possible they put their new ai model through a lot of rigorous training um but rather than just training it with something like an llm like imogen does they should just tap straight into google's shopping graph so that's essentially it's one of the world's most like one of the world's largest data sets of products um you know sellers brands inventory all this kind of stuff and so they have this really massive inventory this is something i've been saying for a while it's just the fact that google uh really does have so much infrastructural and so much data so many data advantages um in this ai space because they are able to leverage so many different data sets that you know sellers of these clothings for example have given them permission to use their data and their content um you know if it's being posted on google shopping so they're able to leverage it to make tools like this that are a lot trickier for other people to do without such a comprehensive data set so essentially trained their model using a lot of different pairs of images um and each of those would include a person wearing a shirt um and then they would do it in two different poses right so they get the model the model take a picture with the shirt and do different poses um and then they would get the ai to learn to match the shape of the shirt um in the sideways pose with the person in the forward pose and vice versa so they're essentially training it to understand all of the angles um and what that shirt looked like from all the different angles by giving it you know two uh two images of the same person with the same shirt but from different angles they do that until essentially could generate really realistic images of that shirt on the person from all angles and then in order to kind of take this to the next level they repeated the process by using millions of random image pairs of different clothing and people and by doing this essentially they've created a model um that allows you to see you know what a t-shirt would look like on a you know a number of different you know models so starting today i believe you can go and use this virtual try on um tool for women's shirts um and you can use a bunch of different brands on google shopping graph so there's things like anthropology loft h&m everlane over time they said that they're going to get even more precise and expand to a lot more many more brands um but you can go check this out and if you're interested google recently wrote a blog post explaining all this with some graphics called how ai makes virtual try on more realistic so a really incredible um use case in ai from google a really powerful you know uh application where you can actually see a lot of customers getting some serious benefits out of this so i think this is a really cool um a really cool move by google in furthering ai the second story i want to talk about today is again one that i think is a really big win for google um and for their image generator that i think has the potential to do a lot of good essentially what it is their new feature is um on google lens that essentially can now search for skin conditions so google expanded the capabilities of google lens um it's computer vision powered application and essentially if you don't know google lens it's a product that you can take a picture of something and it will tell you what it is so like if you saw someone you know walking around outside and you thought you know you like their sweater you could take a picture of it and google lens will be able to pull you up uh you know where you could go and buy that sweater so obviously this is a good tool for google because it can help with their google shopping experience you know it will help them to generate revenue um but also can do a lot of really interesting different use cases you can use it to take a picture of a plant it can tell you what the plant is a lot of different things but now um you can actually use it to identify skin conditions and search what they are so um you'll be able to take a picture of a rash or a mole or um a lot of different skin conditions and i think this is a really cool tool uh to really help you know people understand if they have some sort of uh you know cancerous or dangerous skin condition of course isn't a replacement for a doctor or something like that but i think this is a really good idea um if you took a picture of something with this and gave you a warning this would be a really good sign to go and see a doctor and get that looked at um and i think this is going to be quite a powerful tool so essentially users can now um include images in their interactions with bard and lens is going to help bard in understanding what the visual content is so you know for example if you uploaded an image of your skin to bard and said hey you know what is this that i have um it would be able to look at that use google lens to identify it you know tell you maybe a little bit about it um and then hopefully provide you with an accurate feature now again this is i think a really powerful um a really powerful ability that google has is the fact that they have this really wide variety of tools and software and by integrating all of them um they're able to make some really powerful products right so google lens has been around for quite a while now um they're adding a lot of these really impressive ai features but obviously it's been using ai to do image uh you know identification for quite a while and now being able to pair something like that with google bard makes google bard an incredibly powerful tool um so it's gonna be interesting to see how you know companies like openai and chatgp try to respond as google starts inevitably implementing uh more and more and more and integrating more and more of their softwares into their core um ai tools and products and it's gonna be interesting to see who kind of the major winners are in these spaces and how this continues to benefit society thank you for listening to today's podcast episode breaking down how ai is impacting your industry today's episode is sponsored by ai box a no-code ai app builder and marketplace which just launched a crowdfunding campaign if you are interested in investing in a new ai startup you can go to republic.com slash ai-box i'll leave a link in the show notes as well to learn more the minimum investment is $150 and the maximum investment is $100,000 until next time have a fantastic day
Behind the Pixels: A Deep Dive into AI Image Generation Through Diffusion Models
from The Daily AI
In this episode, we take a deep dive behind the pixels, exploring the mechanisms of AI image generation through diffusion models. Join the conversation as we unravel the technical aspects, creative possibilities, and the evolving landscape of generating realistic images using advanced diffusion techniques. Invest in AI Box: https://Republic.com/ai-box Get on the AI Box Waitlist: https://AIBox.ai/ AI Facebook Community Learn more about AI in Music Learn more about AI Models
Embed this episode
Transcript Auto-generated, may contain errors