Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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

On Python 3.11 and older, run this command:

pip install ovos-ww-plugin-openwakeword

On Python 3.12 and newer, a plain install fails to resolve: openwakeword requires tflite-runtime, and tflite-runtime has no wheels for these interpreters. Install openwakeword without its declared dependencies, then let this plugin provide the dependencies the onnx path needs:

pip install --no-deps "openwakeword>=0.5.0,<1"
pip install "ovos-ww-plugin-openwakeword[onnx]"

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. The plugin picks tflite when tflite-runtime is installed and onnx when it is not — on Python 3.12+ tflite-runtime is usually not installable, so onnx is the effective default there. openwakeword itself falls back to onnx at runtime when tflite-runtime is absent, even if tflite was requested.

  • 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.

License

Apache-2.0

Metadata

Release files for ovos-ww-plugin-openwakeword 0.4.7a1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ovos-ww-plugin-openwakeword 0.4.7a1
File Size Uploaded Provenance
ovos_ww_plugin_openwakeword-0.4.7a1.tar.gz 12.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ovos-ww-plugin-openwakeword 0.4.7a1
File Interpreter ABI Platform
ovos_ww_plugin_openwakeword-0.4.7a1-py3-none-any.whl Python 3 none any Details

Total release size: 23.5 kB

Release files / ovos_ww_plugin_openwakeword-0.4.7a1.tar.gz

Download URL ovos_ww_plugin_openwakeword-0.4.7a1.tar.gz
Size 12.1 kB
Tags Source
SHA-256 checksum
How to use checksums
23459e061e680041ed2d1cd907fa2c5577d0315a2b4e3d2a574d42f3d6359612
BLAKE2b-256 checksum
How to use checksums
4bd60e897f7e708236f5e2eade54cadb747973d092119fe0e8589832cc744466
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / ovos_ww_plugin_openwakeword-0.4.7a1-py3-none-any.whl

Download URL ovos_ww_plugin_openwakeword-0.4.7a1-py3-none-any.whl
Size 11.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a7633e05062c31a50b9427ca2ca6f4eaa27bffa6ec41e6a6694492f7b3ec8c1a
BLAKE2b-256 checksum
How to use checksums
03f7394289b0944af763242c1ed05820036a8a2cca1343eb52ad70bd1b087a51
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for ovos-ww-plugin-openwakeword 0.4.7a1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page