platypush.backend.stt.picovoice.speech

class platypush.backend.stt.picovoice.speech.SttPicovoiceSpeechBackend(*args, **kwargs)[source]

Backend for the PicoVoice speech detection plugin. Set this plugin to enabled if you want to run the speech engine continuously instead of programmatically using start_detection and stop_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).