| Crates.io | oww-rs |
| lib.rs | oww-rs |
| version | 0.2.0 |
| created_at | 2025-10-01 06:15:24.179545+00 |
| updated_at | 2025-10-01 16:25:51.496308+00 |
| description | Minimalistic version of the OpenWakeWord inference in Rust and ONNX runtime |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1862186 |
| size | 3,770,191 |
This is extracted source code from the OpenWakeWord
providing simplified code for inference of onnx models only. The Python code for inference is converted to
Rust for better wake word detection performance. The inference uses ORT
supporting all major platforms. For detection the alexa.onnx model is used as a sample from
the OpenWakeWord project. Simly saying "Alexa" is detected from microphone as implemented in the examples/cpal_test.rs
The implementation uses cpal opensourced audio recorder crate. This is pure Rust crate for accessing microphones on all major platforms.
See the original OpenWakeWord lib for more details for pre-trained models or training new custom model. The training stage is not included in this repo and the OpenWakeWord's original steps should be used to generate new model triggering on a custom wake word.
cargo run --example cpal_test
Running tests:
cargo test
Make an issue / PR etc.
MIT license, see LICENSE