Skip to main content

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

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 latest stunning photo has so much going on in it
Earth and space as seen from the space station.

NASA astronaut Don Pettit has been busy with his camera again. The crack photographer recently shared another stunning image, this one captured from the window of a Crew Dragon spacecraft docked at the International Space Station (ISS).

“One photo with: Milkyway, Zodical [sic] light, Starlink satellites as streaks, stars as pin points, atmosphere on edge showing OH emission as burned umber (my favorite Crayon color), soon to rise sun, and cities at night as streaks,” Pettit wrote in a post accompanying the photo.

Read more
We praised the GoPro HERO 13, and today it’s $100 off
A person holding the GoPro HERO13 Creator Edition in front of the ocean.

Whether you’re looking to capture footage on your weekly wilderness treks or you love grabbing video at the skate park in impromptu fashion, one of the best action cams for the job is the GoPro lineup. Long hailed as one of the best activity-oriented cameras the world over, we came across this fantastic GoPro offer while looking through Best Buy deals: 

Right now, when you purchase the GoPro HERO 13 Creator Edition through Amazon, Best Buy, or Walmart, you’ll only pay $500. The full MSRP on this model is $600. 

Read more
This rocket-launch photo is unlike any you’ve seen before
Blue Origin's New Glenn rocket visible as a streak of light from bottom right to top left.

Blue Origin launched its New Glenn heavy-lift rocket for the first time last week, and news sites and social media feeds were quick to share dramatic images of the 98-meter-tall rocket heading toward the heavens.

At the same time, NASA astronaut Don Pettit captured the launch in a long exposure from the International Space Station (ISS) some 250 miles above Earth. The result is a rocket-launch photo unlike any you’ve seen before:

Read more