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.5a1.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.5a1-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for ovos_ww_plugin_openwakeword-0.4.5a1.tar.gz
Algorithm Hash digest
SHA256 964bcb131d7afa4723d147e1320fa03675a9f679748456f8c141d9962bde4dff
MD5 b420fd93637bd07a5c829758f14a6fb5
BLAKE2b-256 c7a66608c03f67f51abe0d09ac9bedce3b7b54ac6d135cecb1e7263fe17af450

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ovos_ww_plugin_openwakeword-0.4.5a1-py3-none-any.whl
Algorithm Hash digest
SHA256 14c5be32b3b7d6bcc2c72b90177434f186f49d851e411d3be4858966e35e2742
MD5 e736d5b016bf2390dc364aa714cd820a
BLAKE2b-256 a33e960f9c8654d6cc1aa78c134d3be6c50bc8f9094c39b6c266f23faaed5d29

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