Skip to content
/ ingrid Public

extract ingredients from recipes into a checklist

Notifications You must be signed in to change notification settings

wknds/ingrid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ingrid

Project Description

Background: Food waste is a common problem in developed economies. In Switzerland, the average household throws away about 30 percent of still edible food. Creating a food plan and buying only food for what you want to cook may reduce the amount of wasted food drastically.

The goal of Ingrid is to extract ingredients from recipes into a checklist in order to simplify the process of getting missing ingredients. The ultimate use case would be an integration of Ingrid to local food delivery services.

alt text

Approach

Text Recognition

Use existing libraries (free or under GPL, Apache, etc.) for optical character recognition and image preprocessing (if not done by OCR). See https://en.wikipedia.org/wiki/Comparison_of_optical_character_recognition_software

Tesseract

Added Tess4J (Java library) to the build path and start doing some text recognition from some pictures taken by my smartphone. Used following configuration: language (eng)

The recognition of the strategy paper (8.2 MB, TIFF, English) was remarkably faster compared to the traffic bypass and recipe (~2 MB, JPG, German).

Image Preprocessing

Use OpenCV for preprocessing images before it is fed into text recognition.

Workflow

alt text

Update: Before text recognition, a text detection algorithm should be run over the image. This may lead to better text recognition result.

Setup Environment

About

extract ingredients from recipes into a checklist

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published