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

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
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