The code is based on Google's "machine learning" artificial intelligence software, which looks for patterns it has been trained to recognise in images fed to it. It then repeatedly slightly changes the image to make it look like that pattern, often beyond recognition, to create vivid, often lucid, images. Picture: Google

Credit : Google