GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - hashin/Translate_O_Pi: A universal language translator using Raspberry Pi.

BranchesTags
Open more actions menu

Latest commit

 

History

32 Commits
32 Commits

Folders and files

NameName
Last commit message
Last commit date
README.md
README.md
 
 
trans.sh
trans.sh
 
 
trc.py
trc.py
 
 
trn.py
trn.py
 
 

Repository files navigation

Translate_O_Pi

A plug and play universal language translator using Raspberry Pi.

An adapted version of Translator made by Dave Conroy at http://www.daveconroy.com/

This version uses Nexiwave speech API instead of Google API for transcription.

===============

clone:

git clone https://github.com/hashin/translate_o_pi

Edit trc.py by adding your directory in line number 37.

make trans.sh executable:

sudo chmod +x trans.sh

Run trans.sh:

./trans.sh

===============

You can also use the trn.py file to translate a piece of text by running:

python trn.py -o "Origin language code" -d "destination language code" -t "your text"

Note: Don`t forget to add your client ID and client secret of the application you have registered at Microsoft Azure Marketplace. https://datamarket.azure.com/

Also, you should subscribe to the Microsoft Translator. You can choose the plan you wish. A free option is available, which is used in translate_o_pi. You can choose the one you prefer.

=================

Making Translate O Pi Plug and PLay. If you want to run translate_o_pi on startup, you may proceed as follows:

Make sure that you are in the /pi/ directory.

open .bashrc by running,

sudo nano .bashrc

Add the following line:

./trans.sh

Now inorder to make the terminal run at the startup:

Right click on the LXTerminal shortcut on the desktop and click copy.

Navigate to /home/pi/.config/autostart You may be required to create this directories if they don`t exist.

Copy the shortcut to this directory.

Reboot your Raspberry Pi and your translate_o_pi is ready to go!

In case you need any assistance setting up, just drop a mail and I would be happy to help.

About

A universal language translator using Raspberry Pi.

Resources

Readme
Activity

Stars

1 star

Watchers

0 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.