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
Gemini 3 and 200+ AI Models on One Platform Icon
Gemini 3 and 200+ AI Models on One Platform

Access Google's best plus Claude, Llama, and Gemma. Fine-tune and deploy from one console.

Build generative AI apps with Vertex AI. Switch between models without switching platforms.
Start Free
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