stt.picovoice.hotword
Platypush documentation
stt.picovoice.hotword
- class platypush.backend.stt.picovoice.hotword.SttPicovoiceHotwordBackend(*args, **kwargs)[source]
Bases:
SttBackend
Backend for the PicoVoice hotword detection plugin. Set this plugin to
enabled
if you want to run the hotword engine continuously instead of programmatically usingstart_detection
andstop_detection
.Requires:
The
platypush.plugins.stt.deepspeech.SttPicovoiceHotwordPlugin
plugin configured and its dependencies installed.
- __init__(*args, **kwargs)[source]
- Parameters:
plugin_name – Plugin name of the class that will be used for speech detection. Must be an instance of
platypush.plugins.stt.SttPlugin
.retry_sleep – Number of seconds the backend will wait on failure before re-initializing the plugin (default: 5 seconds).