Skip to main content

How many calories are in that sundae? Google will tell you with the snap of a picture

Handpick food porn
Shutterstock / Joshua Resnick
For many people, counting calories is an exercise in futility. Studies show that most people underestimate the calories in food, and that’s obviously problematic if you’re looking to shed a few pounds. Luckily, Google is working on an “automatic food diary,” Popular Science reports. Google is tapping the artificial intelligence researchers it acquired when it bought DeepMind for $400 million to develop an system that can measure the calories in food from pictures.

“If it only works 30 percent of the time, it’s enough that people will start using it.”

Recommended Videos

The system, called Im2Calories, uses a combination of image recognition and comparative analysis to identify meals from average-definition photos. As Google research scientist Kevin Murphy demonstrated at this week’s Rework Deep Learning Summit in Boston, the system determines the depth of each pixel in an image, matches the results to a vast database of nutritional information, and then takes into account portions by gauging the size of the food relative to the plate it’s on. In one test, Murphy said, Im2Calories was able to calculate the accurate caloric total of two eggs, two pancakes, three strips of bacon, and the accompanying condiments.

Im2Calories isn’t perfect, though. It currently includes a dropdown menu for users to select the correct food when it misidentifies something, which happens somewhat frequently right now. However, Murphy told Popular Science that complete accuracy is at this point unrealistic.

“Ok fine, maybe we get the calories off by 20 percent. It doesn’t matter. We’re going to average over a week or a month or a year,” he said. Recognition can only improve as the body of data grows, he said. “If it only works 30 percent of the time, it’s enough that people will start using it, we’ll collect data, and it’ll get better over time.”

Of course, that’s only true if the nutrition labels themselves are correct. The New York Times reports that the current system of measuring calories — burning food to see how much energy it contains, a method developed in the 19th century — doesn’t take into account digestion. The body expends more energy to break down high-protein foods like meat and yogurt, and some foods aren’t digested at all. The labels on nuts are probably the most misleading — according to some researchers, they’re likely 25 percent too high.

“If we can do this for food, that’s just the killer app.”

And that’s to say nothing of the controversy around the practice of calorie tabulating in the first place. A 2011 Harvard University study published in the New England Journal of Medicine found that the makeup of food was a far bigger determinant of health than its caloric value.

“This study shows that conventional wisdom — to eat everything in moderation, eat fewer calories and avoid fatty foods — isn’t the best approach,” Dr. Dariush Mozaffarian, a cardiologist and epidemiologist at the Harvard School of Public Health and lead author of the study, told the New York Times in an interview. “What you eat makes quite a difference. Just counting calories won’t matter much unless you look at the kinds of calories you’re eating.”

Perhaps that’s why Murphy floated the idea of applying the mechanics behind Im2Calories — automated object recognition — to other fields. “If we can do this for food, that’s just the killer app,” he said. “We can do things like traffic scene analysis, predict where the most likely parking spot is. And since this is all learned from data, the technology is the same, you just change the data.”

Murphy wasn’t forthcoming about a release timetable for Im2Calories, or with details of the form it could take. Those details are likely months to years from being hashed out, but when Im2Calories does launch publicly, prepare to feel a lot guiltier about your sugary indulgences.

Kyle Wiggers
Former Digital Trends Contributor
Kyle Wiggers is a writer, Web designer, and podcaster with an acute interest in all things tech. When not reviewing gadgets…
GoPro launches ultralight, affordable Hero 4K Camera for $199
The 2024 GoPro hero is frozen in ice.

GoPro enthusiasts have a new camera to consider after the company introduced its miniature, ultralight 4K Hero late last week. It is the company's smallest and most affordable offering, costing just $199.

The Hero is waterproof and combines GoPro's simplest user interface with 4K video, 2x slo-mo at 2.7K resolution, and 12-megapixel photos. It is available on retail shelves around the world and online at GoPro's website.

Read more
The best camera phones in 2024: our top 9 photography picks
A person holding the Samsung Galaxy S24 Ultra and Xiaomi 14 Ultra.

In the past decade or so, cameras on smartphones have evolved so much that they can pretty much replace a standalone digital camera for most people. The results you can get on some of the best smartphones these days are just so impressive, and being able to be with you at all times means you'll never miss a moment.

But what if you want the best possible camera phone money can buy? A camera that won't let you down no matter what you're taking a picture of? You've come to the right place. Here are the very best camera phones you can buy in 2024.

Read more
An ace photographer is about to leave the ISS. Here are his best shots
The moon and Earth as seen from the ISS.

NASA astronaut Matthew Dominick is preparing to return to Earth after spending seven months living and working aboard the International Space Station (ISS).

After arriving at the orbital outpost, Dominick -- who is on his first mission to space -- quickly earned a reputation for being an ace photographer. He's been using the facility’s plethora of high-end cameras and lenses to capture amazing shots from his unique vantage point some 250 miles above Earth. Sharing his content on social media, the American astronaut has always been happy to reveal how he captured the imagery and offer extra insight for folks interested to know more.

Read more