Skip to content

Repository files navigation

Description

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.

Install

Run this command:

pip install ovos-ww-plugin-openwakeword

Set 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"
  }
}

Configuration

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 .onnx or .tflite format. Any model in the list can activate OVOS.

  • inference_framework: the format of the models in models. Use tflite or onnx. tflite is the default for openWakeWord >=0.5.0 and gives better performance on most platforms. onnx may 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_model and custom_verifier_threshold: paths and settings for custom verifier models, supported since openWakeWord>=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.

Related projects

License

Apache-2.0

About

No description or website provided.

Topics

Resources

Contributing

Stars

2 stars

Watchers

5 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages