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.

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 best photo printers you can buy in 2024
Alan compares draft, standard, and high-quality photos from Epson's EcoTank ET-8500.

A comparison of draft, standard, and high-quality photos from Epson's EcoTank ET-8500. Tracey Truly / Digital Trends

If you love sharing photo prints or building physical photo albums, you might want to upgrade to a photo printer. When manufacturers optimize printers for pictures, the results can match or exceed that of the best printers available.

Read more
Crutchfield sale: Save on Canon, Sony and Nikon mirrorless cameras
Canon EOS R5

Photography can be a fun and even lucrative endeavor, although it also can be exceedingly expensive, with some of the best full-frame cameras on the market easily reaching and even exceeding one or two thousand dollars, and that's without taking into account the cost of the lenses. Luckily, there is a great sale at Crutchfield right now on various cameras and camera kits, and you can actually grab yourself some excellent cameras, whether you're just starting out or want to upgrade to the next level. To that end, we've picked some of our favorite deals below, although it's well worth checking out the full Crutchfield sale that's happenning now.

What you should buy in Crutchfield's camera sale
If you're just starting out with photography and don't want to spend the thousands of dollars you do for the slightly better cameras that you'll find in the mid-range, the Canon EOS R100 is an excellent option, and this kit includes a lens as well. It has a 24.1-megapixel sensor for high-quality photography, a 3-inch screen so you can get a better sense of what you're filming, and, of course, the RF-S 18-45mm f/4.5-6.3 lens that the kit comes with. It can also connect with both Wi-Fi and Bluetooth, and all of that comes packaged at , which is $100 off the usual $599 price tag.

Read more