Skip to content

End to End Nutritionist Generative AI Doctor Using Google Gemini Pro Vision Large Image Models

Notifications You must be signed in to change notification settings

HimanshuMohanty-Git24/NutriGenie-Ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NutriGenie-Ai 🍏💻

End-to-End Nutritionist Generative AI Doctor using Google Gemini Pro Vision Large Image Models. image

Demo 📦✅

Live App link : NutriGenie

Overview

NutriGenie-Ai is an application that leverages Google Gemini Pro Vision Large Image Models to provide nutritional analysis of your meals. The AI-powered nutritionist analyzes images of your meals, calculates total calories, provides details on each food item's calorie intake, and offers a nutritional breakdown.

Tech Stack

Setup

  1. Clone the repository:

    git clone https://github.com/HimanshuMohanty-Git24/NutriGenie-Ai.git
  2. Navigate to the project directory:

    cd NutriGenie-Ai
  3. Install dependencies:

    pip install -r requirements.txt
  4. Obtain Google Gemini Pro Vision API Key:

    • Visit the Google Makersuite.
    • Create a new project or select an existing one.
    • Create API credentials (API key) and use it in project.
  5. Set up environment variables:

    • Create a .env file in the project root.
    • Add your Google API key to the .env file:
      GOOGLE_API_KEY=your_api_key_here
  6. Run the app:

    streamlit run app.py
  7. Access the app: Open your web browser and go to http://localhost:8501.

Usage

  1. Choose the upload method: either "Upload Photo" or "Take a Picture."
  2. Upload an image of your meal or capture one using the camera.
  3. Click "Analyse my Meal" to get a detailed nutritional analysis.

Important Note

Ensure that you use your own Google Gemini Pro Vision API key for accessing the advanced image models. Protect your API key and avoid sharing it publicly.

Feel free to contribute, report issues, or suggest improvements!

About

End to End Nutritionist Generative AI Doctor Using Google Gemini Pro Vision Large Image Models

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages