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.

Please enable Javascript to view this content

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…
How to move your Google Play library over to YouTube Music
youtube music pre installed android 10

YouTube Music will soon replace the Google Play Music streaming service, but you can easily transfer your musical library before the service fades out entirely. 

Google Play Music will end its nine-year reign to fully merge into YouTube Music, which debuted in 2015. 

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
SpaceX images show the awesome power of Starship’s Raptor engines
The Super Heavy booster's Raptor engines powering the Starship's launch on November 19, 2024.

SpaceX has posted some incredible images showing the Super Heavy booster's 33 Raptor engines as they powered the Starship rocket skyward at the start of the vehicle’s sixth test flight on Tuesday.

“[Thirty-three] Raptor engines powering the Super Heavy booster off the pad from Starbase,” SpaceX wrote in the message on X.

Read more