Skip to content

Muosvr/menu-translation

Repository files navigation

Menu Translator

Machine Learning Challenges

  • How to detect layout of menu to get correct OCR reading (in progress)
  • How to distinguish food vs non-food related text on menus (solved)
  • How to do the above while being ignostic of languages on the menu (in progress)
  • How to properly translate food since most translation services are not designed to translate food items
  • Reducing cost associated with machine learning APIs by replacing existing APIs with my own(in progress)

Problem

I often have trouble ordering food from menus with food I'm less familiar with, and this problem becomes even more severe when I'm traveling. When encountered with an unfamiliar menu, the choice is to either stick with what I know and miss out on the potential good food, or risk having a bad meal that I'm too embarrassed to leave unfinished, which happens quite often to me, unfortunately… So I found myself looking up every other word on the menu on google translate, and sometimes even the translation doesn't make sense, in which case I then search for an image to try to understand what's in the food. Because of that, I would end up going back and forth between Google Image and Google Translate for each word on the menu.

Solution

Wouldn't it be nice if I can just take a picture and get the full translation of the menu? Google Translate can translate text from images, but it doesn't work great in this case, because it treats the menu as full-text document and requires you to slide your finger across texts to select them. I wanted something that is more instantaneous, and something that will simultaneously search for an image as well because sometimes a picture is worth a thousand words. That is the idea behind this project.

Usage

Click the upload button to upload an image of a menu. This app automatically recognizes words and languages from the uploaded image and returns the translated text. Once you select the languages you want to translate to, it will highlight all words on the image with translations available. Select a highlighted word and you will see the translation below as well as images associated with the selected text.

About

Translate restaurant menu from photo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published