Blog

Photo calorie counter: how accurate is a photo estimate?

A photo gives a good first estimate of what's on a plate and how much, and you should still check it. Sahni shows how sure it is about each food and the range the meal's calories likely fall in, so you know which numbers to look at.

What a photo can measure

Sahni outlines each food, and the outline's size, the camera's focal length and, on iPhones that measure depth, the distance give a first weight for it. An on-device language model names the foods and splits each region's grams between them, and a separate lookup on the device gives the nutrition for each name. How a photo becomes a portion walks through every step.

What a photo can't see

A photo only shows the top of the plate. Oil in the pan or rice under a curry doesn't show, so add it or raise the grams. A food Sahni can't identify gets no numbers at all until you name it or remove it.

How Sahni tells you what to check

Each food on the review shows how sure Sahni is, such as "72% sure", and the meal shows a range, such as "Calories likely between 439 and 781 kcal". A wide range or a low percentage is the place to look first. You can change any food's grams, rename it, redraw its outline or remove it before you save.

A scan's review: grilled meat 165 g, 72% sure; pita bread 82 g; tomato 41 g
A scan's review, with each food's grams and how sure Sahni is.

Getting closer numbers

  • Take the photo with Sahni's own camera, which opens on the main lens and can use depth.
  • Correct the grams of foods you eat often. Sahni compares your number with its own and adjusts its next estimates, and a food you've confirmed is recognized as yours next time.
  • For packaged food, photograph the label: Sahni reads the nutrition panel and the barcode.
  • When there's nothing to photograph, type it. "3 eggs" or "½ cup rice" is weighed from household portion weights.

Where the photo goes

It stays on your iPhone. Sahni reads it there with Apple Vision, a food model inside the app and Apple's on-device language model. There's no account and no server to upload it to. Privacy has the details.

Sahni reads your meal photos on your iPhone and shows you what to check before you save.

Download Sahni on the App Store

Next: White rice and potatoes for weight loss