TravelBuddy is a voice translation tool that uses Google's SpeechToText, TextToSpeech, and Translate APIs to translate voice from one language to another. It is written in Python and can be used to translate voice in real time.
To get started with the project, you will need to follow these steps:
git clone https://github.com/admirerr/TravelBuddy.git
pip install google-cloud-speech google-cloud-texttospeech google-cloud-translate
Cloud Speech-to-Text API
, Cloud Text-to-Speech API
and Cloud Translation API
in the Enabled APIs & services section.credentials.json
file from Google Cloud Platform and place it in the root directory of the project. Remember to provide the location of this downloaded file in place of Path-to-the-Credentials-file
.python translate.py <source language> <target language>
.If you would like to contribute to TravelBuddy, you can follow these steps:
git checkout -b new-feature
git commit -m "Add new feature"
git push origin new-feature