Skip to main content

AI can turn apples into oranges but can’t turn an iPhone photo into a DSLR shot

uc berkeley ai software unpaired image transfer 11020607  apples and oranges isolated on a white background
Anelina / 123RF
Comparing a painting to a photograph is like comparing apples to oranges but an artificially intelligent program can imagine what a photo of apples would look like as oranges, then actually turn that image into that fruit. Researchers at the University of California Berkeley used artificial intelligence to craft the strangest style of transfer software yet, capable of turning paintings into photographs, horses into zebras, winter into fall, and a number of other unique style transfers.

Popular apps like Prisma turn photographs into different styles of paintings using AI programs trained to mimic certain styles. But, those apps are trained on what is called paired data — the AI is created using so many sample images that the system has already learned the difference between a landscape and a selfie.

Recommended Videos

The research group at UC Berkeley, however, uses unpaired data. In other words, it can take two photographs and transfer the styles to the other without a reference image. To do that, the team had to teach the program to learn the relationship between two photos. By training the network using many photos and checking the results with both software and actual people, the team developed a program that could “successfully” transfer styles without that reference image.

UC Berkeley

“Successfully” is used loosely since the researchers’ knowledge that systems using that reference image still had superior results. The goal, however, was to build a system that works without the reference since getting that reference data can be expensive or difficult in a number of scenarios.

Please enable Javascript to view this content

Some images transferred better than others — while transferring objects with a similar shape like a horse to a zebra created some impressive results, objects with different shapes did not work, like trying to change a dog into a cat. An attempt to turn an iPhone photo into a DSLR photo is also included among the team’s list of failed image transfers.

While the real-world applications for turning an apple into an orange is questionable, because the system doesn’t need that reference image, the program is widely varied on the types of style transfers it can tackle. The program was successfully able to create a shallow depth of field from a reference photo and reimagine what historic paintings would look like if the painter viewed the scene in an entirely different season. The program was also able to create style transfers for specific artists instead of only a single painting, like turning a photograph into a Monet but not necessarily Starry Night.

Hillary K. Grigonis
Hillary never planned on becoming a photographer—and then she was handed a camera at her first writing job and she's been…
Astronaut’s photo shows Earth as you’ve never seen it before
Earth as seen from the space station.

NASA astronaut Don Pettit already has a long-held reputation for creating stunning space photography, and his latest effort will only bolster it.

Shared on social media on Thursday, the image (top) shows Earth as a blaze of streaking light, an effect created by using long and multiple exposures to capture cities at night across several continents.

Read more
This GoPro camera is $100 off at Walmart today
The GoPro Hero 12 Black Creator Edition set up on a small tripod on the beach.

When it comes to high-octane sports and other speedy scenarios, our phone cameras can only do so much to capture the action. That’s why there’s such a big market for action cameras, and one of the O.G. camera companies in this realm is GoPro. For years, GoPro has been delivering HD and 4K cameras that are both durable and user-friendly, which is why we’re glad to shine a light on this fantastic offer we found while vetting Walmart deals:

When you purchase the GoPro Hero 12 at Walmart, you’ll pay $300. At full price, this model sells for $400.

Read more
The excellent intermediate Canon EOS R10 camera is $86 off at Walmart today
Canon EOS R10 camera mirrorless with STM lens attached and flash up

I recently grabbed a Canon EOS R50 bundle for a trip to the Dominican Republic. I did a lot of research before I made my decision, sifting through the best camera deals, and the two options I essentially narrowed down were the R50 and the EOS R10. The biggest difference between the two is that the R10 gives you more granular control over some of the photoshoot settings. R50, on the other hand, was designed assuming you'll mostly use the automatic shooting modes. That's a great option for novices, while the R10 is better for intermediate to more skilled photographers. Why am I telling you all of this? Because the excellent Canon EOS R10 camera is on sale at Walmart for Black Friday, discounted by $86 to $760 instead of $846. It is one of the better early Black Friday camera deals I've found so far. It comes with an 18-45mm lens. Needless to say, that's a great deal. Comparatively, the R10 with body only -- no lens -- is .

 
Why shop the Canon EOS R10 camera in Walmart's early Black Friday sale?

Read more