This project is just a hobby, the source code is not even close to the "clean"!
This projects helps you to communicate verbally in writing, using two different languages.
What you have to do is:
- Read the input text (Your language)
- Write the response (Your language)
What the audience have to do is to:
- Talk to you (His/Her language)
- Listen to you (His/Her language)
- Communicate realtime with a foreign person over the phone
- For disabled persons, to communicate to another person via speaking
There are two main part:
- Your microphone listen to the input audio
- The code translates it to your chosen language
- It prints the text for you in the console
- You write a text in your own language
- The code translate in to your audiences language
- Read out loud the translated text for your audience
These two process are looping asynchronously.
This code is only compatible with 3 Google clooud services, so you have to make sure they are ready before running the app:
apt-get install portaudio19-dev
python3.7 -m venv venv
source venv/bin/activate
pip3 install wheel
pip3 install -r requirements.txt
python3 main.py