Nutrition, from photo to official source
You snap a photo of your plate, and the app shows calories, macros and 21 micronutrients. Here is exactly what happens in between, and why no nutrition value is ever made up by the AI: they all come from official databases.
What the engine calculates
The nutrition engine answers a simple question: what did you actually eat, and what did it give you? For each meal, the app calculates and shows your calories, protein, carbs and fat, but also 21 micronutrients and your antioxidant intake.
It also counts what almost everyone forgets: the water in food. A soup, a piece of fruit or a yogurt hydrates you too, and that water counts toward your hydration for the day.
Everything rests on one non-negotiable rule: the AI identifies and estimates; official databases supply the values. The AI recognizes what's on your plate and estimates the portions. The values, on the other hand, always come from an entry published by a reference source: calories, macros, micronutrients, antioxidants. No nutrition value shown is an estimate made up by the AI.
A catalog of 438,267 entries
When you scan a meal, each food is matched to the public nutrition databases that serve as the reference:
- The ANSES Ciqual table: France's food safety agency describes 3,484 foods in it, through 257,000 nutrient values measured in the lab. It's the reference table in France.
- USDA FoodData Central: the US Department of Agriculture's database, from which the app includes 433,631 products. It brings breadth: hundreds of thousands of entries, where Ciqual describes a few thousand.
- Open Food Facts: the collaborative database of barcoded products, with the values for one specific product, brand included.
The catalog also includes 1,152 mixed dishes, for plates that don't come down to a single food.
On top of these 438,267 entries come the barcoded products from Open Food Facts. Macros, micronutrients, antioxidants: every value shown in the app can be traced back to its official source.
From scan to entry, step by step
- The photo: you take a photo of your meal. Up to 3 photos per meal, merged into a single analysis, when everything doesn't fit in one frame.
- Recognition: the AI identifies the foods present and estimates the portion of each one.
- Matching: each recognized food is matched to a specific entry in the official databases. This is the decisive step: past this point, the AI doesn't supply a single number.
- Calculation: each entry's values are scaled to your portion, then added up to give the totals for the meal, and for your day.
- Correction: a food misidentified, a portion that needs adjusting? You correct it, and the calculation is redone with the right entry or the right amount.
Two other entry points lead to the same databases. A packaged product's barcode takes you straight to its Open Food Facts entry. And manual search lets you find a food in the catalog when you'd rather enter it yourself.
Why the values never come from the AI
It would have been simpler to ask the AI, “How many calories are on this plate?” It would have answered, confidently. But a generated number isn't a measured number: it's plausible, unverifiable, and it can change from one photo of the same dish to the next.
Hence the separation of roles. The AI does what it's good at: recognizing foods and estimating quantities. The databases do what they're good at: describing a food's composition, entry by entry, with an identifiable source. The benefit is concrete: when a number surprises you, it traces back to an official entry, not to a machine's hunch.
And why several databases rather than one? Because none is enough on its own. Ciqual brings the rigor of lab-measured values for basic foods, but it doesn't describe every product on the shelves. Open Food Facts knows packaged products, brand by brand. USDA FoodData Central brings volume. Combining them covers your plate without sacrificing rigor.
How much your nutrition weighs in your score
Your meals aren't just for keeping a food log. They feed the nutrition pillar of the Readiness Score, which is worth 21 points out of 100 and is scored on four criteria:
- How well you hit your targets — 40%. The day's calories, protein, carbs and fat, against the targets calculated by the Targets engine.
- Refueling after exercise — 25%. The protein you get after a workout, which gives your muscles the raw materials for repair (what to eat after a workout). On rest days, this criterion is removed and its weight is redistributed among the others.
- Micronutrients — 20%. How well your needs are covered, calculated from the values in the official entries.
- Hydration — 15%. Your hydration for the day, against what's recommended for you (how much water to drink a day).
One rule stands apart: if you drank alcohol the day before, the pillar is capped at 80 out of 100, even with flawless meals. Alcohol weighs on recovery, and no plate erases it.
Your nutrition also matters in the longer run: its score is one of the modifiers of your biological age, which it can move in either direction. As for your calorie target, it only makes sense relative to what you burn: the energy expenditure explainer shows how your expenditure is estimated.
The limits, no sugarcoating
An honest nutrition engine has to say what it can't do.
- A photo doesn't weigh your plate: portions are estimated, with a margin of error. An example: an entry with 10 g of protein per 100 g, on a portion estimated at 150 g, gives 15 g. If the real portion weighed 200 g, you're 5 g short. That's why you can correct it, and why the portion is the first thing to check.
- A food doesn't have a single composition: values vary with the variety, the cooking method and the brand. An entry describes a typical food, not exactly the one on your plate.
- Not all sources have the same status: Ciqual values are measured in the lab; Open Food Facts is a collaborative database, where a data-entry error is still possible.
- Read the trend, not the meal: a portion misjudged at one lunch weighs little over a week; a habit that repeats, on the other hand, eventually shows.
What this engine is not
The app is a wellness tool, not a medical device. The nutrition engine shows you what you eat and what it gives you; it doesn't diagnose anything, doesn't prescribe any diet and doesn't replace dietary or medical advice.
If you follow a diet because of a medical condition, if you're pregnant, if you take medication, or if your relationship with food is becoming a source of anxiety, see a doctor or a dietitian, not an app. And if you feel unwell or notice an unusual symptom, get medical advice; in an emergency, call your local emergency number (911 in the US, 999 or 112 in the UK and Europe).
References
- ANSES, Ciqual food composition table. ciqual.anses.fr
- USDA, FoodData Central database. fdc.nal.usda.gov
- Open Food Facts, collaborative database of food products. fr.openfoodfacts.org
Frequently asked questions
How does an app calculate the calories in a meal from a photo?
In Ecleptic, the AI recognizes the foods in the photo and estimates their portions. Each food is then matched to an entry in official databases (the Ciqual table from ANSES, France's food safety agency; USDA FoodData Central; Open Food Facts), and it's the values from those entries, scaled to your portion, that are shown.
Are calories estimated from a photo accurate?
The tricky part is the portion: a photo doesn't weigh your plate, so the estimated amount has a margin of error. The nutrition values, however, come from official databases, not from an AI estimate, and you can correct a food or a portion that was misjudged. To judge your diet, look at the trend over several days rather than a single meal.
What's the difference between the Ciqual table and Open Food Facts?
The Ciqual table is published by ANSES, France's food safety agency: it describes generic foods with values measured in the lab. Open Food Facts is a collaborative database of barcoded products, giving the values for one specific product from a given brand. Ecleptic relies on both, along with USDA FoodData Central, and links a scanned barcode to its Open Food Facts entry.
You just read the method.
The app applies it to you.
Ecleptic brings your sleep, nutrition and training together in one score, every morning. The iOS beta is open to a small circle.
Request access