Nutritionell: Fast and Transparent Nutrition Intelligence
Problem & Motivation
Our Mission
Nutritionell exists to put scale and simplicity at the heart of nutrition intelligence — so anyone can walk down a grocery aisle and instantly understand what they're actually buying, without becoming a food-label expert first.
The Nutritionell Approach
- Capture & Upload: Submission of dense grocery-shelf images
- Detection: A high-speed YOLO-based engine isolates 10-100 products in a single frame.
- Identification: Advanced Visual Language Models (VLMs) identify unique products and extract nutrition data.
- Deduplication: The system groups identical products to ensure a clean, intuitive user interface.
- Recommendation: An AI-driven reasoning engine scores products based on user-defined philosophies (e.g., Paleo, Vegan) and flags marketing claims like "All Natural" that don't align with actual ingredients.
Data Sources
Our models were trained on the SKU-110K dense-retail dataset, featuring 11,689 densely packed grocery shelf images. We created a custom experimental dataset and manually created a ground truth for end-to-end performance evaluation. We utilize the USDA FoodData Central datasets and the Open Food Facts dataset as support for our recommendation reasoning.
Evaluation
To provide a more detailed look at the technical rigor of Nutritionell, we evaluated the pipeline at both the component level (Detection) and as a complete system (End-to-End) to ensure accuracy in dense retail environments.
Detection Stage
For the detection stage, the primary goal was to isolate hundreds of individual products from a single shelf image. We trained our models on the SKU-110K dataset, which contains over 11,689 dense grocery shelf images with bounding box annotations for products.
We benchmarked five different YOLO architectures on validation data to find the optimal balance of speed and precision:
| Model | mAP@50 | mAP@50:95 | Recall | Precision | Inf (ms) |
|---|---|---|---|---|---|
| YOLO8m | 0.912 | 0.562 | 0.846 | 0.903 | 47.3 |
| YOLO11l | 0.916 | 0.568 | 0.853 | 0.904 | 51.1 |
| YOLO11n | 0.904 | 0.535 | 0.836 | 0.893 | 43.9 |
| YOLO26s | 0.927 | 0.566 | 0.859 | 0.893 | 44.4 |
| YOLO26s-P2 | 0.916 | 0.543 | 0.845 | 0.890 | 48.0 |
Note: YOLO26s was our best performer, while YOLO11n was selected for its high speed and mobile-friendly size (27% the size of larger models).
A critical design choice was prioritizing recall. In our pipeline, any product the detector misses is "lost" forever and never reaches the identification or recommendation stages. By conducting threshold sweeps, we selected a confidence threshold of 0.25 and an IoU of 0.60 to ensure that side-by-side products on a packed shelf remain distinct without being omitted.
Identification and Recommendation Stages
We evaluated GPT-5.5, Gemini 2.5 Flash, and DINOv2 + FAISS for product identification. Gemini 2.5 Flash and GPT-5.5 achieved comparable identification quality. Our DINOv2 retrieval approach matched crops against Open Food Facts product images using visual embeddings, but it failed to perform at par with the generative VLMs. Ultimately, Gemini provided the best balance of accuracy, scalability, and efficiency due to better pipeline fit and lower costs.
End-to-End Performance Evaluation
To measure the real-world utility of the full Nutritionell pipeline, we created a custom experimental dataset consisting of 10 high-density images containing 173 unique products. We manually labeled the ground truth for these images and compared our results against baseline VLMs.
| Model | Ground Truth Unique Products | Correctly Identified Products | Correctly Identified Product Rate |
|---|---|---|---|
| GPT (v5.5) | 173 | 124 | 71.7% |
| Gemini | 173 | 123 | 71.1% |
| Nutritionell | 173 | 142 | 82.1% |
Nutritionell's modular approach, using a dedicated detector before identification, significantly outperformed standalone LLM processing, achieving a 10.4% higher identification rate than GPT. This demonstrates that our specific data pipeline is more robust for identifying products in realistic, complex shopping environments.
Key Learnings & Future Impact
- Technical Impact: We successfully deployed a modular AWS architecture (ECS, CloudFront, RDS) to support real-time, cloud-hosted intelligence.
- Human-Centric Design: Feedback from Dietitians highlighted that Nutritionell’s ability to analyze entire shelf images is unique and valuable and that it reduces the time spent on manual research. We are working towards improving the recommendations further to make them more accurate, and determining better evaluation strategies in this approach.
- Future Vision: We aim to expand our application to the mobile app store so that users can save their information and integrate their nutrition plans across services.
Acknowledgements & References
We extend our deepest gratitude to our professors, Puya Vahabi and Fred Nugen, for their guidance. We also thank our community, friends, and family for their support and for helping us capture the diverse grocery data that made this project possible. Lastly, we would additionally like to thank our class for making the Capstone an enjoyable and fun experience.
References
- Open Food Facts (OFF)
- USDA FoodData Central
- SKU-110K Dense-Retail Dataset
