**NutriPlan AI** is a meal planning app that combines food image detection, calorie prediction, and personalized meal suggestions. Using TensorFlow for image analysis and Anthropic Claude AI for creat
NutriPlan AI is a sophisticated meal planning and calorie detection application developed as part of a college project. This innovative tool is designed to help users meet their dietary needs and preferences with ease. Leveraging advanced natural language processing, NutriPlan AI generates creative meal ideas using ingredients selected by the algorithm, ensuring both variety and nutritional balance.
Clone the repository and install the dependencies using pipenv:
git clone https://https://github.com/harvinderr15/NutriPlanAI
cd NutriPlanAI
pipenv install
Run the app using Streamlit:
streamlit run streamlit_meal_planner.py
Add your API keys to .streamlit/secrets.toml
:
anthropic_apikey="YOUR_API_KEY"
openai_apikey="YOUR_API_KEY"
The app employs a random greedy algorithm to generate meal plans:
This approach aims to select a set of food items that maximize calories without exceeding the target, akin to the knapsack problem.
NutriPlan AI was developed as a college project, showcasing the application of artificial intelligence in personalized meal planning and natural language generation. This tool demonstrates significant potential in helping individuals manage their dietary needs efficiently. Future enhancements could include user accounts, expanded food options, and detailed recipe instructions.
NutriPlan AI is a valuable tool for anyone looking to manage their diet more effectively. Its ability to personalize meal plans and generate creative meal descriptions makes it a practical and enjoyable solution for dietary planning. This project not only highlights the practical applications of AI but also serves as a testament to the skills and innovation fostered during the college project.
harvinderr15/NutriPlanAI
August 13, 2024
April 23, 2025
Python