AI-powered food calorie and nutrition analyzer using Gemini 1.5 & Streamlit
HealthNutriSnapAI helps users:
- π§ Estimate food calories from images
- π Analyze nutritional breakdown (carbs, proteins, fats, etc.)
- π©Ί Get health assessments and AI-generated diet suggestions
- ποΈ Generate daily, weekly, monthly diet plans tailored to goals
- ποΈ Includes voice assistant and webcam-based scanning!
- π· Upload or capture food images using webcam
- π AI-powered calorie and nutrition estimation
- π Nutrition history tracking (CSV log)
- π‘ GPT-based health Q&A assistant
- π§ββοΈ Daily/weekly/monthly doctor advice plan
- π₯ Export scan reports
- π .env used for API key security
- Clone the repo:
git clone https://github.com/chinmayeegithubid/HealthNutriSnapAI.git cd HealthNutriSnapAI - Create & activate virtual environment (optional but recommended):
python -m venv venv
venv\Scripts\activate # On Windows
# source venv/bin/activate # On Mac/Linux
3. Install dependencies:
pip install -r requirements.txt
β
Step 3: Run the App
4. Run the Streamlit app:
```bash
streamlit run app.py
β
Step 4: Directory Structure
## π Directory Structure
.
βββ app.py
βββ requirements.txt
βββ nutrition_history.csv
βββ .env
βββ .gitignore
---
### β
Step 5: License (Mention only)
```markdown
## π License
This project is licensed under the MIT License β see the [LICENSE](LICENSE) file for details.
β
Step 6: Acknowledgements
## π Acknowledgements
- Google Gemini 1.5 Flash API
- Streamlit team for a simple UI framework
- Inspiration from daily health struggles and personal learning journey