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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for ovos_ww_plugin_openwakeword-0.4.4a1.tar.gz
Algorithm Hash digest
SHA256 01c3917079569766baf3dd6ef50bdb9a7c4be09996930714293fdecca33eef0e
MD5 1ee3011ed08fb018385853c6892e27c0
BLAKE2b-256 3c9a97a1456107f0e207f0763a43e9f74c8f13632c8658398e0d5d40ef11dd08

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ovos_ww_plugin_openwakeword-0.4.4a1-py3-none-any.whl
Algorithm Hash digest
SHA256 03a9890448eb6469df7359695650a9ee98ecfdd2d0adf29ca5f47a9d531886e6
MD5 a78bf2de52e41b2b8af3ec04d70c40d5
BLAKE2b-256 01748d74832c881b6236d3524ecf51301fc58ce7135e4274647dfc22e88aebb7

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