Files
silero-vad/examples/rust-example
Alexander Kalashnikov 4b8ce743a8 Rust example
2024-05-30 12:08:47 +03:00
..
2024-05-30 12:08:47 +03:00
2024-05-30 12:08:47 +03:00
2024-05-30 12:08:47 +03:00
2024-05-30 12:08:47 +03:00
2024-05-30 12:08:47 +03:00

Stream example in Rust

Made after C++ stream example

Dependencies

  • To build Rust crate ort you need cc installed.

Usage

Just

cargo run

If you run example outside of this repo adjust environment variable

SILERO_MODEL_PATH=/path/to/silero_vad.onnx cargo run 

If you need to test against other wav file, not recorder.wav, specify it as the first argument

cargo run -- /path/to/audio/file.wav