cameronnapoli / live-translate-annotations

Using Google Cloud APIs, live translate audio into either subtitles or translated audio.
MIT License
0 stars 0 forks source link

Live Translate Annotations

License: MIT

Using Google Cloud APIs, live translate audio into either subtitles or translated audio.

Picture of app

Installation

Google Cloud dependencies

For Google Cloud to connect to your account credentials, an environment variable must be set to point to a JSON file with your credentials.

To create the file and set the environment key:

For example on Unix: export GOOGLE_APPLICATION_CREDENTIALS=/path/to/creds.json

Speech Processing Server

Server written in Node.js. Collects, audio fragments, translates them, and upon a response from Google Cloud, responds with text from audio and translated text.

cd speech_processing/
yarn install
yarn start

Speech Processing Interface

Interface written using React.js and uses react-select library.

cd interface/
yarn install
yarn start