Blog Article · AI Food Scanning

Smarter Food Scanning: Enhanced Ingredient Safety Analysis and Allergen Detection

·5 min read

Knowing what is in your food goes beyond calories and macros. The latest update to Streak.ai's food scanner brings a major upgrade to how ingredients are analyzed — with comprehensive allergen detection, color-coded safety classification, and detailed IARC-based carcinogen identification.

Comprehensive allergen detection

The new AllergenWarningBanner automatically scans every ingredient list against a database of over 30 allergen categories, covering all major regulatory frameworks:

  • FALCPA (US): Milk, eggs, fish, crustaceans, tree nuts, peanuts, wheat, soy, sesame
  • EU Top 14: All of the above plus lupin, molluscs, celery, mustard, and sulphites
  • Regional: Buckwheat (Japan/Korea), coconut (FDA tree nut), oats (strict celiac)
  • Deep derivatives: Caseinates, whey isolates, soy lecithin, maltodextrin, modified food starches

When an allergen is detected, the scanner shows a clear red warning banner listing all detected allergens. Tapping the banner expands to show exactly which ingredients triggered each allergen — no guessing, no hidden ingredients.

Color-coded ingredient hazard map

The new IngredientHazardMap visualizes every ingredient in your food with a clear, color-coded safety rating:

  • Green (Safe): Natural or minimally processed ingredients with no concerns
  • Orange (Moderate): Processed ingredients or added sweeteners — fine in moderation
  • Red (Avoid): Controversial additives flagged by safety alerts
  • Purple (Carcinogen): IARC-classified carcinogenic ingredients

Tap any ingredient chip to see a detailed explanation of why it was classified that way. For carcinogens, the explanation includes the IARC group classification, the risk level, and the scientific reasoning behind the classification.

When there are more than 10 ingredients with 5 or more safe ones, the safe ingredients are automatically grouped into a single pill — keeping the display clean while still being informative.

IARC carcinogen classification

The scanner now includes a comprehensive local database of IARC-classified carcinogens. This database is authoritative for known carcinogens and is cross-referenced with AI-detected findings to prevent false positives:

  • Group 1 (Known): Sodium nitrite, ethanol, aflatoxins, processed meat, Chinese salted fish, areca nut
  • Group 2A (Probable): Acrylamide found in fried/baked starchy foods
  • Group 2B (Possible): Aspartame, BHA, Red 3, potassium bromate, titanium dioxide, 4-methylimidazole, caramel color, traditional pickled vegetables

Each detected carcinogen shows its full IARC group, human-readable risk level, and a detailed reason explaining the classification. This makes it easy to understand not just that an ingredient is flagged, but why — and how concerned you should be.

Natural vs processed percentage bar

A new visual indicator shows you at a glance how natural or processed your food is. The NaturalProcessedBar displays a gradient bar — green for natural percentage on the left, coral for processed percentage on the right — with exact percentages labeled above. This gives you an instant sense of where your food falls on the whole-food-to-ultra-processed spectrum.

Why this matters

Most nutrition apps stop at calories and macros. But the real story of food quality is in the ingredients — the additives, preservatives, artificial colors, and hidden allergens that standard tracking ignores. By bringing ingredient-level analysis to every scan, Streak.ai helps users make more informed choices about what they eat, not just how much.

This is especially important for people with food sensitivities, allergies, or concerns about ultra-processed foods. Instead of researching every unfamiliar ingredient, the scanner does the work for you in seconds.

Related articles