Trigger for Kalliope
kalliope install --git-url https://github.com/corus87/kalliope_trigger_precise.git
To use precise you need to install precise-engine. It will try to download the engine by itself.
For manual installation here you can find the binary data for your platform.
For installation on the raspberry follow these instructions:
cd your_starter_kit/resources/trigger/precise
wget https://github.com/MycroftAI/mycroft-precise/releases/download/v0.3.0/precise-engine_0.3.0_armv7l.tar.gz
tar -xvzf precise-engine_0.3.0_armv7l.tar.gz
rm precise-engine_0.3.0_armv7l.tar.gz
parameter | required | type | default | choices | comment |
---|---|---|---|---|---|
pb_file | Yes | string | Path to the precise wake word. | ||
sensitivity | No | string | 0.5 | between 0 and 1 | Increasing the sensitivity value lead to better detection rate, but also higher false alarm rate. |
# This is the trigger engine that will catch your magic work to wake up Kalliope.
default_trigger: "precise"
# Trigger engine configuration
triggers:
- precise:
pb_file: "trigger/precise_models/your_wake_word.pb"
There are some available wake words here and here . You need the wake_word.pb and wake_word.pb.params file, both need to be in the same directory.
To create your own wake word, follow the instructions here. You can find some additional information here
You have to add the path to the trigger folder in your settings. E.g.:
# ---------------------------
# resource directory path
# ---------------------------
resource_directory:
trigger: "resources/trigger"
neuron: "resources/neurons"
stt: "resources/stt"
tts: "resources/tts"