Google Implements AI Landscape Photographer
Written by David Conrad   
Sunday, 16 July 2017

The latest artistic AI is Google's Creatism, a deep learning photographer which it claims is capable of creating professional quality work. Looks like photographers aren't immune from the robot/AI takeover.

 

landtest4

 

One of the problems with using AI in any creative endeavour is that it is really difficult to judge how well things have worked - art is subjective and even human art is often influenced by the random. You could put this more formally by saying that a Turing test restricted to creating art would be one of the easiest to fake. In this case, however, the two-man team tried very hard to validate what they had achieved. It is also true that the particular branch of photography, landscape photography, has some rather more deterministic rules about what we find acceptable. Landscape photos have elements of symmetry starting from the sky earth dividing line and extending to the landforms and other elements.

Rather than sending a robot photographer out into the field, well this is landscape photography, the team of two, Hui Fang and Meng Zhang, used Google Street View - which isn't known for its stunning photography:

Our virtual photographer “travelled” ~40,000 panoramas in areas like the Alps, Banff and Jasper National Parks in Canada, Big Sur in California and Yellowstone National Park, and returned with creations that are quite impressive, some even approaching professional quality — as judged by professional photographers.

Without a labeled set of good and bad photos, training a Generative Adversarial Network (GAN) is difficult. The new idea is to use roughly orthogonal aesthetic qualities and train the network on each separately.

The generative part of the network used:

  • Composite an image from environment
  • Apply saturation filter
  • Apply HDR filter
  • Apply dramatic mask

to try to create artistically good photos that the main network couldn't distinguish from human-taken photos that had been degraded in some way. Then the other network tried to tell the difference between the improved photo and the original. In this way the network slowly learned how to improve a not-so-good photo.

From our point of view the interesting one was the dramatic mask. This is a generalization of vignetting, a change in brightness to the edge of the image, often applied to make photos look more dramatic.

In this case the network attempted to learn a brightness modulation across the entire image. This was a way of making up for the long hours that landscape photographers spend waiting for the light distribution in the scene to be just right - or for the luck in taking the photo at the right moment lighting-wise by accident.

 

drmaticmask

Images before and after applying the dramatic mask.

 

The dramatic mask technique looks as it if could be generally useful. It also takes what the AI can do with a photo well beyond what a human photographer can do.

After learning what makes a good photo, the AI was let loose on some test cases. It cropped, change the saturation and balance and added a dramatic mask. One example is below:

 

landtest1

To evaluate how well the AI had done in learning what makes a great landscape photo, a panel of professional photographers was asked to grade a set of photos, including those produced by the AI - a sort of landscape photo Turing test. Roughly 40% of the AI photos were judged to be pro or semi-pro.

You can see samples in the paper, in a Github gallery and on the Google blog, but the example below showing the Street View original and what the AI has done to it is typical.

landtest2

 

You can see that the dramatic mask is worth its weight in Ektachrome. The final comment on the blog is interesting:

"The Street View panoramas served as a testing bed for our project. Someday this technique might even help you to take better photos in the real world. We compiled a showcase of photos created to our satisfaction. If you see a photo you like, you can click on it to bring out a nearby Street View panorama. Would you make the same decision if you were there holding the camera at that moment?"

Of course, you might think that there were better positions and crops but without that dramatic mask you might not have produced something quite as good. You can tell I really, really want to use it myself.

 landicon

More Information

Using Deep Learning to Create Professional-Level Photographs

Creatism: A deep-learning photographer capable of creating professional work

Creatism - Gallery

Related Articles

Selfie Righteous - Corrects Selfie Perspective

Google Presents --- Motion Stills

A Neural Net Colorizes Photos

Removing Reflections And Obstructions From Photos

No More Bad Hair Days

Google - We Have Ways Of Making You Smile

New Algorithm Takes Spoilers Out of Pics

Google Has Software To Make Cameras Worse

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

 

Banner


WasmCon 2023 Sessions Now Online
01/03/2024

The recorded session of the premier conference for technical developers and users interested in exploring the potential of WebAssembly are now online.



Running PostgreSQL Inside Your Browser With PGLite
18/03/2024

Thanks to WebAssembly we can now enjoy PostgreSQL inside the browser so that we can build reactive, realtime, local-first apps directly on Postgres. PGLite is about to make this even easier.


More News

raspberry pi books

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Sunday, 16 July 2017 )