Barcode scanner vs photo scanner: which should you use?
Barcode for packaged food, photo for plates and bowls, both in one meal, and the Fix Results step that ties them together.
Barcode scanner or photo scanner: which should you use?
Barcode for packaged food, photo for everything else. A barcode scan looks up the product and returns its nutrition label, so the numbers are the manufacturer's, held to the 20% tolerance in 21 CFR 101.9. A photo scan identifies the foods in the image and estimates their portions, so the numbers are an estimate that you then confirm or adjust.
They answer different questions. The barcode answers what is in this product per serving. The photo answers what is on this plate and roughly how much. Most real meals need both: the yogurt has a barcode, the fruit on top does not.
Decision table by food type
| Food | Use | Why |
|---|---|---|
| Packaged snack, cereal, protein bar, drink | Barcode | Label values; set the amount eaten |
| Yogurt, milk, cheese in a package | Barcode | Fat level and brand matter; the label knows |
| Plated home meal (chicken, rice, vegetables) | Photo | Fast; portions visible; correct with Fix Results |
| Restaurant or takeout dish | Photo | No barcode; the scan estimates the components |
| Fruit, raw vegetables | Photo or search | Whole foods have USDA values; weight is the only question |
| Mixed dish you cooked (curry, stew) | Ingredients once, then the saved recipe | Oil and ratios are invisible to a photo |
| Oil, butter, dressings | Barcode or weighed search entry | Too dense to eyeball |
Worked example: one breakfast, both scanners
Breakfast is a 170 g tub of nonfat Greek yogurt, 40 g of granola from a box, and a medium banana. USDA values stand in for the labels here.
- Yogurt, barcode. The label gives the per-container value. USDA nonfat Greek yogurt is 59 kcal and 10.2 g protein per 100 g, so 170 g = 59 × 1.7 = 100 kcal and 17.3 g protein.
- Granola, barcode plus scale. The label is per 50 g serving but you weighed 40 g. USDA granola is 489 kcal per 100 g, so 40 g = 196 kcal and 5.5 g protein. Set the amount to 40 g with the serving control.
- Banana, photo. The scan identifies a banana and estimates a medium one, 118 g at 89 kcal per 100 g = 105 kcal and 1.3 g protein.
- Total: 100 + 196 + 105 = 401 kcal and 17.3 + 5.5 + 1.3 = 24.1 g protein.
If you had scanned the whole bowl as a photo, the scan would still see yogurt, granola and banana, but it would have to guess the yogurt's fat level and the granola's weight. Whole-milk Greek yogurt is 97 kcal per 100 g (USDA), so a wrong guess there alone is 38 × 1.7 = 65 kcal. The barcode removes that guess.
How the Fix Results step ties them together
Every scan in Cal.AI, barcode or photo, lands on the same result screen: each item with calories, protein, carbs and fat, and a meal total. From there:
- Check the items. If the photo called your turkey "chicken", rename it in Fix Results.
- Check the portions. Use the − / + serving control, or open Fix Results to set a weight from your scale.
- Add what the camera cannot see. Oil in the pan, dressing on the salad, sugar in the coffee. Swap or add the ingredient.
- Save it. Corrected foods and recipes are saved for one-tap reuse, so the second time you eat this breakfast it is one tap.
The totals recalculate instantly as you edit, so you can see the effect of each correction. Our guide to counting calories with a photo covers how to frame the shot so the first estimate is closer, and how accurate AI calorie counting is explains where the estimate is tight and where it is not.
When the barcode is not the answer
Barcodes are only as good as the label and the serving. Three cases to watch:
- You ate a different amount than one serving. The label is per serving; set the amount to what you ate, by weight if you can.
- The product is not in the database. Imported or small-brand products may not match. Type the label values in with manual entry.
- The label is for the dry or uncooked product. Pasta and rice labels are per dry weight. Weigh dry, or use a cooked search entry.
Common mistakes
- Photographing a packaged food that has a perfectly good barcode on the back.
- Scanning a barcode and accepting "1 serving" without checking the serving weight.
- Accepting a photo estimate for oil-heavy dishes without adding the oil.
- Re-scanning a photo until you get a lower number.
- Logging the dry-weight label for cooked pasta or rice.
Frequently asked questions
Is a barcode scan always more accurate than a photo?
For packaged food, yes, because it returns the label rather than an estimate. Label values are themselves allowed a 20% tolerance under 21 CFR 101.9, and the serving may not match what you ate, so set the amount. For a plate of food there is no barcode, and the photo is the right tool.
Can I use both scanners for one meal?
Yes. Scan the packaged items by barcode and the plate by photo, and they combine into one meal total. In Cal.AI the result screen lists every item with its calories and macros, and Fix Results lets you adjust any of them before you save. The corrected meal is then saved for reuse.
What does the photo scanner do with a mixed dish?
It identifies the main components it can see and estimates a total. It cannot see oil in a sauce or the ratio of ingredients under the surface. Treat the result as a starting point, add the oil you know went in, and for your own recipes log the ingredients once and save the recipe.
Does Cal.AI store my food photos?
No. Photos are analyzed to estimate calories and are not stored on Cal.AI servers. Your diary entries sync through your account using Apple or Google sign-in, so the log is available on a new device, but the images themselves are not kept after the analysis.
Sources
- 21 CFR §101.9(g) — nutrition labeling compliance (the 20% tolerance). eCFR
- U.S. Food and Drug Administration. How to Understand and Use the Nutrition Facts Label. FDA
- U.S. Department of Agriculture. FoodData Central. USDA