GithubHelp home page GithubHelp logo

porcupine-sys's Introduction

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 must first generate the wake word model by going to the website at https://console.picovoice.ai/ppn. It will take a couple hours for it to finish. Once finished, you can download it and replace, for example, the assets/hi robot_linux.ppn which is used by the single example. If you want to run the multiple example, you must generate three word models and replace assets/play music_linux.ppn, assets/next music_linux.ppn, assets/stop music_linux.ppn.

Then you can clone this project by running:

git clone --recursive https://github.com/veandco/porcupine-sys

After that, run the example via:

cargo run --example single

or for the multiple keywords version:

cargo run --example multiple

porcupine-sys's People

Contributors

alexmoon avatar veeableful avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

alexmoon hortopan

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.