AI Voice Translator Using Python Automatic Speech To Text To Audio Translate To Text Translate
-
You need making new folder directory name project
-
Right click terminal and cmd open now
-
Write: python -m venv venv
-
Virtualenv activate write: venv\Scripts\activate.bat
-
playsound: This module is used to play sound in Python
pip install playsound
-
Speech Recognition Module: It is a library with the help of which Python can recognize the command given. We have to use pip for Speech Recognition.
pip install SpeechRecognition
-
googletrans: Googletrans is a free and unlimited python library that implemented Google Translate API
pip install --upgrade googletrans==4.0.0-rc1
-
gTTs: The gTTS API supports several languages including English, Hindi, Tamil, French, German and many more.
pip install gTTs
pip install gTTS-token