Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pvporcupine-1.8.2.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pvporcupine-1.8.2-py3-none-any.whl (1.3 MB view details)

Uploaded Python 3

File details

Details for the file pvporcupine-1.8.2.tar.gz.

File metadata

  • Download URL: pvporcupine-1.8.2.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.6.9

File hashes

Hashes for pvporcupine-1.8.2.tar.gz
Algorithm Hash digest
SHA256 ad285b08b191b2cf7cca53f5345276480393fd2135a9cdbb8d9d38728f3b49ea
MD5 dc72a4ea6096fb4596099f9e67d1e4e3
BLAKE2b-256 6931379d3f6c7bd17d1d99b899b344eceba3c43248e4328998bad49c70002cd2

See more details on using hashes here.

File details

Details for the file pvporcupine-1.8.2-py3-none-any.whl.

File metadata

  • Download URL: pvporcupine-1.8.2-py3-none-any.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.6.9

File hashes

Hashes for pvporcupine-1.8.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5822f4667d4d1bca2637a4abf236e3fc6fdb6b45dc9070ccdb68ab57094922e7
MD5 aaa20880c2d285af6aac1396e3f28c67
BLAKE2b-256 d99417acf77f04b0a5002c38b5d0e4055606f1f9ca14174d977c378537adc114

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page