This release is a pre-release and may not be stable for production use.
ovos-ww-plugin-wakeforge
An OVOS wake-word plugin for custom models trained with wakeforge.
Wakeforge trains a wake-word detector from a single phrase and exports a two-file
ONNX pipeline: a feature extractor and a classifier head. This plugin loads that
pipeline and runs it as an always-on hotword engine. The runtime uses
onnxruntime and numpy only. It does not need PyTorch.
Install
pip install ovos-ww-plugin-wakeforge
Train a model
pip install wakeforge
wakeforge-quickstart "hey jarvis" ./hey_jarvis
# → ./hey_jarvis/best_f1_featurizer.onnx + ./hey_jarvis/best_f1.onnx
Configure
In mycroft.conf, point a hotword at the two ONNX files. Use local paths or URLs.
{
"listener": {
"wake_word": "hey_jarvis"
},
"hotwords": {
"hey_jarvis": {
"module": "ovos-ww-plugin-wakeforge",
"listen": true,
"featurizer": "~/hey_jarvis/best_f1_featurizer.onnx",
"model": "~/hey_jarvis/best_f1.onnx",
"threshold": 0.5
}
}
}
Config keys
| key | default | description |
|---|---|---|
featurizer |
— (required) | feature-extractor ONNX (path or URL) |
model |
— (required) | classifier-head ONNX (path or URL) |
vad |
none | optional VAD ONNX for an extra channel |
threshold |
0.5 |
detection threshold |
smoothing |
ema |
ema | mean | max |
patience |
3 |
consecutive above-threshold frames to fire |
debounce_sec |
1.0 |
minimum seconds between triggers |
window_size |
5 |
smoother rolling window (mean/max) |
ema_alpha |
0.3 |
EMA responsiveness |
streaming |
false |
use the stateful streaming (GRU) head |
gru_window |
100 |
window the streaming head was exported with |
hidden_dim |
128 |
GRU hidden size of the streaming head |
URL models are cached under ${XDG_DATA_HOME}/wakeforge/.
Related projects
- TigreGotico/wakeforge trains the ONNX models this plugin loads.
- OpenVoiceOS/ovos-plugin-manager loads and manages this plugin alongside other STT, TTS, and wake-word plugins.
- OpenVoiceOS/ovos-ww-plugin-precise-onnx is a sibling wake-word plugin that runs Precise models through ONNX.
Credits
Developed by TigreGótico for OpenVoiceOS.
This project was funded through the NGI0 Commons Fund, a fund established by NLnet with financial support from the European Commission's Next Generation Internet programme, under the aegis of DG Communications Networks, Content and Technology under grant agreement No 101135429.
License
Apache-2.0
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_ww_plugin_wakeforge-0.0.1a2.tar.gz.
File metadata
- Download URL: ovos_ww_plugin_wakeforge-0.0.1a2.tar.gz
- Upload date:
- Size: 17.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 |
bfc95f78dbb78f89807b68c40e9b672688284cab112c89a0c5cf5856a7e44505
|
|
| MD5 |
5982de4e49372a96f4ff269de5e7f713
|
|
| BLAKE2b-256 |
e4d6154339989ff7b713653a2dee3fd0f53dc3c10cd3c9f61d60b793a3bc4c9f
|
File details
Details for the file ovos_ww_plugin_wakeforge-0.0.1a2-py3-none-any.whl.
File metadata
- Download URL: ovos_ww_plugin_wakeforge-0.0.1a2-py3-none-any.whl
- Upload date:
- Size: 15.8 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 |
2989cfff0855f5115c49943f153ce4a8ee32a3d9f431b63037082bf70194fee6
|
|
| MD5 |
8dc3265d3b66b152cd1780b8da76477d
|
|
| BLAKE2b-256 |
927a53935d5150b043b09a6d5c3b6a978fd16c106c1e51e1bd9c474f8558e1d8
|