Case study · AI product intelligence platform

NutriLensScan Any Food, Get a Score You Can Trust

A health company’s brain-health method, turned into an app: scan a food, get one score and the reason. Behind it, AI pipelines keep 1.14 million products clean and scored.

Barcode or photo 1.14M products
Client
Health company, United States
Built for
Shoppers, and the client’s data team
Platforms
iOS and Android app, web admin, API
Catalogue
About 1.14 million foods and supplements

Product renamed. We do not name the client, its app or its method. Screens are illustrations, not screenshots.

01The problem

What the Client Was Up Against

Getting a clinical method onto every product on a shelf was a data problem first.

  1. 01

    A million products, one method

    Every product needed a photo, ingredients and a score, applied the same way.

  2. 02

    Messy, incomplete data

    Labels differed, and hundreds of thousands of products had no ingredients.

  3. 03

    Wrong and missing photos

    One picture shared by unrelated products, and many with none.

  4. 04

    No room for silent errors

    A wrong score is a wrong health message.

02What we built

One App, a Data Factory Behind It

An app for the shop aisle, and the AI pipelines that keep its data right.

  • Barcode and Photo Scan

    Barcode to score in 2 to 3 seconds. A photo works when the barcode will not read.

  • One Simple Score

    8 to 10 good, 6 or 7 neutral, 1 to 5 bad, with the reason in plain English.

  • Better Picks

    Up to three better choices when a product scores badly.

  • AI Image Pipeline

    Photos cleaned in batches, with every image kept before and after.

  • Import Gate

    Spreadsheets are checked before anything is written. Bad files are refused.

  • Re-Scoring With Review

    Any product that flips from good to bad waits for a person.

03How it works

From Barcode to Score

Two sides of the same system: what a shopper sees in the aisle, and what the pipeline does so that answer is right.

NutriLens appBarcode or photo to a score
  1. CameraTriggerShopper scans a barcodeOr takes a photo if the barcode will not read
  2. CatalogueSystemProduct foundOwn catalogue first, about 2 to 3 seconds
  3. GeminiAI stepPhoto checked and searchedIs it food? Then a search phrase without the brand
  4. Lens ScoreResultScore and reason shown8 to 10 good, 6 or 7 neutral, 1 to 5 bad
  5. RecommendationsSystemUp to three better picksSame category, higher score
  6. Daily scoreResultLogged to today’s scoreShows what helped and hurt most this week

Workflow from a real project, simplified

04Inside the product

The Screens Behind the Score

The app shoppers see, and the admin console the data team runs the pipelines from.

Product score. One score per product with the reason in plain English, and up to three better picks when it scores badly. Illustration.

05Challenges and solutions

What Was Hard, and How We Solved It

What it took to make one score trustworthy.

  1. 01

    Scoring a Million Products, Not One

    Challenge

    Images, ingredients and scores for a million products, without collisions or lost work.

    Solution

    Batches run on stateless workers. Each product is locked in PostgreSQL, and a dead worker’s jobs go back in the queue.

  2. 02

    Fixing Photos Without Guessing

    Challenge

    The same photo sat on unrelated products, and many products had none.

    Solution

    A vision model checks each match and finds candidates with a confidence score. A person decides.

  3. 03

    Nothing Written Until It Passes

    Challenge

    One bad spreadsheet could damage thousands of records.

    Solution

    Each file is checked column by column first, and each import is one batch, undone in one step.

06How we delivered

Built in Three Layers

Three layers, each one live and feeding the next.

  1. The app

    Scan, score, better picks, search and a daily score. iOS and Android from one Flutter codebase.

  2. The data factory

    Eleven AI pipelines with an admin console, from images to safe export.

  3. Recommendations

    Personal suggestions with rule checks, a tone review and approved fallback wording.

07Proof

Fast for Shoppers, Careful With Data

Measured on the running system.

  • 1.14Mproducts in the catalogue
  • 11AI pipelines with human checkpoints
  • 2–3 sfrom barcode scan to score
  • < 1 ssearch across a million products
  • Every image is kept before and after, so any change can be checked or undone.
  • Every AI job stores the exact prompt that produced it.
  • Nothing reaches the live app without a dry run first.

08Tech stack

What It Runs On

  • Flutter
  • Python
  • FastAPI
  • Flask
  • HTMX
  • PostgreSQL
  • Typesense
  • Redis
  • Celery
  • Google Gemini
  • Anthropic Claude
  • Vertex AI
  • Firebase
  • Node.js
  • Docker
  • Fly.io
See more of our work

Tell Us What You Want to Grow. We Will Show You How to Build It.

Book a free 30 minute consultation with our team. No cost and no obligation.

1/5
What do you need help with?

Pick one

Takes about a minute. We use your details only to reply to you.