A smart web app that helps users understand food labels in simple language using Gemini AI β complete with health reports, friendly suggestions, and visual ingredient breakdowns.
- π Ingredient Analysis: Upload or input ingredients and receive a clear, easy-to-understand explanation.
- πΏ Health Check: Learn whether a product is healthy or not β and why.
- π¬ Key Ingredient Effects: Understand what sugar, fat, protein, etc. do to your body.
- β Healthy Alternatives: Suggests healthier products based on your input (from known brands like Saffola, Whole Truth, Aadvik, etc.).
- π Interactive Charts: Visualize sugar, fat, protein levels with emoji-rich bar or pie charts.
- π Multi-language Support: Get your health report in English or Hindi.
- π¬ Human-like Tone: Designed to be warm, friendly, and understandable by everyone β even non-technical users.
- π¨ Clean UI & Cards: Neatly formatted reports with cards for readability and visual appeal.
- β‘ Fast & Private: All analysis happens via Gemini AI securely.
- Frontend: Next.js, Tailwind CSS, Recharts / Chart.js
- Backend: API Route in Next.js
- AI Integration: Gemini 1.5 Pro (Google Generative AI API)
- Styling: Dark/Light Mode Support, modern card-based UI
- π Enter or upload a food label's ingredients.
- π Choose your preferred language (English or Hindi).
- π€ Let Gemini analyze it using a smart prompt.
- π View the health report, ingredient effects, and suggestions.
- π Explore nutrient breakdown in colorful charts.
git clone https://github.com/yourusername/ai-nutrition-analyzer.git
cd ai-nutrition-analyzer
npm install