项目作者: laurirasanen

项目描述 :
Realtime captions in obs-studio using DeepSpeech.
高级语言: Python
项目地址: git://github.com/laurirasanen/deepspeech_obs_captions.git
创建时间: 2019-12-07T01:16:44Z
项目社区:https://github.com/laurirasanen/deepspeech_obs_captions

开源协议:Mozilla Public License 2.0

下载


deepspeech_obs_captions

Realtime captions in obs-studio using DeepSpeech.

Installation

The folder structure should look something like:

  • caption_stream.py
  • deepspeech-models
    • lm.binary
    • output_graph.pb
    • output_graph.pbmm
    • output_graph.tflite
    • trie

OBS Setup

  • Add a Text source
  • Navigate to Tools > Scripts
  • Set your Python path in Python Settings tab
  • Add ./caption_stream.py in Scripts tab
  • Select the script and assign Captions Text Source

Config

VAD Aggressiveness controls voice activation, a lower value will let more noise through.
Caption Clear Delay controls how long captions remain on the screen.
Captions Text Source controls what element captions appear on.

The other settings are probably best left alone unless you know what you are doing.
For more details, see: https://github.com/mozilla/DeepSpeech/blob/master/examples/mic_vad_streaming/README.rst#usage