Skip to content

A Python Script using Google Speech-To-Text API to do basic calculations.

Notifications You must be signed in to change notification settings

KG-1510/SpeechToTextCalc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

Speech-To-Text Calculator using Google API

A Python script to covert speech from device microphone to text to perform basic calculations like a calculator.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system!

Prerequisites

For running this script you'll need:

  • Python
  • An IDE
  • Speech Recognition Module
  • PyAudio Module
  • PiP Installer
  • An active internet connection as Google API needs internet to function

Installing

If you have Python up and running, all you need to do is download the external modules from the PiP Installer, just type: pip install SpeechRecognition pip install PyAudio After this, you'll be ready to code!

Input and Output

Speak your desired numbers, and the calculation you want. If you wish to do more calculations you could do so by saying yes in the end or else say no.

Built With

  • Python
  • Google Speech-to-Text API

Feel free to connect with me on LinkedIn

About

A Python Script using Google Speech-To-Text API to do basic calculations.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages