https://github.com/davabase/whisper_real_time
Real time transcription with OpenAI Whisper.
https://github.com/davabase/whisper_real_time
Last synced: 6 days ago
JSON representation
Real time transcription with OpenAI Whisper.
- Host: GitHub
- URL: https://github.com/davabase/whisper_real_time
- Owner: davabase
- Created: 2022-11-29T06:30:28.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-06-01T05:37:17.000Z (11 months ago)
- Last Synced: 2025-04-06T21:13:27.336Z (13 days ago)
- Language: Python
- Size: 32.7 MB
- Stars: 2,643
- Watchers: 29
- Forks: 441
- Open Issues: 50
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-ChatGPT-repositories - whisper_real_time - Real time transcription with OpenAI Whisper. (Openai)
README
# Real Time Whisper Transcription

This is a demo of real time speech to text with OpenAI's Whisper model. It works by constantly recording audio in a thread and concatenating the raw bytes over multiple recordings.
To install dependencies simply run
```
pip install -r requirements.txt
```
in an environment of your choosing.Whisper also requires the command-line tool [`ffmpeg`](https://ffmpeg.org/) to be installed on your system, which is available from most package managers:
```
# on Ubuntu or Debian
sudo apt update && sudo apt install ffmpeg# on Arch Linux
sudo pacman -S ffmpeg# on MacOS using Homebrew (https://brew.sh/)
brew install ffmpeg# on Windows using Chocolatey (https://chocolatey.org/)
choco install ffmpeg# on Windows using Scoop (https://scoop.sh/)
scoop install ffmpeg
```For more information on Whisper please see https://github.com/openai/whisper
The code in this repository is public domain.