← Blog

Snap the label: a photo of the panel, and numbers that say where they came from

You can now save a food by taking a photo of its Nutrition Facts panel. The interesting part isn't the photo. It's what we refuse to fill in, what a '<1 g' becomes, and who gets to change the shared food.

The best source for a packaged food’s numbers is usually in your hand. When our database doesn’t have the product, or has it with numbers that look wrong, the Nutrition Facts panel on the box beats any database row.

Since the 1.11 update, you can take a photo of that panel in Macroline (or pick one from your photos), check what was read, and save it as your own food. It’s labelled From the label, entered by you. You can do the same from a chat: send Claude a photo of a label through the Macroline connector and ask it to save the food.

Reading a label from a photo is not new. What we spent our time on is everything around the read.

Nothing gets filled in

An AI model reads the panel. It’s asked to copy what the label prints and nothing else. If a line isn’t on the label, the field stays empty. It doesn’t get filled in from what the model knows about similar foods, because a guessed number sitting next to “From the label” would be a lie with our name on it.

Then you check it. Nothing is saved until you’ve seen the numbers and confirmed them, and you can correct any of them first.

The photo itself is used for that one read and then dropped. It isn’t stored on our servers, in a database or in a log.

“<1 g” is not zero

US labels print small amounts as “less than 1 g”. The tempting thing is to store 0, or split the difference at 0.5. We store it as empty.

Zero is a claim the label doesn’t make. Empty means “the label didn’t give a number”, and Macroline treats it that way everywhere: a total never quietly adds an unknown in as 0 g. On Today, the fiber bar names the foods that list no fiber rather than pretending they had none. It’s a small rule, but it’s the same promise as the rest of the app: every number says where it came from, and a number nobody gave us doesn’t exist.

When the numbers don’t add up

Labels and databases both contain mistakes. One of us logged a protein ice cream and the app reported 50 g of fiber for the day. The database row it came from listed 16.7 g of fiber against 15 g of total carbohydrate. Fiber is part of carbohydrate, so that can’t be right. The label says 0 g.

So every food now goes through a few checks that catch numbers that can’t all be true together: more fiber than carbs, more sugar than carbs, calories that don’t match the protein, carbs and fat. A food that fails one isn’t hidden or deleted. It shows a note next to its source saying the numbers don’t add up, so you know to look at the label. When Claude reads that food, it’s told to say the same thing to you.

We tuned those checks against about 607,000 foods in our catalogue before turning them on. A false alarm on a correct food costs as much trust as a missed error, so where a check couldn’t tell a real mistake from an unusual food, we left it silent.

Your photo changes your food, not everyone’s

When you save a label, it changes only your own copy. The scan also goes into a review queue, where a person compares it with what the shared database has. If it’s approved, the shared food is updated and marked From a label photo, and the old numbers are kept so the change can be undone. Your name, email and account aren’t attached to the shared food.

That review step is slower than letting every scan overwrite the shared row. It’s also the only version we’d trust. We’ve written before about why crowd-sourced macros have a trust problem, and a photo pipeline with no review would rebuild exactly that problem, with better lighting.

And because your diary keeps the numbers you logged at the time, an approved correction to the shared food doesn’t rewrite meals you already logged.

The limits

The free plan includes 3 label scans a day. Pro includes 30.

A photo can be read wrong: glare, a curved bottle, a panel in another language. That’s why you check the numbers before anything is saved, and why the result is marked as entered by you rather than verified by us. If a scan gets something wrong in a way you think we should know about, tell us at info@macroline.app.