#4141st of 51 in VoiceFor voice, speech and music
speech_recognition
Python library wrapping many speech-to-text engines and APIs behind one interface
Documentation ↗
(opens in a new tab)Website ↗
(opens in a new tab)Repository on GitHub ↗
(opens in a new tab)
- Stars
- 9k
- License
- BSD-3-Clause
- Last commit
- Sep 2026
- Last release
- Jun 2026
- Language
- Python
8,904 on 1 Apr 20268,995 on 21 Oct 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
SpeechRecognition is a Python library that transcribes audio from files or a microphone through a common Recognizer API. It wraps offline engines (CMU Sphinx, Vosk, Whisper, Faster Whisper) and cloud APIs (Google, Azure, Wit.ai, Houndify, IBM, OpenAI, Groq, Cohere). Install with pip, using per-engine extras.
Who it is for: Python developers adding speech-to-text to scripts or apps
Strengths
- One recognizer interface across offline engines and a dozen cloud APIs
- Offline options: Sphinx, Vosk, Whisper, Faster Whisper
- OpenAI-compatible self-hosted endpoints (vLLM, Ollama) work via OPENAI_BASE_URL
- Per-engine pip extras; FLAC bundled on x86 Windows, Linux and Intel macOS
Weaknesses
- Microphone input needs PyAudio, which requires PortAudio setup on Linux and macOS
- Google Cloud support is V1 only; V2 is not supported
- README documents no streaming transcription, only phrase and file recognition
- Sphinx needs a specific PocketSphinx build; repository packages are outdated
What it needs
- GPU optional
- Needs PyAudio (microphone), PocketSphinx, FLAC encoder (non-x86 systems), Vosk models, Cloud API keys
- Models: CMU Sphinx, Vosk, OpenAI Whisper, Faster Whisper, OpenAI Transcription API
Also in Voice
See all 51| Rank | Project | Score |
|---|---|---|
| 1 | voicestudioDesktop app for voice cloning, dubbing and dictation with local speech models | 83 out of 100 |
| 2 | xiaozhi-esp32ESP32 firmware for a voice chatbot with MCP device and cloud tool control | 80 out of 100 |
| 3 | whisper.cppC/C++ port of OpenAI Whisper for local speech-to-text transcription | 78 out of 100 |
| #4 | VoiceboxLocal voice studio for cloning, TTS, dictation and agent speech | 71 out of 100 |
| #5 | buzzOffline desktop app for transcribing and translating audio with Whisper | 71 out of 100 |