Inspiration
Obesity is a growing health crisis in the United States, affecting 1 in 5 children and 2 in 5 adults, according to the CDC. It contributes to serious conditions like high blood pressure, type 2 diabetes, heart disease, and certain cancers—costing the healthcare system nearly $173 billion annually.
One of the biggest obstacles on a fitness journey is consistency—people struggle with lack of time, discipline, and the tedious process of tracking every meal. NutriVision AI directly addresses these issues by offering fast, accurate nutritional analysis from just a photo, making healthy eating easier and more accessible than ever.
What it does
NutriVision AI is an intelligent food nutrition analyzer that helps users track their nutritional intake through image analysis. The application uses AI to analyze food images and provide detailed nutritional information.
How we built it
NutriVision AI utilizes the Perplexity API to analyze food images and extract precise nutritional information. Users upload images via a Streamlit interface, which are then sent to the API for analysis. A custom prompt guides the AI to return only essential nutritional values in a strict five-line format, ensuring clarity and consistency. The app processes the response and displays the data to the user, while built-in error handling ensures smooth operation even during API issues.
Challenges we ran into
- Food Identification Inaccuracy: The AI/ML models had difficulty accurately recognizing complex or mixed meals from cooked food images, especially due to regional and preparation variations.
Solution: Encouraged users to upload images of raw ingredients before cooking, which significantly improved food recognition accuracy and nutrition estimation.
- User Overwhelm & Poor Engagement: Users found the process of updating meals and tracking fitness progress tedious or confusing, leading to low retention and inconsistent usage.
Solution: Simplified the app flow for meal logging, added clear visuals, and made progress tracking intuitive through charts and personal insights—enhancing user engagement and retention.
Accomplishments that we're proud of
We are proud that we are solving the Greatest Hurdle in Health & Fitness—Consistency with the help of Perplexity. Old methods of tracking food—time-consuming logging, guesswork, and strict discipline—often derail health goals. NutriVision AI revolutionizes this with AI-powered photo analysis that delivers precise nutrition facts (calories, macros, vitamins) in just 5 seconds, automating 90% of the work while providing actionable insights.
Why This Matters:
- Eliminates hours of tedious logging → empowers busy users to stay consistent
- Replaces nutritional guesswork → enables hyper-accurate, science-backed decisions
- Addresses CDC-cited obesity rates (40% of adults, 20% of children) and $173B in annual U.S. healthcare costs (CDC) by making healthy habits effortless to sustain
Potential Impact:
- A parent scans a lunchbox → instantly identifies excess sugar and suggests alternatives
- Working Professionals skip manual tracking → receive automated daily nutrient breakdowns
What we learned
Prompt Engineering is Critical Well-crafted prompts significantly enhance the accuracy and structure of AI outputs.
User-Friendly UI with Streamlit Drives Adoption Streamlit enables fast development of clean, responsive interfaces. Combined with intuitive design, it greatly improves user engagement—especially important in health-focused applications.
Clean Code and Testing Matter Tools like
pytest,Black,Flake8, andMyPyensure maintainable, high-quality code and reliable performance.Design Thinking is Essential Solving real customer problems requires understanding their needs—whether through technological solutions or by encouraging behavior change. Empathy-driven design leads to more impactful outcomes.
What's next for NutriVision AI - AI-powered nutrition assistant
- Smart Health Sync: Integrates with wearables for real-time biometric nutrition plans.
- Global Food AI: Expands to international cuisines with localized nutrition insights.
- Taste-Personalized AI: Adapts recipes to your cravings and dietary needs.
- Chat-First Coaching: Conversational AI answers "Should I eat this?" instantly.
Log in or sign up for Devpost to join the conversation.