How NutriScan Works

From upload to insights in seconds — powered by Google DocAI, AI, and the UK's official CoFID nutrition database.

The Pipeline

Every step is logged, every source is shown. No black boxes.

📂

1. Upload Menu

Customer snaps a photo or uploads a PDF. NutriScan sends it to our backend for processing.

POST /api/process_menu
Content-Type: multipart/form-data
→ menu_image.jpg
📑

2. OCR Processing

Google Document AI extracts every word, line, and bounding box from the menu image.

"ocr_text": "Chicken Tikka Masala £8.50"
"bbox": [ { "x": 0.12, "y": 0.34 }, ... ]
🤖

3. AI Parsing

AI turns raw OCR text into structured data — dish names, descriptions, and prices.

{
  "name": "Chicken Tikka Masala",
  "price": "8.50",
  "description": "Tender chicken in spiced curry"
}
🥗

4. Nutrition Lookup

Each dish is cross-referenced against the UK's official CoFID dataset, with AI fallback when no match is found.

Calories: 158 kcal/100g
Protein:  12.3 g
Carbs:     9.5 g
Fat:       7.2 g
Salt:      1.8 g
📊

5. Live Results

Progress logs stream back in real time. Customers see results as they're processed — full transparency.

🚀 Uploading to NutriScan API…
📑 OCR complete
🤖 Parsed 12 dishes
📊 Nutrition lookup done
✅ Success! Results ready
🧭

6. Confidence & Sources

Every nutrition value carries a source and confidence score — because transparency matters.

source:     "CoFID ✅"  |  "CoFID (ingredients) ✅"  |  "AI (estimated)"
confidence:  0.90       |   0.75                       |   0.60
basis:      "Matched: Chicken tikka masala, canned"

⚠️ NutriScan shows every log, every dataset, every step. Transparency is the point.

Built Different

Built for Trust

Real logs, real sources, real caveats — no black boxes. Every nutrition value tells you where it came from.

CoFID-Backed

The UK's official Composition of Foods Integrated Dataset — 2,890 foods, maintained by Public Health England.

Any Cuisine

Indian, Chinese, Italian, Thai, British — NutriScan handles any menu type with intelligent ingredient matching.

Try It Yourself

Upload any menu and see the full pipeline in action — every step, every source.

Scan a Menu