4 releases
Uses old Rust 2015
0.0.4 | Jul 23, 2018 |
---|---|
0.0.3 | Jul 23, 2018 |
0.0.2 | Jul 23, 2018 |
0.0.1 | Jul 23, 2018 |
#614 in Machine learning
23 downloads per month
20KB
353 lines
porcupine-sys
This is a Rust binding to Porcupine.
Setup
Before you can use this, the Porcupine libraries will need to be copied to a place where the linker can find it (e.g. /usr/local/lib
on Linux).
For example on Linux x86_64 you would do something like this:
git clone https://github.com/Picovoice/Porcupine
cd Porcupine
sudo cp lib/linux/x86_64 /usr/local/lib
Example
To run the examples, you can first clone this project:
git clone --recursive https://github.com/veandco/porcupine-sys
Then run the example via:
cargo run --example single
or for the multiple keywords version:
cargo run --example multiple
lib.rs
:
porcupine-sys
A Rust binding for Porcupine
Dependencies
~44KB