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.
- 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.
- 01
A million products, one method
Every product needed a photo, ingredients and a score, applied the same way.
- 02
Messy, incomplete data
Labels differed, and hundreds of thousands of products had no ingredients.
- 03
Wrong and missing photos
One picture shared by unrelated products, and many with none.
- 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.
- Shopper scans a barcodeOr takes a photo if the barcode will not read
- Product foundOwn catalogue first, about 2 to 3 seconds
- Photo checked and searchedIs it food? Then a search phrase without the brand
- Score and reason shown8 to 10 good, 6 or 7 neutral, 1 to 5 bad
- Up to three better picksSame category, higher score
- Logged 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.
- 01
Scoring a Million Products, Not One
ChallengeImages, ingredients and scores for a million products, without collisions or lost work.
SolutionBatches run on stateless workers. Each product is locked in PostgreSQL, and a dead worker’s jobs go back in the queue.
- 02
Fixing Photos Without Guessing
ChallengeThe same photo sat on unrelated products, and many products had none.
SolutionA vision model checks each match and finds candidates with a confidence score. A person decides.
- 03
Nothing Written Until It Passes
ChallengeOne bad spreadsheet could damage thousands of records.
SolutionEach 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.
- The app
Scan, score, better picks, search and a daily score. iOS and Android from one Flutter codebase.
- The data factory
Eleven AI pipelines with an admin console, from images to safe export.
- 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
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.