Before you eat packaged food, the label is the primary evidence, and what it is obliged to say depends on where the food was sold. A US label must declare any of nine major allergens the food contains, an EU label any of 14, and a label under mainland China's new GB 7718-2025 any of eight, mandatory from 16 March 2027. None of the three systems requires a warning about cross-contact. A scanner, an app or your own eyes can only work with what is printed, so the first step is knowing what the law put there and what it left out. Nothing in this post is medical advice.
Which allergens must a food label declare?
A list fixed by law, and the three lists differ. In the United States, the Food Allergen Labeling and Consumer Protection Act (FALCPA) named eight major allergens and the FASTER Act added sesame from 1 January 2023, for nine in total: milk, eggs, fish, crustacean shellfish, tree nuts, peanuts, wheat, soybeans and sesame (FDA). The source must appear in parentheses after an ingredient, as in "lecithin (soy)", or in a "Contains" statement next to the list, and the label has to name the tree nut, fish or crustacean species.
The FDA's fifth edition of its allergen guidance, published on 6 January 2025, changed three definitions: milk now includes milk from goats, sheep and other ruminants, eggs include duck and quail eggs, and coconut is no longer on the tree nut list (FDA guidance FAQ).
The European Union's list is longer. Regulation (EU) No 1169/2011, applied since 13 December 2014, names 14 groups in Annex II. It adds celery, mustard, lupin, molluscs and sulphites above 10 mg/kg to the American set, and it covers every cereal containing gluten, not wheat alone. Article 21 requires those names to be emphasised inside the ingredient list with a typeset that sets them apart, which in practice usually means bold.
Mainland China is mid-change. Under GB 7718-2011, declaring allergens was a recommendation. GB 7718-2025, issued by the National Health Commission and the State Administration for Market Regulation, makes eight categories mandatory from 16 March 2027: cereals containing gluten, crustaceans, fish, eggs, peanuts, soybeans, milk including lactose, and tree nuts. They go in bold or underlined within the ingredient list, or in a statement next to it; any other allergen, sesame included, may be declared voluntarily (NHC Q&A).
| United States | European Union | Mainland China | |
|---|---|---|---|
| Rule | FALCPA, amended by the FASTER Act | Regulation (EU) No 1169/2011 | GB 7718-2025, from 16 March 2027 |
| Allergens that must be declared | 9 | 14 | 8 |
| How they are marked | Parentheses or a "Contains" line | Emphasis inside the ingredient list | Bold or underline, or a nearby statement |
| Sesame | Required since 1 January 2023 | Required | Voluntary |
| Molluscs such as oysters and clams | Not a major allergen | Required | Not among the eight |
| Gluten cereals other than wheat | Not flagged as allergens | Required | Required |
| "May contain" wording | Voluntary | Voluntary, must not mislead | Encouraged |
The table explains a trap on American bread. FARE's label handout shows an ingredient list with malted barley flour above a summary line that reads only "Contains: Wheat". Its definition of crustacean shellfish also excludes scallops, clams, mussels and oysters. Someone avoiding gluten, or oyster in a sauce, has to read the full list, not the summary.
What does "may contain" actually promise?
Very little, legally. The FDA says advisory statements are not required by law, must be truthful and not misleading, and cannot stand in for good manufacturing practice; its guidance adds that a "Contains" statement and an advisory statement for the same allergen together could mislead. In the EU, precautionary wording is voluntary information under Article 36 of Regulation 1169/2011 and must not mislead or confuse. The regulation empowers the Commission to set uniform rules for it, yet the only implementing act the Commission lists under that power covers gluten-free claims (European Commission).
China's new standard encourages a statement when production may carry an allergen in, for instance on a shared line, and Appendix D suggests the wording: "may contain…", "may contain traces of…", or "this production line also processes products containing…".
No threshold sits behind any of these phrases. A precautionary line tells you about a manufacturer's labelling policy more than about the dose in the packet, and its absence proves nothing. FARE puts it plainly: if a precautionary statement lists your allergen, do not eat the food, and if there is none, do not assume the food is safe. Whether your own plan is stricter or looser than that is a question for your allergist.
Which foods carry no allergen label at all?
Food that was never packaged with a label. FALCPA does not cover most food sold unpackaged at retail or food-service counters, items wrapped after you order them, raw agricultural commodities or highly refined oils, and meat, poultry and egg products sit with the USDA rather than under FALCPA. China's GB 7718-2025 similarly exempts deeply processed ingredients from which the allergenic protein has been removed, such as refined soybean and peanut oil, refined fish oil and lactitol.
That makes the deli case, the bakery counter and the market stall the places where label reading stops working. The EU still obliges the seller there: Article 44 keeps allergen information mandatory for non-prepacked food, though each country decides how it must be provided. Restaurant meals have rules of their own, covered in the restaurant ordering checklist.
What can a camera read on a package, and what never reaches it?
Printed text and visible food; nothing else. Text recognition turns the photo into characters before any allergen check runs. Apple's Vision framework, the text recogniser built into iOS, returns each recognised line as a string with a confidence score and a position (Apple Developer). Type weight is not part of that output, so the bold emphasis that EU and Chinese law rely on disappears at the first step, and a scanner built on plain OCR has to recognise the allergen words themselves.
| What you need to know | Where it lives | Can a scan see it? |
|---|---|---|
| Allergens used as ingredients | Ingredient list, "Contains" line | Yes, if the full list is sharp and in frame |
| Which words are emphasised | Typography | Only a model that reads the image itself |
| Cross-contact the maker chose to declare | Precautionary line | Yes, when it is printed |
| Cross-contact nobody declared | Nowhere on the pack | No |
| A reformulated recipe | The current label only | Only if you scan the pack in your hand |
| Food sold without a label | Nowhere | No |
The physical failures are quieter. A curved bottle splits a line across the bend, glare wipes out a row, small print falls below what the lens resolves, and an importer's sticker can cover part of the original text. None of these produce an error message; they produce a shorter ingredient list.
A label routine for the minute before you eat
The FARE handout passes on a clinician's rule worth keeping: read the label when you buy the food, again when you put it away, and once more before you eat or serve it, because labels change without notice. Each read stays short if it follows the same order.
- Find the marker your region uses: the "Contains" line or parentheses on a US pack, the bold or underlined words inside an EU or Chinese ingredient list.
- Read the whole ingredient list for allergens outside that region's set, such as sesame on a Chinese label, oysters on a US label, or barley where only wheat is flagged.
- Read any precautionary line and apply the rule your allergist gave you, not the one the label implies.
- Compare with the last pack you trusted; a new recipe, size or design is a reason to read slowly.
- If the food has no label, ask the person who made or packed it.
- Use a scanner last, as a second reader of the same evidence.
Where AllergyLens fits, and what it cannot see
AllergyLens is built for step 6. Point the iPhone camera at an ingredient label, a plate or a menu, and it checks what it can read and see against the active person's profile: ten built-in allergens (peanut, tree nut, milk, egg, wheat, soy, fish, shellfish, sesame and gluten) plus any you add, so an EU list's celery, mustard or lupin can be checked as custom allergens. The answer is one of four levels, Detected, Suspected, Not detected or Uncertain. Each flagged allergen shows its evidence with a confidence figure, tagged by source: the ingredient list, a may-contain line, the dish name, or the picture itself.
The rule behind those levels matches how this post reads labels. Detected needs direct evidence, an ingredient line or something visible in the photo; a precautionary line or an inference from a dish name alone is reported as Suspected. Uncertain, returned for a dark, blurred or unreadable photo, is never quietly turned into Not detected, and nothing is ever called safe. How the camera scan works walks through the four levels.
Two limits are worth stating. The scan inherits every gap in the table above: it cannot see cross-contact nobody printed, and it is much weaker on trace and processed ingredients than on whole ones. And when identification needs the cloud model, the cropped image and the active allergen list are sent to it; the image is not kept afterwards. The free tier covers one profile and a daily scan allowance, and a Pro subscription, monthly or yearly, removes the daily limit and adds family profiles and PDF reports. In a household, one profile per person is what keeps each scan honest. AllergyLens is on the App Store.
When a scan should not change your decision
A scan is a second reading; it should never overrule the first. Put the food back, or ask, when:
- the label is missing, torn, covered or in a script you cannot check against the original;
- the result is Uncertain, until a sharper photo of the complete list says otherwise;
- your allergist has told you to avoid precautionary-labelled foods, whatever a scan reports;
- you know the food was made on shared equipment, even if the pack says nothing;
- the person has had anaphylaxis, in which case a scan is one extra check, never the only one, and the prescribed epinephrine goes with them regardless.