Skip to content
This repository has been archived by the owner on Jul 21, 2020. It is now read-only.

laurirasanen/deepspeech_obs_captions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Realtime captions in obs-studio using DeepSpeech.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages