Skip to content

jhonsen/Produce2Recipe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Produce2Recipe: a recipe-finder tool based on images of produce

Project-5 at METIS data science bootcamp

Focus: Image Classification (w/ CNN), Text Classification (w/ NLP), Data Engineering, and Design-to-Product Pipeline

Project Description

Problem Statement:

  • What dish can I cook tonight, using the ingredients I have in my refrigerator?

Project Description

I spend a lot time looking for recipes that would match the ingredients I have in my refrigerator. Sometimes ~30 minutes is spent on google-searching and website-browsing, to get the one that's reasonable based on ingredients, prep time, nutritonal values, etc. I often feel that most cooking sites and mobile apps have too many functionalities to navigate through. So, I thought, "Wouldn't it be nice to have a personalized recipe-finder that simply takes ingredient photos as the input ?" I wanted to take a stab at this problem, i.e., building a recipe-finder that's personalized to my preferences.

Checkout the blog post here

  • Objectives:
    • Collect recipes (text data) by webscraping Epicurious. Scraped info includes recipe title, -ingredients, -instructions, nutritional values, and photos
    • Collect images using Google API, for training a CNN model
    • Build a neural network-based image classifier of produce
    • Perform topic modeling analysis for recipe-tagging, i.e., grouping them into different dish categories
    • Build a Flask app and a script that runs on a cellphone

vidgif

Publicly accessible app coming soon!

Code, notebooks, and documents

Instructions to run web_app prototype

  1. Download 2 files from this gdrive and place them in ./models/ folder
  2. On terminal, run $>python app.py
  3. Copy the URL shown (e.g., http://127.0.0.1:5000/) into a browser
  4. Choose 1-3 images of produce from local machine
  5. Click Submit
  6. Click Find list of Recipes* link

About

Project-5 at METIS data science bootcamp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published