Skip to content

pjgranahan/livetranslate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

LiveTranslate

LiveTranslate detects foreign language text from a video feed, and displays the text's English translation in real-time.

Setup

  1. Install Python 2.7x
  2. Install Numpy 1.7
  3. Install OpenCV 2.4.10
  4. Install tesseract-ocr (including desired language packs) and the Python libraries
  5. Install python-tesseract
  6. Follow this guide to get your Microsoft Translator credentials
  7. Grab azure_translate_api.py
  8. Install the Requests Python package
  • "pip install requests" (Use Google if you need to learn how to use pip)

Usage

  1. Run main.py
  2. (Optional) Change the source and target translation languages
  3. Hold up (highly-contrasting) text and have it translated!
  4. ESC to quit.

Disclaimer

We made this in 24 hours at Hack Rice 2014. Much of the code was written whilst simultaneously learning new frameworks, debating how to use such frameworks, and not sleeping. The code is likely buggy, and certainly needs some style improvements!

About

LiveTranslate detects foreign language text from a video feed, and displays the text's English translation in real-time.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages