This release is a pre-release and may not be stable for production use.
Description
This plugin adds Vosk speech-to-text support to OpenVoiceOS. It transcribes audio with a local Kaldi model, either after recording finishes or in real time as you speak.
Install
pip install ovos-stt-plugin-vosk
Get official models from alphacephei.
Configuration
Give the plugin a Kaldi model. Point model at a local folder or a direct download URL.
"stt": {
"module": "ovos-stt-plugin-vosk",
"ovos-stt-plugin-vosk": {
"model": "/path/to/unzipped/model/folder"
}
}
Advanced configuration
"stt": {
"module": "ovos-stt-plugin-vosk-streaming",
"ovos-stt-plugin-vosk-streaming": {
"model": "http://alphacephei.com/vosk/models/vosk-model-small-en-us-0.15.zip",
"verbose": true
},
"ovos-stt-plugin-vosk": {
"model": "http://alphacephei.com/vosk/models/vosk-model-small-en-us-0.15.zip"
}
}
ovos-stt-plugin-vosk runs regular STT. Transcription happens after recording finishes.
ovos-stt-plugin-vosk-streaming runs streaming STT. Transcription happens in real time.
verbose prints partial transcriptions.
model sets the full path or direct download URL for the model.
lang is optional. If you do not set model, the plugin downloads a default small model for this language, if one exists.
Docker
Use this plugin together with ovos-stt-http-server.
docker run -p 8080:8080 ghcr.io/openvoiceos/vosk-stt-http-server:master
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ovos_stt_plugin_vosk-0.2.8a2.tar.gz.
File metadata
- Download URL: ovos_stt_plugin_vosk-0.2.8a2.tar.gz
- Upload date:
- Size: 12.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2784732ea9fafa827707d80e85fd8ee38d9995dd555b0f5d65c69ae9aa44b36b
|
|
| MD5 |
e52b1962e0a2afb34f0d0c625577a51e
|
|
| BLAKE2b-256 |
0bfeead7f97360102c2cda4d271e2c5f46700f216001b00f1674274b62a567fa
|
File details
Details for the file ovos_stt_plugin_vosk-0.2.8a2-py3-none-any.whl.
File metadata
- Download URL: ovos_stt_plugin_vosk-0.2.8a2-py3-none-any.whl
- Upload date:
- Size: 12.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d92d2e055a93946e40a528684b425da43cd835117570ad38b55ee146b36d1c69
|
|
| MD5 |
fadad3fa8383dbb729ec9d06b6595776
|
|
| BLAKE2b-256 |
f7a276e682ad37fccf0319fe03866f1b36030a401a7bb16220bf1bfaf7621cac
|