stt.deepspeech#

class platypush.backend.stt.deepspeech.SttDeepspeechBackend(*args, **kwargs)[source]#

Bases: SttBackend

Backend for the Mozilla Deepspeech speech-to-text engine plugin. Set this plugin to enabled if you want to run the speech-to-text engine continuously instead of programmatically using start_detection and stop_detection.

Requires:

__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).