By Sufyan bin Uzayr

Have you ever wondered how Google sorts and categorizes images? Well, last month, Google answered that question, and shared with the world the artificial intelligence program they use to interpret and decipher images by looking for specific patterns.

To make things even more interesting, Google have released the source code for the world to learn from and experiment with, under the name Deep Dream.

Now, since the internet is having such a fantastic time playing around with Deep Dream, in this post, I will quickly explain what all the hype is about and how you can easily create your own Deep Dream image.

So, what exactly is Deep Dream?

Let me put it this way: Google has its own Artificial Neural Network (ANN) that is used to decode and process the millions of images that are indexed by its Google Image service. Google’s developers have trained this artificial intelligence to recognize certain objects by repeatedly showing it images of the same object.

For example, considering the fact that the internet really loves cats, after seeing some images of cats, ANN can recognize that “cat” is a given shape with its own characteristics.

The developers have realized that ANN can also be used to draw the images of the shapes that it recognizes, albeit in a slightly over-interpreted – bordering on the creepy – manner.

Google, therefore, decided to go public with this feature and encourage users to try it out for themselves.

To quote the Google Research team:

We have decided to open source the code we used to generate these images in an iPython notebook, so now you can made neural network inspired images yourself!

Interesting, isn’t it?

Deep Dream works by interpreting images as a sequence of shapes — as such, it focuses on benign aspects of the given picture as well, and attempts to recognize those otherwise benign components as a possible shape too.

The result?

It essentially transforms every single image that is thrown at it into some form of psychedelic dream. Yes, you really can use Deep Dream to transform your vacation photos into a scene from a science fiction story!

Some strange examples…

Many photos have already been shared on the web using Deep Dream, such as these:

Of course, it’s not just developers that are having a great time playing with this tool. Artists, designers, and even fantasy enthusiasts have given it a shot and come up with their own version of surreal images.

Want to give it a spin?

Would you like to try Deep Dream yourself? Psychic VR Lab have set up a simple tool that will let you play around with it. A similar option is being offered by Zain Shah as well.

If however, you’re looking for the source code, head over to GitHub, and download the code directly!

So what do you think of Deep Dream? Another step forward towards better understanding of artificial intelligence? Or just creepy?

Share your thoughts in the comments below!

Oh, and if you do create some Deep Dream images, make sure you share them on social media with the hashtag #deepdream.

The post Deep Dream: Viewing Images Through Artificial Intelligence Eyes appeared first on Envato Market Blog.

Read more here:: Deep Dream: Viewing Images Through Artificial Intelligence Eyes