/SnapChef

Capture, Cook, Create! Recipe Generation from Food Images turns your food photos into personalized recipes. Snap a pic, let our advanced algorithms analyze it, and voila! Get ready to unlock a world of culinary possibilities with a single click. Unleash your inner chef and indulge in a delightful gastronomic adventure like never before!

Primary LanguageJupyter NotebookMIT LicenseMIT

SNAPCHEF - WHY DONT YOU TRY IT WHATS STOPPING YOU FROM CLONING!

SnapChef

SnapChef is a deep learning project that generates recipes from food images using the power of computer vision and natural language processing. The project utilizes the Streamlit framework for the frontend and several Python libraries for image processing, deep learning, and text generation. Capture, Cook, Create! Recipe Generation from Food Images turns your food photos into personalized recipes. Snap a pic, let our advanced algorithms analyze it, and voila! Get ready to unlock a world of culinary possibilities with a single click. Unleash your inner chef and indulge in a delightful gastronomic adventure like never before!

OUTCOME

Recipe Generation

Download the Model

The recipe generation model can be downloaded from the following link:

Please download the model and place it in DATA FOLDER directory within the project.

Prerequisites

Make sure you have the following prerequisites installed before setting up the project:

  • Python 3.6+
  • numpy
  • scipy
  • matplotlib
  • torch==0.4.1
  • torchvision==0.2.1
  • nltk
  • Pillow
  • tqdm
  • lmdb
  • tensorflow
  • tensorboardX

You can install the required libraries using the following command:

pip install -r requirements.txt

Getting Started

Follow these steps to clone and set up the project:

Clone the repository

git clone (https://github.com/TABREZ-96/SnapChef.git)

Navigate to the project directory

cd src

Install the required libraries

pip install -r requirements.txt

Usage

To run the application, execute the following command:

streamlit run trail2.py

The application will start and can be accessed in your browser at http://localhost:8501.

Results

Generated Recipes Cooking

Support!

If you found this project helpful or you learned something from it and want to show your appreciation, you can buy me a coffee. Your support will help me to continue maintaining and updating this project.

Buy Me A Coffee LinkedIn Email