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.

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…
The new Polaroid Flip comes with sonar autofocus
The Polaroid Flip camera, launched in April 2025.

Polaroid has just unveiled a new camera for some instant analog fun.

The Flip comes with fewer features than Polaroid's pricier I-2 model, but is more advanced than the Go, Polaroid's most basic instant camera -- so it could hit the sweet spot for some folks looking for such a device.

Read more
The best space imagery from Don Pettit’s incredible 7-month mission
The Betsiboka River estuary in Madagascar.

Photographer extraordinaire Don Pettit is about to return to Earth following a seven-month stay aboard the International Space Station (ISS).

During his time in orbit some 250 miles above Earth, Pettit has been sharing breathtaking photos and videos of Earth and beyond, featuring everything from star trails and aurora to rocket launches and cityscapes.

Read more
Best tech deals for mom: A Mother’s Day gift guide
The Garmin Lily 2 smartwatch, in purple and gold colors.

Mother's Day is fast approaching, and for the tech savvy moms and wives out there, we've rounded up the best gift ideas for the special day. With huge discounts up for grabs on these popular devices, it's going to be a good idea to push forward with any purchases as soon as possible -- not only to secure the savings, but also to make sure that your Mother's Day gifts will arrive on time. We've got something for everyone, so read on if you need help finding that perfect gift.

Garmin Lily 2 -- $200 $250 20% off

Read more