Skip to content
Nutri-scan

Nutri-scan

Your Personal Nutritionist

Created on 29th December 2025

•

Nutri-scan

Nutri-scan

Your Personal Nutritionist

The problem Nutri-scan solves

The Problem:Patients with conditions like diabetes or chronic kidney diseases need to track specific nutrients(sodium, potassium, and sugar) but reading tiny nutrition labels is difficult and time-consuming.

The Solution: A mobile-first web app that uses the camera to scan nutrition labels. Instead of just showing calories, it gives a Red/Green "Safe for You" rating based on the user's health profile.

Challenges we ran into

Developing Nutri-Scan within the Kiro IDE environment presented a multifaceted challenge that bridged the gap between complex computer vision and agentic software engineering. One of the primary hurdles was ensuring the OCR (Optical Character Recognition) and barcode scanning engines remained resilient against real-world variables like poor lighting, curved packaging, and glare, which often distorted ingredient lists and nutritional tables. From a development standpoint, managing the Kiro agentic workflow required a high level of precision; we frequently encountered "context drift," where the AI agents would over-complicate simple data schemas or struggle to maintain architectural consistency across the project's evolution. Furthermore, reconciling inconsistent data from various third-party food databases necessitated the implementation of rigorous validation logic to prevent "hallucinated" nutritional values, ensuring that the app remained a trustworthy tool for users with strict dietary or allergen requirements.Developing Nutri-Scan within the Kiro IDE environment presented a multifaceted challenge that bridged the gap between complex computer vision and agentic software engineering. One of the primary hurdles was ensuring the OCR (Optical Character Recognition) and barcode scanning engines remained resilient against real-world variables like poor lighting, curved packaging, and glare, which often distorted ingredient lists and nutritional tables. From a development standpoint, managing the Kiro agentic workflow required a high level of precision; we frequently encountered "context drift," where the AI agents would over-complicate simple data schemas or struggle to maintain architectural consistency across the project's evolution. Furthermore, reconciling inconsistent data from various third-party food databases necessitated the implementation of rigorous validation logic to prevent "hallucinated" nutritional values, ensuring that the app remained a trustworthy tool for users with strict dietary or allergen requirements.

SOLUTIONS

    • To combat the inaccuracies of OCR on distorted packaging, we moved away from a single-shot scan. Instead, we implemented a multi-frame verification system. By capturing several frames of the same label and using a "voting" algorithm, the AI could cross-reference text strings to ensure that a blurry "G" was not mistaken for a "6." Additionally, we built a Data Normalization Layer that automatically converts diverse global metrics into a standardized format before the Nutri-Score is calculated.
    • To solve the context drift issue within Kiro IDE, we transitioned to a Modular Specification Strategy. Rather than using one massive requirement file, we broke the project into discrete .md modules (e.g., tasks.md, design.md, requirements.md). This allowed the Kiro agents to focus on specific tasks without losing sight of the overall architecture. We also established checkpoint reviews, where we manually validated the agent’s code outputs after every major feature merge to ensure the logic remained lean and performant.

Tracks Applied (1)

AWS

**Nutri-Scan is an AI-powered health intelligence platform designed to decode complex nutrition labels into personalized...Read More

AWS

Discussion

Builders also viewed

See more projects on Devfolio