This plugin adds openWakeWord support to OpenVoiceOS (OVOS). openWakeWord is an open-source wake word detection system. It trains on synthetic data and runs on a single core of a Raspberry Pi 3.
Run this command:
pip install ovos-ww-plugin-openwakewordSet your wake word in mycroft.conf. Do not set the models key if you want the default model ("hey jarvis").
"listener": {
"wake_word": "hey_jarvis"
},
"hotwords": {
"hey_jarvis": {
"module": "ovos-ww-plugin-openwakeword"
}
}The plugin accepts these extra options:
"listener": {
"wake_word": "hey_jarvis"
},
"hotwords": {
"hey_jarvis": {
"module": "ovos-ww-plugin-openwakeword",
"models": ["path/to/openwakeword/model/hey_jarvis.tflite"],
"inference_framework": "tflite",
"custom_verifier_models": {"hey_jarvis": "path/to/openwakeword/custom/verifier/model.pkl"},
"threshold": 0.3,
"custom_verifier_threshold": 0.1
}
}-
models: paths to one or more openWakeWord models, in.onnxor.tfliteformat. Any model in the list can activate OVOS. -
inference_framework: the format of the models inmodels. Usetfliteoronnx.tfliteis the default foropenWakeWord >=0.5.0and gives better performance on most platforms.onnxmay work on more platforms. -
threshold: the score needed to trigger activation. Higher values need a stronger match. The default, 0.5, works for most cases. -
custom_verifier_modelandcustom_verifier_threshold: paths and settings for custom verifier models, supported sinceopenWakeWord>=0.3.0. A custom verifier model can improve performance when the included pre-trained models do not fit your deployment.
See the openWakeWord repository for more details.
- openWakeWord: the wake word engine this plugin wraps.
- OVOS Plugin Manager: loads and configures this plugin.
- ovos-ww-plugin-precise-lite: another OVOS wake word plugin.
Apache-2.0