Skip to content

harjotsk03/foodvisionai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 

Repository files navigation

๐Ÿฝ๏ธ FoodVisionAI - Your AI-Powered Culinary Companion
### *Reducing Food Waste, One Dish at a Time*  

๐Ÿ‘‹ Introduction
**FoodVisionAI** is a cutting-edge AI-powered application designed to inspire creativity in the kitchen. It helps users generate unique dish ideas based on the ingredients they already have, aiming to minimize food waste while maximizing delicious possibilities.

Harnessing the power of OpenAI's **GPT-4o** model for intelligent recipe generation and **DALLยทE 3** for stunning dish visualizations, FoodVisionAI transforms leftovers into culinary masterpieces. Whether you're looking to whip up something quick or experiment with new flavors, this app has you covered!

---

๐Ÿš€ How It Works
๐Ÿ”น **Ingredient Analysis & Dish Generation**: Provide a list of available ingredients, and GPT-4o will generate creative dish ideas, complete with cooking instructions.  
๐Ÿ”น **Step-by-Step Cooking Guide**: Follow detailed step-by-step instructions tailored to your ingredients.  
๐Ÿ”น **AI-Powered Visuals**: DALLยทE 3 generates a realistic image of your dish, so you can see what you're about to create!  

---

๐Ÿ› ๏ธ How to Set Up and Run FoodVisionAI
1๏ธโƒฃ Backend Setup**
1. Clone the backend repository:
   ```sh
   git clone https://github.com/harjotsk03/foodvisionaibackend.git
   ```
2. Navigate to the backend folder:
   ```sh
   cd foodvisionaibackend
   ```
3. Install dependencies:
   ```sh
   npm install
   ```
4. Create a `.env` file and add your OpenAI API key:
   ```sh
   OPENAI_API_KEY=your_openai_api_key_here
   ```
5. Start the backend server:
   ```sh
   node server.js
   ```
   > By default, the backend runs on **port 3004**.

---

2๏ธโƒฃ Frontend Setup**
1. Clone the frontend repository:
   ```sh
   git clone https://github.com/harjotsk03/foodvisionaifrontend.git
   ```
2. Navigate to the frontend folder:
   ```sh
   cd foodvisionaifrontend
   ```
3. Install dependencies:
   ```sh
   npm install
   ```
4. Create a `.env` file and configure the environment variables:
   ```sh
   EXPO_PUBLIC_OPENAI_API_KEY=your_openai_api_key_here
   EXPO_PUBLIC_BACKEND_URL=http://your_device_ip:3004
   ```
   > Replace `your_device_ip` with your actual IP address.

5. Start the frontend:
   ```sh
   npm start
   ```
6. Download the **Expo Go** app on your mobile device or use an emulator to run the app.

---

๐ŸŽจ Features at a Glance
โœ… **AI-powered dish generation** - Get meal suggestions tailored to your ingredients.  
โœ… **Step-by-step cooking instructions** - No more guesswork in the kitchen!  
โœ… **Realistic AI-generated visuals** - See what your dish could look like before you start cooking.  
โœ… **Simple and intuitive UI** - Designed for both beginners and seasoned home cooks.  

---

๐Ÿ“ License
FoodVisionAI is an open-source project. Feel free to use and modify it as per your needs.

---

๐Ÿ‘จโ€๐Ÿ’ป Developed by
**Harjot Singh**  
๐Ÿ“ง Contact: harjotsk03@gmail.com
๐Ÿ“Œ GitHub: [harjotsk03](https://github.com/harjotsk03)

๐Ÿš€ Happy Cooking with **FoodVisionAI**! ๐Ÿณ๐Ÿฅ—๐Ÿ•

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published