Library for performing speech recognition, with support for several engines and APIs, online and offline. Recognize speech input from the microphone, transcribe an audio file, save audio data to an audio file. Show extended recognition results, calibrate the recognizer energy threshold for ambient noise levels (see recognizer_instance.energy_threshold for details). Listening to a microphone in the background, various other useful recognizer features. The easiest way to install this is using pip install SpeechRecognition. The first software requirement is Python 2.6, 2.7, or Python 3.3+. This is required to use the library. PyAudio is required if and only if you want to use microphone input (Microphone). PyAudio version 0.2.11+ is required, as earlier versions have known memory management bugs when recording from microphones in certain situations. To hack on this library, first make sure you have all the requirements listed in the "Requirements" section.

Features

  • Supports Google Speech Recognition
  • IBM Speech to Text supported
  • Supports Google Cloud Speech API
  • Supports CMU Sphinx (works offline)
  • Houndify API supported
  • See the examples/ directory in the repository root for usage examples

Project Samples

Project Activity

See All Activity >

Follow SpeechRecognition

SpeechRecognition Web Site

Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of SpeechRecognition!

Additional Project Details

Operating Systems

Android, Linux, Mac

Programming Language

Python

Related Categories

Python Database Engines Servers, Python Speech Software, Python Speech Recognition Software, Python Speech to Text Software

Registered

2021-09-29