stt.picovoice.speech
Platypush documentation
stt.picovoice.speech
- class platypush.backend.stt.picovoice.speech.SttPicovoiceSpeechBackend(*args, **kwargs)[source]
Bases:
SttBackend
Backend for the PicoVoice speech detection plugin. Set this plugin to
enabled
if you want to run the speech engine continuously instead of programmatically usingstart_detection
andstop_detection
.Requires:
The
platypush.plugins.stt.deepspeech.SttPicovoiceSpeechPlugin
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).