The AI Powered Nutrition Advisor is an application that utilizes Gemini 1.0 Pro large language model to analyze food images and provide nutritional information. This project aims to assist users in making healthier dietary choices by offering insights into the nutritional content of various foods.
- Upload an image of food
- Analyze the image to identify food items
- Provide detailed nutritional information for each food item
- Calculate total calorie count for all identified food items
- Offer a summary of the nutritional content
- Suggest suitable age ranges for consumption of the food items
- Clone this repository to your local machine.
- Create the .env file and add your google API key to access the Gemini-Pro open source model
GOOGLE_API_KEY = "your_api_key"
- Install the required dependencies by running:
pip install -r requirements.txt
- Run the application by executing:
streamlit run app.py
- Once the application is running, upload an image of food.
- Click on the "Analyze" button to initiate the analysis.
- View the detailed nutritional information provided by the AI Nutrition Advisor.
- Python
- Streamlit
- Gemini 1.0 Pro model
- NLP techniques