Skip to content

sidwyn/recipemash-ios

Repository files navigation

Recee

Your pocket receipt to recipe converter.

Hacked up at Facebook NorCal Regional Hackathon 2013 (we won third place!)

iOS app and design done by Sidwyn Koh.

Sample screenshot

This was hacked up in 20 hours and some minor cleanups were performed, so bugs are definitely present!

How It Works

  1. Take image (comment out Line 234-240 in ViewController.m to use your own image)
  2. Converts it to grayscale and decreases the size
  3. Use Tesseract to translate from image to text and remove unnecessary symbols
  4. Remove unnecessary symbols and whitespace
  5. Picks out what ingredients are most likely against a sample Grocery List (see GroceryList.plist), using the Levensthein Distance algorithm (picked this up in CS61A last week!)
  6. Uploads it to virtual fridge via Facebook
  7. Polls the Yummly API to get a list of recipes

Libraries

  1. Tesseract-iOS by Daniele Galiotto
  2. Tesseract Lib for iOS by ldiqual
  3. NSString+Levenshtein by Jigish Patel
  4. VTPG_Common by Vincent Gable
  5. Grayscale/Resizing for Tesseract by roocell
  6. AFNetworking by Mattt Thompson
  7. SVProgressHUD by Sam Vermette
  8. AsyncImageView by Nick Lockwood

APIs

  1. Food2Fork
  2. Yummly
  3. Facebook Login

Releases

No releases published

Packages

No packages published