Skip to content

An Application for Generating a cooking recipe consist of title, ingredients and instructions from an food image using Deep Learning.

Notifications You must be signed in to change notification settings

navassherif98/Recipe-Generation-from-Food-Image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ViewCount

Recipe-Generation-from-Food-Image

Demo:

Recipe_Generation gif

Are you ever in the situation where you have a mouthwatering picture of a delicious dish but no idea how to recreate it? Look no further! Our "Recipe Generation from Food Images" project harnesses the power of deep learning to provide you with a solution.

Overview:

This innovative application uses state-of-the-art deep learning techniques to analyze food images and generate comprehensive cooking recipes. From a simple snapshot of your favorite dish, our system can extract essential information including:

Recipe Title: A catchy and descriptive title for the dish.

Ingredients: A detailed list of all the ingredients needed.

Instructions: Step-by-step cooking instructions to help you recreate the dish flawlessly.

Key Features:

Deep Learning Magic: Our model employs cutting-edge computer vision algorithms to identify ingredients and cooking processes within food images.

Natural Language Generation: It utilizes advanced natural language processing to create coherent and easy-to-follow cooking instructions.

User-Friendly Interface: A user-friendly web or mobile interface for hassle-free recipe generation.

Endless Culinary Exploration: Discover new recipes and cuisines by simply snapping a picture of any dish.


Prerequisite :

Download these files and replace it with the files in this folder "Foodimg2Ing/data/"

  1. Model (Modelbest.ckpt) : Download Modelbest.ckpt

  2. Ingredients (ingr_vocab.pkl) : Download ingr_vocab.pkl

  3. Instruction (instr_vocab.pkl) : Download instr_vocab.pkl

To run the Code :

  1. Open Terminal (cmd)
  2. Install all the required libraries using "pip install -r requirements.txt"
  3. run "python run.py"

You will be getting a localhost link and open that link in your browser