Using AI to make pictures ‘better’

there are some things that computers a good at there are other things where humans are better but not for long AI is here computers are learning how to do human stuff but better they will be faster smarter way more rational if this sounds scary good because it is but for now we may as well enjoy stuff you can do like image upscaling if you ask me a few years ago if you could make an image more detail by making it bigger I would laugh in your pathetic little face those CSI shows where they used enhanced to uncover details and images where internet memes nobody took it seriously shows how much we know because AI upscaling is here and it's terrifyingly good I'm using topaz and gigapixel AI to upscale the images in this video I did actually buy it in everything because this program has given me as much pleasure as shooting palm trees and crisis but they do have a free 30-day trial on their site the way AI upscaling works is well nobody knows it's magic it learns what images should look like then applies that knowledge to new stuff if I upscale this tree it almost becomes lots and lots of little trees joined together to give the impression that it's actually a more detailed tree it's super effective ai upscaling really loves foliage you know something it doesn't like faces I did wonder if this video would get D monetized for sharing this but then I remember that AI algorithms thought that this is what face looked like in the first place so YouTube's filters will probably like it AI isn't actually bad at faces it's just that we're very good at faces we know what they're meant to look like and can detect when something's wrong with them we're not so good with trees so this looks perfectly acceptable to us that's why there's a phenomenon known as uncanny valley which is when digital or drawn people look almost real but not quite which makes them look really creepy to us I guess I'll get the obvious out of the way you can't just keep upscaling forever it can't get details that weren't captured in the original image you can only fake it by adding small touches that it thinks should go there my friend got bullied by a van driver who kept breaking and swerving seemingly to cause a crash they came to me asking if I could somehow retrieve their number plate from this yeah I don't think so I'm not proud of myself but I did try running it through this program in the hope of a miraculous enhance moment obviously it didn't work but I had to try didn't I so let's get some examples of what works and what doesn't I tried on a few old family photos it would be great if I could somehow make them crisper and clearer and for a few of them I did here's one of my mum now I've blurred out her face because I don't really want thousands of Internet people staring at my mum but also because we've established already for AI just terrifying things to face it's actually I will show her face but her endlessly upscale from a tiny image there here's before and here's after what a difference something I learned from the hours of fun I had messing around with this program is that the best results you have to shrink the image that's right to upscale you must first downscale bear with me here it obviously depends on the image but for these old ones the original scans aren't the clearest they have a lot of blur which the AI must look at and go hmm I better keep this blur on the other hand if it's great at contrast between the pixels it enables the AI upscaling to splurt its creative juices all over the picture in the most delicious of ways this makes me feel good for Humanity that a AI still needs a helping human hand for best results although impressive it isn't magic I was a bit late with this video because I spent the best part of a week messing about with it on all kinds of stuff and I've gotten pretty good at knowing how good results will be before I even try it now ai upscaling can do two things it can make a horribly pixelated picture a lot better or it can make an already decent picture more decent let's start with pixelated images here is the skyline of San Francisco I got this original image squished it down to just three hundred eighty-four by two hundred and sixteen pixels and then I gave this to the AAR p– scaler and it produced this impress it this intent it really adds clarity to the outlines of the buildings as well as making sense of the mess of pixels on the walls and windows but it's not perfect you can see lots of phantom colors creeping into this one the buildings almost look like they've been drawn in crayon the pyramid building looks great in my opinion having successfully made the sides smooth from what was about six pixels of steps before and the windows were each about a pixel large which I think makes this upscaling very impressive something interesting to note here is that Jay pegging artifact in the sky the AI has taken those and has painted a large about the picture with them the Salesforce tower has been strangely smoothened if we look at the original image then you can see that it should actually have very clear rows of Windows but from the low res image it's become a huge rounded dildo as usual I feel it's done a good job with the trees especially when all it looks like before is a jumble of random brown pixels next up is u s– MIT again trees look more tree and I think it's nicely textured the mountains as well to think that from just a few pixels it can conjure up a convincing rock texture imagine if it got it wrong and made it look like soup or something as always people's faces turn into nightmare fuel I mean what's going on with this cartoon girl here now the Grand Canyon looks like my face is trapped in a plastic bag but the rest of the image is greatly improved I'd say it looks closer to the original image than it does to the pixelated one but you're free to disagree now to the tallest building in Devon ai upscaling makes the clouds looked very much like clouds the grass like grass the pavements also look a hell a lot better but again I think the trees are the best bit of the picture if I could have a favorite you know it's too upscale branches I feel like a broken record here but it continues to make everything look a lot more like what they are let's just forget about the pixelated image here and compare the upscaled one with the original I can't even tell which sky is the original and which is upscaled even though everything ends up looking quite different between them for once I don't think it does a very good job on the brass it makes a bit more like branches when in the original you can clearly see their blades of grass stupid AI this beautiful view of the Cornish coastline was unfairly crushed down to just 240 pixels wide the lowest I went in this test I when it's shrunk down this far even Vai begins to struggle it manages what looks like a ten year old phone photo blurry lacking detail horrible halos around everything but I think you can agree it still looks a hell a lot better than this now on to our graveyard shot which I didn't pixelate as much as with the previous pictures with this extra detail the AI has a field day lavishing the gravestones with fake writing nice bumpy stone textures the trees look great and the only thing that's off a bit is the grass the AI got a little bit too excited about this and made them all look like dancing snakes without anywhere near as many strands as didn't be original but I think you'll agree that as a whole this up scaled images quality is very acceptable and lastly we'll see what it does to this adorable Doge it correctly makes it look very hairy but I'm more impressed with a background it is successfully identified that it's meant to be blurry so instead of adding more detail like it has to the dog it's nicely blurred it there looks at a focus again just like with the original image that in my opinion is really impressive and shows intelligence when we compare the upscaled dog with the original you can see that the hair has lost a bit of clarity it's almost like comparing low and high texture detail in a video game isn't dead integrated graphics tress-fx integrated graphics dress effects and so on so upscaling from a pixelated image is something AI really excels at I guess these look so bad in the first place that AI can only make it look better the upscaling may not necessarily make them look more like the original picture again but it's worth it for the D blurring alone and more often than not it works a small miracle by nicely texturing various surfaces in a convincing manner but what about making a decent picture look more decent I mean sure it's the same goal but just starting with more pixels I first tried upscaling the original images but it resulted in some crazy 30,000 pixel wide photos which killed my PC so instead I'll just get small bits from the original images to upscale let's do the Salesforce tower justice but I don't know if it has it looks disappointingly similar in my opinion – the pixelation I mean don't get me wrong I think it's an improvement but it just isn't as impressive as drawing a whole picture from just a few pixels I decided to zoom in on your seventies famous Half Dome and again not as impressed with the result which appears – pastor Lee I blame this on the original images blur and haze it's not like it's sub scaling pixels with great contrast here which makes the resulting harsh tones all the more mysterious in my opinion I don't think the a I knew o was doing here just out of curiosity I have to the resolution of the before image to see if increased contrast would lead to better results he could say it's just a quarter don't know but this didn't particularly improve the upscaling in fact it added more oddly colored halos around stuff the Grand Canyon one of the wonders of the world a spectacular sight and so from this image I chose to upscale my face and again it's almost like it doesn't know what to do with the image I swear it's added some wrinkles that weren't there before but it doesn't even make the hair look area something that a I upscaling normally loves doing again I tried having the resolution of the original image and this time I think it really improved the result I look a lot more crisp sexy at least the hair now looks like hair and my bag strap looks like it's gotten an HD makeover well done ai you've redeemed your face upscaling in this example as a treat I fed at this tree image and it went to town on it beautiful thousands of creeping Criss crossing twigs and branches you can tell it really enjoyed upscaling this I think the original image was taken on a Google pixel which likes to over sharpen its images so maybe that's why this result is so good we've learned that it likes high contrast images we know it often upscales better if the original images shrunk town a bit so that's why I chose to do with this shot of the see I shrunk the original down to a third of the size and got that to be AI upscaled is this result better than the original image I think it is some of the grain is lost some of the clarity in the darker areas also but the whole image looks more InFocus the distant sea looks a lot clearer and I also like what it's done to the grass just here it's pretty much behaved like a denoise ax only it's noise and up the bits that had no noise before I did the same with this shot and again I think upscaling from an image one third of the size results in something better than the original make no mistake about it you can't get closer to reality than the original image but there's no mistaking that the upscaler has made the image crisper and in parts seemingly more detailed I got to this bit of the video and wondered if it was a bit disrespectful to upscale gravestones especially if I single that one in particular almost seems like bullying so I'm going to use this picture instead believe it or not no filters were used here just my Google pixels powerful post-processing magical HDR effects one let's learn I'll just get rid of that I think we should try and upscale the Johnny Miller there's a lot of noise in this original image let's see what upscaling AI thinks of that honestly I'm not too impressed with the result it did noises it somewhat and of course gets rid of the pixelation on the signs jazzercise is looking pretty damn hot there but I feel maybe this image was too muddy to do much to the building itself but then I halved the original images sighs and this happened oh my god this is a true enhanced moment it's removed the noise and is pretty much drawn a door that wasn't really there before and look at the fence in the windows reflection and the tiles on the roof and the bricks themselves I know this isn't new detail is just the AI doing stuff with what was there already but it's good enough for me even if the result is a bit like a watercolour at times also in case you were wondering the gravestones ended up looking sharper and the JPEG artifacts disappeared how about the dog's eye I was unimpressed with this it doesn't look quite so much like hair anymore and in parts it looks like it's attempted to split hairs into smaller ones which I did wonder if it would try I haft the resolution of the before image and this led to a clearer result but in my opinion it looks fake and has too much contrast and looks less like hair than it did previously sorry doc hey I doesn't like you be or forever be man's best friend or at least until AI takes your job as well if nothing else I reckon this AI upscaling could be used to compress images shrinking them down to a third will make the file sizes nine times smaller and it generally upscales them too close to the original quality again of course I'm sure it but sometimes horribly mess it up but it has potential we've seen real life images but what about games could this technology be used to upscale videos I hope to answer that and many more things in future videos I'll just end this one with some terrifyingly upscaled faces have fun [Music] [Applause]

Leave a Reply

Your email address will not be published. Required fields are marked *