Code Monkey home page Code Monkey logo

real-time-voice-recognition-based-language-translation-bot's Introduction

Real Time Voice Recognition based Language Translation Bot

Introduction

A voice recognition based tool for translating languages in real time. This tool could be used to translate languages with voice data. For an example, it can listen and, translate that voice data into the target language then, it speaks out as a voice output, similar to a human translator, who listens and then translate in a targeted language.

This is not efficient like human translator, it is using the google translate platform as backbone to perform the translation process.

diagram

Technologies & Frameworks

  • Python 3.8
  • GTTS Module
  • SpeechRecognition Module
  • Playsound Module
  • Googletrans Module

Why GTTS Module?

gTTS (Google Text-to-Speech)is a Python library and CLI tool to interface with Google Translate text-to-speech API. We will import the gTTS library from the gtts module which can be used for speech translation.

Note: This module helps to convert text as voice output.

Why SpeechRecognition Module?

This module gives the ability to perform speech recognition, basically, it could be used to convert speech to text operations.

Why Playsound Module?

playsound is a β€œpure Python, cross platform, single function module with no dependencies for playing sounds.” With this module, you can play a sound file with a single line of code:

from playsound import playsound
playsound('myfile.wav')

Why Googletrans Module?

Googletrans is a free and unlimited python library that implemented Google Translate API. This uses the Google Translate Ajax API to make calls to such methods as detect and translate.

This is core library of this project, which does the translations among languages.

Configuration & Setup

  • Install playsound

    pip install playsound
    
  • Install gTTS

    pip install gTTS
    
  • Install SpeechRecognition

    pip install SpeechRecognition
    
  • Install googletrans

    pip install googletrans==3.1.0a0
    

Execution & Running

Note: To run this program, navigate to the preferred folder, and execute the run.py script to start the program.

diagram

python run.py

Social Media Links

real-time-voice-recognition-based-language-translation-bot's People

Contributors

gunarakulangunaretnam avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.