On-Device Speech-to-Intent engine 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 pvporcupinedemo
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
Realtime Demo
Make sure you have a working microphone connected to your device first. From commandline type the following
pvporcupinedemo_mic --keywords picovoice
Then say 'picovoice'. The demo processes audio steam from microphone in realtime and detects utterances of 'picovoice'
File-Based Demo
pvporcupinedemo_file --input_audio_file_path ${INPUT_AUDIO_FILE_PATH} --keywords bumblebee
Replace ${INPUT_AUDIO_FILE_PATH}
with a valid path to an audio file (e.g. WAV or FLAC). The demo scans the file
for occurrences of 'bumblebee'.
In order to get more information about using demos, run them with '--help' argument or look into their GitHub page here.
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 pvporcupinedemo-1.8.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ce7f2536e91c9097cd9ae8834a9487fbbfff92dd1316fe21528d5b486a914cc |
|
MD5 | 72109b124e0f1f040f0b8bde76f487ef |
|
BLAKE2b-256 | d8f09a68fa200114973e36f45f7c0d4e81f7e6a3b9ae5542e80ba39170911d3d |