Scan a meal with your camera

Take a photo of the food on your plate and get a rough calorie estimate in seconds. The recognition model runs 100% on your device — your photo never leaves your browser, no account, no sign-up.

How it works

  1. 1

    Take a photo

    Point your camera at a single food item on a plain background — one clear subject gives the most reliable result.

  2. 2

    AI identifies it on your device

    A MobileNet model runs locally in your browser and matches the food to a per-100g reference value from USDA data.

  3. 3

    Set your portion and get calories

    Drag the portion slider to match your serving. Total calories scale linearly from the per-100g value.

How photo-based calorie estimation works

Calorie estimation from a photo is a two-step pipeline. First, a MobileNet convolutional neural network — trained on the ImageNet dataset — classifies the image and returns its best guess among roughly 1,000 everyday object categories. We map the food categories it can actually name (banana, broccoli, pizza, salmon and about 40 more) to per-100g energy reference values taken from the USDA FoodData Central database.

Second, you tell the tool how much you ate. Since energy density is expressed per 100 g, the total is a simple linear scaling: total kcal = kcal per 100 g × portion in grams ÷ 100. That is why the portion slider matters more than the photo itself — a 300 g plate of rice and a 100 g plate of rice produce very different numbers, and only you know which one you ate.

Be honest about what this tool can and cannot do. It cannot weigh your food, it can confuse visually similar items (zucchini versus cucumber, cheeseburger versus hamburger), and cooked dishes vary with their recipe. Treat the result as a planning aid — a quick way to log a rough number — and use the food database or a kitchen scale whenever precision matters.

Frequently asked questions

›How accurate is the calorie estimate?

Photo-based recognition is an approximation, not a measurement. Expect a typical spread of about ±30%: the classifier may confuse similar foods, and portion size is estimated from your slider rather than weighed. For exact values, look the food up in the database or weigh your serving.

›Does my photo leave my device?

No. Recognition runs entirely in your browser with an on-device model. Your image is never uploaded, stored, or sent to a server — nothing leaves your device.

›Why does the first scan take a few seconds?

The recognition model is downloaded once (about 8 MB) and cached by your browser. Every scan after that runs instantly. Hosting the weights with the site keeps this fast and private.

›Which foods can it recognize?

The model knows about 1,000 everyday objects, of which roughly 45 are common foods we map to calorie reference values — fruits, vegetables, seafood, breads, snacks and a few prepared dishes. If your food is not mapped, use the food database search instead.

Related tools