Glossary
Barcode Scanning
Updated February 28, 2026
Barcode Scanning pulls packaged food data into your logs quickly, then flags mismatches before macro decisions are locked.
Match ladder
Every scan moves through a controlled ladder, then records confidence.
| Match step | Requirement | Confidence |
|---|---|---|
| Exact | UPC and label text match, plus unit size check | high |
| High-confidence | UPC plus near-identical name and serving frame | medium-high |
| Probable | UPC exists but brand, variant, or serving context is ambiguous | medium with prompt |
| Manual fallback | no safe match or low confidence | no auto-commit |
Regional and label caveats
Barcode ecosystems vary by market, and scan quality changes accordingly.
| Region | Typical format | Likely issue | Practical fix |
|---|---|---|---|
| North America | UPC-A and UPC-E | duplicate producer IDs across variants | confirm serving size and package format |
| Europe | EAN-13 variants | language and unit conversions | choose region-specific data sources |
| Latin America | mixed coding and local imports | delayed database updates | capture label photo and open manual override |
| Asia and Oceania | multi-pack barcodes | unit ambiguity on shared family bars | verify multipack split before logging |
Incorrect and duplicate UPC handling
The system protects logs from duplicate inflation by applying duplicate rules before saving.
| Condition | Detection rule | User-facing result |
|---|---|---|
| Duplicate same UPC on same day | repeated scan with near-identical serving | merge into one line with incremented quantity |
| Incorrect scan sequence | unreadable or partial code | require manual product confirmation |
| UPC reused across variants | weight code mismatch or missing variant marker | fallback to manual correction mode |
Private correction flow
When confidence is low, privacy remains the priority.
| Step | What you do | Data handling |
|---|---|---|
| Review | compare nutrition fields and serving size | no additional profile data required |
| Correct | adjust serving, brand, or food name | only corrected item context is sent in session scope |
| Confirm | save corrected line item | keep a local correction marker for future scans |
If corrections repeat across a product family, the system can propose a custom profile tied to a safe internal alias rather than storing full retail identifiers.
When mismatches persist, check food database entries and fall back to food logging or photo logging until scans are stable.