FridgeFusion is an innovative AI-powered app that turns your fridge contents into delicious recipes! π Say goodbye to food waste and hello to creative cooking with personalized recipe suggestions tailored to your available ingredients and dietary preferences.
FridgeFusion is the ultimate solution for anyone looking to make the most of their kitchen inventory. Whether you're a seasoned chef π¨βπ³ or a cooking novice π½οΈ, our application provides customized recipe recommendations based on what's in your fridge. Leveraging cutting-edge AI technology, FridgeFusion delivers accurate, actionable recipes that help you create tasty meals while reducing food waste. πΏβ»οΈ
- πΈ Image-Based Ingredient Recognition: Upload fridge photos for instant ingredient identification
- π½οΈ Customized Recipe Generation: Get personalized recipes based on your available ingredients
- π£ Multiple Recipe Options: Choose from various recipe suggestions
- π₯ Dietary Preference Support: Tailor recipes to your specific dietary needs or restrictions
- π PDF Recipe Download: Save generated recipes as PDFs for offline use
- π₯οΈ User-Friendly Interface: Navigate effortlessly with our intuitive, step-by-step process
- Python 3.8+ π
- Streamlit π
- Pillow (PIL) πΌοΈ
- python-dotenv π
- google-generativeai π§
- fpdf π
-
Clone the repository:
git clone https://github.com/SauravSrivastav/fridgefusion-st.git cd fridgefusion-st
-
Create and Activate a Virtual Environment:
- Windows:
python -m venv venv venv\Scripts\activate
- macOS/Linux:
python3 -m venv venv source venv/bin/activate
- Windows:
-
Install required packages:
pip install -r requirements.txt
-
Set up Google Generative AI (Gemini) API key:
- Get your API key from Google AI Studio
- Create a
.env
file in the project root:GEMINI_API_KEY=your_api_key_here
-
Launch the app:
streamlit run app.py
-
Deactivate Virtual Environment (When Done):
deactivate
- πΈ Upload fridge images or snap photos with your device
- π Review and edit the AI-identified ingredients
- π½οΈ Select dietary preferences and number of recipes
- π¨βπ³ Generate personalized recipes from your ingredients
- πΎ Download recipes as PDF or view in-app
We welcome contributions! π To improve FridgeFusion:
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
For major changes, please open an issue first to discuss your ideas.
This project is licensed under the MIT License - see the LICENSE file for details.
Have questions or suggestions? Reach out to us:
- π§ Email: Sauravsrivastav2205@gmail.com
- πΌ LinkedIn: in/sauravsrivastav2205
- π GitHub: https://github.com/SauravSrivastav