Skip to main content

A wakeword plugin for OpenVoiceOS for the openWakeWord library

Project description

Description

This is an OVOS plugin for openWakeWord, an open-source wakeword or phrase detection system. It has competitive performance compared to Mycroft Precise or Picovoice Porcupine, can be trained on 100% synthetic data, and can run on a single Raspberry Pi 3 core.

Install

pip install ovos-ww-plugin-openwakeword

Configure your wake word in mycroft.conf. Do not provide the models key to just load the default model ("hey jarvis").

"listener": {
    "wake_word": "hey_jarvis"
},
"hotwords": {
  "hey_jarvis": {
      "module": "ovos-ww-plugin-openwakeword"
  }
} 

Additional configuration 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
  }
}

For the models key, provide paths to as many openWakeWord models (in .onnx or .tflite format) as desired and any of them can be used to activate OVOS. The inference_framework argument should match the type of openwakeword model(s) provided in the in the models arguments and can be either tflite or onnx for Tensorflow Lite and ONNX, respectively. tflite (the default for openWakeWord >=0.5.0) has better performance on most platforms, but onnx may have broader compatibility.

For the threshold key, set the score threshold for activation (higher values means less sensitive). The default value of 0.5 is recommended for most use-cases.

The custom_verifier_model and custom_verifier_threshold arguments are for the user-specific verification models that are supported by openWakeWord>=0.3.0. Training and using a custom verifier model can significantly improve performance if the included pre-trained models are not sufficient for a given deployment scenario.

See the openWakeWord repository for more details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ovos_ww_plugin_openwakeword-0.4.3a1.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ovos_ww_plugin_openwakeword-0.4.3a1-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file ovos_ww_plugin_openwakeword-0.4.3a1.tar.gz.

File metadata

File hashes

Hashes for ovos_ww_plugin_openwakeword-0.4.3a1.tar.gz
Algorithm Hash digest
SHA256 c028d0a6c9718df054ea340e45906bb36dd03aeb372a22d119c7be7bd3f6c1b9
MD5 50e77f79574d43ea4a457214923e5853
BLAKE2b-256 f70be2329b541388b35208fb094ef70a952ef2394987fb4135933c2cde7ce923

See more details on using hashes here.

File details

Details for the file ovos_ww_plugin_openwakeword-0.4.3a1-py3-none-any.whl.

File metadata

File hashes

Hashes for ovos_ww_plugin_openwakeword-0.4.3a1-py3-none-any.whl
Algorithm Hash digest
SHA256 aefa1da83a06c4d9577ceed51755b4d10a3945c3c0c07fdbfcb59beb1e6c57a7
MD5 2f7e21e0a7254ce6dd261e0337104aa1
BLAKE2b-256 2e5e0ad0b18f57c603baad693e84ecfd0df8f524ecf59bd1edf186e4d5c837e4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page