How Afiya AI Works

A transparent explanation of the methodology, data sources, AI approach and limitations behind each tool. We believe you deserve to understand how results are generated.

Jump to a tool
📸
AI Photo Calorie Scanner
AI-powered nutrition estimates from food photos

How food is identified from a photo

When you submit a food photo, it is sent to an AI language model with vision capabilities. The AI analyses the image and attempts to identify the food items present based on visual characteristics including colour, texture, shape and typical presentation. The AI draws on its training to recognise common foods across many cuisines.

How nutritional information is estimated

Once the AI identifies the food, it cross-references that identification against USDA FoodData Central — a database maintained by the United States Department of Agriculture containing nutritional data for a large range of foods. The AI generates an estimate based on a typical serving or portion of the identified food.

Why results are estimates, not measurements

The word "estimate" is important and used deliberately. The scanner cannot measure your food — it analyses a two-dimensional photograph. Several factors make precise measurement impossible from a photo alone:

⚠️ Important: Calorie and nutrition figures from the photo scanner should be treated as general estimates, not clinically precise measurements. They are not suitable for clinical dietary management or medical purposes.
✓ Useful for
• General awareness of what you are eating
• Identifying high-calorie meals
• Comparing rough nutritional profiles
• Building general dietary awareness
✗ Not suitable for
• Clinically precise calorie counting
• Medical dietary management
• Managing medical conditions through diet
• Replacing a registered dietitian
Try the Calorie Scanner →
🔍
Ingredient & Dietary Checker
AI-assisted dietary screening for Halal, Vegan, Gluten-Free and Dairy-Free

How ingredients are screened

When you enter an ingredient name or E-code, the AI cross-references it against reference information from dietary authorities and food additive registries. The tool screens against five dietary categories: Halal, Vegan, Vegetarian, Gluten-Free and Dairy-Free.

Reference sources used
Halal screening: Reference information from JAKIM (Malaysia), IFANCA (USA) and HMC (UK) dietary guidelines and EU E-number registry classifications.
Vegan screening: Vegan Society ingredient classifications and animal-derived ingredient reference data.
Gluten-Free: GFFS (Gluten-Free Food Service) standards and EU gluten-free regulation reference data.
Dairy-Free: Dairy-derived ingredient classification including lactose, casein, whey and other milk proteins.

Understanding Halal screening results

Results are shown as one of three categories:

⚠️ This is not halal certification. Afiya AI provides AI-assisted ingredient screening for general guidance only. It does not issue halal certificates. For definitive halal status, always look for a recognised certification logo from JAKIM, IFANCA, HMC or your local halal authority on the product packaging.
✓ Useful for
• Understanding common ingredients and E-codes
• General dietary guidance and awareness
• Identifying potentially problematic ingredients
• Learning about dietary categories
✗ Not a replacement for
• Official halal certification
• Reading product labels directly
• Advice from a religious authority
• Allergen management for severe allergies
Try the Ingredient Checker →
🩺
AI Symptom Checker
General health information — not a medical diagnosis
Important: The Afiya AI symptom checker does not diagnose medical conditions. It provides general health information only. Always consult a qualified healthcare professional for medical concerns. In an emergency call 999 (UK), 911 (USA) or your local emergency number.

What the tool does

When you describe symptoms, the AI generates general health information relevant to those symptoms and organises it by a broad urgency level — Low, Medium or Critical. This is designed to help you understand whether something may need prompt medical attention.

How urgency levels are determined

Urgency levels are generated by the AI based on general clinical triage principles. They are broad indicators only and should not be treated as a definitive assessment of your individual situation. Many symptoms can have multiple causes with varying degrees of seriousness.

Important limitations

✓ What it can do
• Provide general health information
• Help you understand when to seek care
• Reduce unnecessary anxiety about minor symptoms
• Suggest basic self-care measures
✗ What it cannot do
• Diagnose medical conditions
• Replace a doctor or healthcare professional
• Account for your individual medical history
• Provide treatment recommendations
Try the Symptom Checker →
⚖️
BMI Calculator
Body Mass Index using the standard WHO formula

How BMI is calculated

BMI is calculated using a standard formula: weight in kilograms divided by height in metres squared (kg/m²). For imperial measurements, the tool converts to metric before calculating. This is the same formula used by the WHO, NHS and CDC.

WHO BMI Categories
Below 18.5 — Underweight  ·  18.5 to 24.9 — Normal weight  ·  25.0 to 29.9 — Overweight  ·  30.0 and above — Obese

Limitations of BMI

BMI is a population-level screening tool and has well-documented limitations when applied to individuals. It does not account for muscle mass, bone density, age, sex, or ethnicity. A highly muscular person may have a high BMI without excess body fat. Older adults may have a healthy BMI but still carry excess body fat. For these reasons, BMI should be used as one indicator among several, not as a standalone measure of health.

Try the BMI Calculator →
🍽️
AI Meal Plan Generator
Personalised meal suggestions based on your preferences

How meal plans are generated

You provide your daily calorie target, dietary preference (Halal, Vegan, Gluten-Free, Dairy-Free or balanced), health goal (lose weight, maintain or gain muscle) and the plan duration. The AI generates a suggested meal plan with breakfast, lunch and dinner for each day, including estimated calories and protein per meal.

Limitations

Try the Meal Planner →
🚨
Food Allergy Checker
Allergen screening against EU 14 regulated allergens and FDA standards

How allergens are screened

The tool screens named foods or ingredients against the 14 major allergens regulated under EU Food Information Regulation 1169/2011 and FDA major food allergen requirements. The AI identifies allergens that are typically present in the named food based on standard ingredients.

⚠️ Always check product labels. Allergen information from this tool is based on typical ingredients in a named food. Actual allergen content varies between brands, manufacturers and product versions. For life-threatening allergies, always read the product label and contact the manufacturer. This tool should never be the sole basis for managing a severe food allergy.
✓ Useful for
• General allergen awareness
• Understanding which allergens are common in certain foods
• Educational reference for allergen categories
✗ Not a replacement for
• Reading product labels
• Contacting manufacturers for allergen info
• Medical allergen testing
• Managing severe or anaphylactic allergies
Try the Allergy Checker →
📊
Data Sources
What reference information Afiya AI uses and how

Afiya AI uses an AI language model to generate results. The AI draws on reference information from publicly available sources that were part of its training, as well as the following specifically referenced databases and guidelines:

Nutrition reference

USDA FoodData Central — The US Department of Agriculture's food composition database. Used as a reference for nutritional estimates in the calorie scanner. Published at fdc.nal.usda.gov.

Halal screening reference

JAKIM (Department of Islamic Development Malaysia), IFANCA (Islamic Food and Nutrition Council of America), HMC (Halal Monitoring Committee UK), EU E-number registry — Used as reference guidelines for halal ingredient screening. Note: Afiya AI is not affiliated with any of these organisations and does not issue certification on their behalf.

Allergen reference

EU Food Information Regulation 1169/2011 — 14 major allergens. US FDA — Major food allergen requirements. Used as reference for allergen screening.

Health information reference

WHO ICD-10-CM — International Classification of Diseases, used as a general reference framework for organising health information. WHO BMI classifications — Used for BMI category definitions.

Vegan and gluten-free reference

Vegan Society ingredient guidance and GFFS (Gluten-Free Food Service) standards used as reference for vegan and gluten-free ingredient screening.

⚠️ How AI-generated results differ from database values: Afiya AI does not perform direct database lookups in real time. The AI generates results based on its training knowledge and the reference frameworks above. Results can differ from specific database entries and should be treated as informational estimates rather than precise database values.
Related Pages
About Afiya AI Privacy Policy Medical Disclaimer Learn — Guides & Articles