On-Device wake word detection powered by deep learning.
Project description
Porcupine.
It supports Ubuntu (x86_64), Mac (x86_64), Raspberry Pi (Zero, 1, 2, 3, 4) running Raspbian, and BeagleBone.
Installation
sudo pip3 install pvporcupine
If it fails to install PyAudio, you can do the following for Debian/Ubuntu as referenced in the installation guide of PyAudio.
Install PyAudio
sudo apt-get install python3-pyaudio
If the above fails then first run the following
sudo apt-get install portaudio19-dev
sudo apt-get install python3-all-dev
Usage
You can create an instance of Porcupine engine for use within your application using the factory method provided below
import pvporcupine
pvporcupine.create(keywords=pvporcupine.KEYWORDS)
pvporcupine.KEYWORDS
is the set of default keyword files that ships with the PIP package across all platforms. In
order to use your own keyword file you can instantiate the object as follows:
import pvporcupine
keyword_file_1_path = ...
keyword_file_2_path = ...
keyword_file_3_path = ...
pvporcupine.create(keyword_file_paths=[keyword_file_1_path, keyword_file_2_path, keyword_file_3_path])
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pvporcupine-1.8.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5822f4667d4d1bca2637a4abf236e3fc6fdb6b45dc9070ccdb68ab57094922e7 |
|
MD5 | aaa20880c2d285af6aac1396e3f28c67 |
|
BLAKE2b-256 | d99417acf77f04b0a5002c38b5d0e4055606f1f9ca14174d977c378537adc114 |