No project description provided
Project description
Rhasspy Wake Porcupine Hermes
Implements hermes/hotword
functionality from Hermes protocol using Porcupine.
Running With Docker
docker run -it rhasspy/rhasspy-wake-porcupine-hermes:<VERSION> <ARGS>
Building From Source
Clone the repository and create the virtual environment:
git clone https://github.com/rhasspy/rhasspy-wake-porcupine-hermes.git
cd rhasspy-wake-porcupine-hermes
make venv
Run the bin/rhasspy-wake-porcupine-hermes
script to access the command-line interface:
bin/rhasspy-wake-porcupine-hermes --help
Building the Debian Package
Follow the instructions to build from source, then run:
source .venv/bin/activate
make debian
If successful, you'll find a .deb
file in the dist
directory that can be installed with apt
.
Building the Docker Image
Follow the instructions to build from source, then run:
source .venv/bin/activate
make docker
This will create a Docker image tagged rhasspy/rhasspy-wake-porcupine-hermes:<VERSION>
where VERSION
comes from the file of the same name in the source root directory.
NOTE: If you add things to the Docker image, make sure to whitelist them in .dockerignore
.
Command-Line Options
usage: rhasspywake_porcupine_hermes [-h] --keyword KEYWORD --library LIBRARY
--model MODEL [--wakewordId WAKEWORDID]
[--sensitivity SENSITIVITY]
[--stdin-audio] [--host HOST]
[--port PORT] [--siteId SITEID] [--debug]
optional arguments:
-h, --help show this help message and exit
--keyword KEYWORD Path(s) to one or more Porcupine keyword file(s)
(.ppn)
--library LIBRARY Path to Porcupine shared library (.so)
--model MODEL Path to Porcupine model (.pv)
--wakewordId WAKEWORDID
Wakeword IDs of each keyword (default: default)
--sensitivity SENSITIVITY
Sensitivities of keywords (default: 0.5)
--stdin-audio Read WAV audio from stdin
--host HOST MQTT host (default: localhost)
--port PORT MQTT port (default: 1883)
--siteId SITEID Hermes siteId(s) to listen for (default: all)
--debug Print DEBUG messages to the console
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
Hashes for rhasspy-wake-porcupine-hermes-0.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9dfafcea9fde5c93da1602fededf7d4b3cd2753e655d5839fb90491467cf374d |
|
MD5 | a07690b87b30aaae838ce4f7c05e63f0 |
|
BLAKE2b-256 | f639fc2459acb33e20b896ae16420f2ea9449bdd53da5410e589a537a74a43de |