Porcupine wake word engine demo for ReSpeaker 4-mic hat.
This project has been archived.
The maintainers of this project have marked this project as archived. No new releases are expected.
Project description
Porcupine ReSpeaker Demo
Made in Vancouver, Canada by Picovoice
This package contains a commandline demo for controlling ReSpeaker 4-mic microphone array LEDs using Porcupine.
Porcupine
Porcupine is a highly-accurate and lightweight wake word engine. It enables building always-listening voice-enabled applications. It is
- using deep neural networks trained in real-world environments.
- compact and computationally-efficient. It is perfect for IoT.
- cross-platform:
- Arm Cortex-M, STM32, PSoC, Arduino, and i.MX RT
- Raspberry Pi, NVIDIA Jetson Nano, and BeagleBone
- Android and iOS
- Chrome, Safari, Firefox, and Edge
- Linux (x86_64), macOS (x86_64, arm64), and Windows (x86_64)
- scalable. It can detect multiple always-listening voice commands with no added runtime footprint.
- self-service. Developers can train custom wake word models using Picovoice Console.
Installation
Follow the instructions on Seeed Studio to install and set up the microphone array.
Then install the demo:
sudo pip3 install ppnrespeakerdemo
AccessKey
The Porcupine SDK requires a valid AccessKey at initialization. AccessKeys act as your credentials when using Porcupine SDKs.
You can create your AccessKey for free. Make sure to keep your AccessKey secret.
To obtain your AccessKey:
- Login or Signup for a free account on the Picovoice Console.
- Once logged in, go to the
AccessKeytab to create one or use an existingAccessKey.
Usage
Below are the colors associated with supported wake words for this demo:
AlexaBumblebeeComputerHey GoogleHey SiriJarvisPicovoicePorcupineTerminator
Run the demo:
porcupine_respeaker_demo --access_key ${ACCESS_KEY}
Wait for the demo to initialize and print [Listening] in the terminal. Say:
Picovoice
The demo outputs:
detected 'Picovoice'
The lights are now set to green. Say:
Alexa
The lights are set to yellow now. Say:
Terminator
to turn off the lights.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ppnrespeakerdemo-2.1.0.tar.gz.
File metadata
- Download URL: ppnrespeakerdemo-2.1.0.tar.gz
- Upload date:
- Size: 13.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
766e0740eea9dcf89238a4bdabe2b60e6fa20ec3d78a99a2df23170b02ce7700
|
|
| MD5 |
5c1ea6bcae67a6ad7a52309ea3102a8c
|
|
| BLAKE2b-256 |
10e5b74f45ce1ba9ffc37fd720068e22a938a3ca69bffbdb36ce5a52a80323fd
|
File details
Details for the file ppnrespeakerdemo-2.1.0-py3-none-any.whl.
File metadata
- Download URL: ppnrespeakerdemo-2.1.0-py3-none-any.whl
- Upload date:
- Size: 12.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9850a7c60399a4793a4663f8f00d7cf2455725cb7dee9a3797637f8d11934a9
|
|
| MD5 |
2af62b6fede847538b8e3f48d2744937
|
|
| BLAKE2b-256 |
949d3033a5b3f7f775c2406e99c0fd3c9986098a35373e3918efd98967a04838
|